@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
@@ -14188,6 +14188,18 @@ export type Routes = {
14188
14188
  acs_entrance_id: string | null
14189
14189
  }
14190
14190
  }
14191
+ | {
14192
+ /** Date and time at which the mutation was created. */
14193
+ created_at: string
14194
+ /** Detailed description of the mutation. */
14195
+ message: string
14196
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
14197
+ mutation_code: 'deferring_user_membership_update'
14198
+ /** ID of the user involved in the scheduled change. */
14199
+ acs_user_id: string
14200
+ /** Whether the user is scheduled to be added to or removed from this access group. */
14201
+ variant: 'adding' | 'removing'
14202
+ }
14191
14203
  )[]
14192
14204
  is_managed: true
14193
14205
  }[]
@@ -19652,6 +19664,18 @@ export type Routes = {
19652
19664
  acs_entrance_id: string | null
19653
19665
  }
19654
19666
  }
19667
+ | {
19668
+ /** Date and time at which the mutation was created. */
19669
+ created_at: string
19670
+ /** Detailed description of the mutation. */
19671
+ message: string
19672
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
19673
+ mutation_code: 'deferring_user_membership_update'
19674
+ /** ID of the user involved in the scheduled change. */
19675
+ acs_user_id: string
19676
+ /** Whether the user is scheduled to be added to or removed from this access group. */
19677
+ variant: 'adding' | 'removing'
19678
+ }
19655
19679
  )[]
19656
19680
  is_managed: true
19657
19681
  }
@@ -19835,6 +19859,18 @@ export type Routes = {
19835
19859
  acs_entrance_id: string | null
19836
19860
  }
19837
19861
  }
19862
+ | {
19863
+ /** Date and time at which the mutation was created. */
19864
+ created_at: string
19865
+ /** Detailed description of the mutation. */
19866
+ message: string
19867
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
19868
+ mutation_code: 'deferring_user_membership_update'
19869
+ /** ID of the user involved in the scheduled change. */
19870
+ acs_user_id: string
19871
+ /** Whether the user is scheduled to be added to or removed from this access group. */
19872
+ variant: 'adding' | 'removing'
19873
+ }
19838
19874
  )[]
19839
19875
  is_managed: true
19840
19876
  }[]
@@ -20256,6 +20292,18 @@ export type Routes = {
20256
20292
  acs_access_group_id: string | null
20257
20293
  }
20258
20294
  }
20295
+ | {
20296
+ /** Date and time at which the mutation was created. */
20297
+ created_at: string
20298
+ /** Detailed description of the mutation. */
20299
+ message: string
20300
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
20301
+ mutation_code: 'deferring_group_membership_update'
20302
+ /** ID of the access group involved in the scheduled change. */
20303
+ acs_access_group_id: string
20304
+ /** Whether the user is scheduled to be added to or removed from the access group. */
20305
+ variant: 'adding' | 'removing'
20306
+ }
20259
20307
  )[]
20260
20308
  | undefined
20261
20309
  /** The last time an internal sync job completed for this access system user. */
@@ -20476,6 +20524,18 @@ export type Routes = {
20476
20524
  acs_entrance_id: string | null
20477
20525
  }
20478
20526
  }
20527
+ | {
20528
+ /** Date and time at which the mutation was created. */
20529
+ created_at: string
20530
+ /** Detailed description of the mutation. */
20531
+ message: string
20532
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
20533
+ mutation_code: 'deferring_user_membership_update'
20534
+ /** ID of the user involved in the scheduled change. */
20535
+ acs_user_id: string
20536
+ /** Whether the user is scheduled to be added to or removed from this access group. */
20537
+ variant: 'adding' | 'removing'
20538
+ }
20479
20539
  )[]
20480
20540
  is_managed: false
20481
20541
  }
@@ -20657,6 +20717,18 @@ export type Routes = {
20657
20717
  acs_entrance_id: string | null
20658
20718
  }
20659
20719
  }
20720
+ | {
20721
+ /** Date and time at which the mutation was created. */
20722
+ created_at: string
20723
+ /** Detailed description of the mutation. */
20724
+ message: string
20725
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
20726
+ mutation_code: 'deferring_user_membership_update'
20727
+ /** ID of the user involved in the scheduled change. */
20728
+ acs_user_id: string
20729
+ /** Whether the user is scheduled to be added to or removed from this access group. */
20730
+ variant: 'adding' | 'removing'
20731
+ }
20660
20732
  )[]
20661
20733
  is_managed: false
20662
20734
  }[]
@@ -27211,6 +27283,18 @@ export type Routes = {
27211
27283
  acs_access_group_id: string | null
27212
27284
  }
27213
27285
  }
27286
+ | {
27287
+ /** Date and time at which the mutation was created. */
27288
+ created_at: string
27289
+ /** Detailed description of the mutation. */
27290
+ message: string
27291
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
27292
+ mutation_code: 'deferring_group_membership_update'
27293
+ /** ID of the access group involved in the scheduled change. */
27294
+ acs_access_group_id: string
27295
+ /** Whether the user is scheduled to be added to or removed from the access group. */
27296
+ variant: 'adding' | 'removing'
27297
+ }
27214
27298
  )[]
27215
27299
  | undefined
27216
27300
  /** The last time an internal sync job completed for this access system user. */
@@ -27511,6 +27595,18 @@ export type Routes = {
27511
27595
  acs_access_group_id: string | null
27512
27596
  }
27513
27597
  }
27598
+ | {
27599
+ /** Date and time at which the mutation was created. */
27600
+ created_at: string
27601
+ /** Detailed description of the mutation. */
27602
+ message: string
27603
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
27604
+ mutation_code: 'deferring_group_membership_update'
27605
+ /** ID of the access group involved in the scheduled change. */
27606
+ acs_access_group_id: string
27607
+ /** Whether the user is scheduled to be added to or removed from the access group. */
27608
+ variant: 'adding' | 'removing'
27609
+ }
27514
27610
  )[]
27515
27611
  | undefined
27516
27612
  /** The last time an internal sync job completed for this access system user. */
@@ -27799,6 +27895,18 @@ export type Routes = {
27799
27895
  acs_access_group_id: string | null
27800
27896
  }
27801
27897
  }
27898
+ | {
27899
+ /** Date and time at which the mutation was created. */
27900
+ created_at: string
27901
+ /** Detailed description of the mutation. */
27902
+ message: string
27903
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
27904
+ mutation_code: 'deferring_group_membership_update'
27905
+ /** ID of the access group involved in the scheduled change. */
27906
+ acs_access_group_id: string
27907
+ /** Whether the user is scheduled to be added to or removed from the access group. */
27908
+ variant: 'adding' | 'removing'
27909
+ }
27802
27910
  )[]
27803
27911
  | undefined
27804
27912
  /** The last time an internal sync job completed for this access system user. */
@@ -28310,6 +28418,18 @@ export type Routes = {
28310
28418
  acs_access_group_id: string | null
28311
28419
  }
28312
28420
  }
28421
+ | {
28422
+ /** Date and time at which the mutation was created. */
28423
+ created_at: string
28424
+ /** Detailed description of the mutation. */
28425
+ message: string
28426
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
28427
+ mutation_code: 'deferring_group_membership_update'
28428
+ /** ID of the access group involved in the scheduled change. */
28429
+ acs_access_group_id: string
28430
+ /** Whether the user is scheduled to be added to or removed from the access group. */
28431
+ variant: 'adding' | 'removing'
28432
+ }
28313
28433
  )[]
28314
28434
  | undefined
28315
28435
  /** The last time an internal sync job completed for this access system user. */
@@ -28594,6 +28714,18 @@ export type Routes = {
28594
28714
  acs_access_group_id: string | null
28595
28715
  }
28596
28716
  }
28717
+ | {
28718
+ /** Date and time at which the mutation was created. */
28719
+ created_at: string
28720
+ /** Detailed description of the mutation. */
28721
+ message: string
28722
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
28723
+ mutation_code: 'deferring_group_membership_update'
28724
+ /** ID of the access group involved in the scheduled change. */
28725
+ acs_access_group_id: string
28726
+ /** Whether the user is scheduled to be added to or removed from the access group. */
28727
+ variant: 'adding' | 'removing'
28728
+ }
28597
28729
  )[]
28598
28730
  | undefined
28599
28731
  /** The last time an internal sync job completed for this access system user. */
@@ -42325,6 +42457,70 @@ export type Routes = {
42325
42457
  /** The new name of the affected device. */
42326
42458
  device_name: string
42327
42459
  }
42460
+ | {
42461
+ /** ID of the event. */
42462
+ event_id: string
42463
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42464
+ workspace_id: string
42465
+ /** Date and time at which the event was created. */
42466
+ created_at: string
42467
+ /** Date and time at which the event occurred. */
42468
+ occurred_at: string
42469
+ /** ID of the affected device. */
42470
+ device_id: string
42471
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
42472
+ connected_account_id: string
42473
+ /** The customer key associated with the device, if any. */
42474
+ customer_key?: string | undefined
42475
+ /** Custom metadata of the device, present when device_id is provided. */
42476
+ device_custom_metadata?:
42477
+ | {
42478
+ [x: string]: string | boolean
42479
+ }
42480
+ | undefined
42481
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
42482
+ connected_account_custom_metadata?:
42483
+ | {
42484
+ [x: string]: string | boolean
42485
+ }
42486
+ | undefined
42487
+ event_type: 'camera.activated'
42488
+ /** The reason the camera was activated. */
42489
+ activation_reason: 'motion_detected'
42490
+ /** Sub-type of motion detected, if available. */
42491
+ motion_sub_type?:
42492
+ | ('human' | 'vehicle' | 'package' | 'other')
42493
+ | undefined
42494
+ }
42495
+ | {
42496
+ /** ID of the event. */
42497
+ event_id: string
42498
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42499
+ workspace_id: string
42500
+ /** Date and time at which the event was created. */
42501
+ created_at: string
42502
+ /** Date and time at which the event occurred. */
42503
+ occurred_at: string
42504
+ /** ID of the affected device. */
42505
+ device_id: string
42506
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
42507
+ connected_account_id: string
42508
+ /** The customer key associated with the device, if any. */
42509
+ customer_key?: string | undefined
42510
+ /** Custom metadata of the device, present when device_id is provided. */
42511
+ device_custom_metadata?:
42512
+ | {
42513
+ [x: string]: string | boolean
42514
+ }
42515
+ | undefined
42516
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
42517
+ connected_account_custom_metadata?:
42518
+ | {
42519
+ [x: string]: string | boolean
42520
+ }
42521
+ | undefined
42522
+ event_type: 'device.doorbell_rang'
42523
+ }
42328
42524
  | {
42329
42525
  /** ID of the event. */
42330
42526
  event_id: string
@@ -42548,6 +42744,8 @@ export type Routes = {
42548
42744
  | 'thermostat.temperature_reached_set_point'
42549
42745
  | 'thermostat.temperature_changed'
42550
42746
  | 'device.name_changed'
42747
+ | 'camera.activated'
42748
+ | 'device.doorbell_rang'
42551
42749
  | 'enrollment_automation.deleted'
42552
42750
  | 'phone.deactivated'
42553
42751
  | 'space.device_membership_changed'
@@ -42654,6 +42852,8 @@ export type Routes = {
42654
42852
  | 'thermostat.temperature_reached_set_point'
42655
42853
  | 'thermostat.temperature_changed'
42656
42854
  | 'device.name_changed'
42855
+ | 'camera.activated'
42856
+ | 'device.doorbell_rang'
42657
42857
  | 'enrollment_automation.deleted'
42658
42858
  | 'phone.deactivated'
42659
42859
  | 'space.device_membership_changed'
@@ -45638,6 +45838,70 @@ export type Routes = {
45638
45838
  /** The new name of the affected device. */
45639
45839
  device_name: string
45640
45840
  }
45841
+ | {
45842
+ /** ID of the event. */
45843
+ event_id: string
45844
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
45845
+ workspace_id: string
45846
+ /** Date and time at which the event was created. */
45847
+ created_at: string
45848
+ /** Date and time at which the event occurred. */
45849
+ occurred_at: string
45850
+ /** ID of the affected device. */
45851
+ device_id: string
45852
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
45853
+ connected_account_id: string
45854
+ /** The customer key associated with the device, if any. */
45855
+ customer_key?: string | undefined
45856
+ /** Custom metadata of the device, present when device_id is provided. */
45857
+ device_custom_metadata?:
45858
+ | {
45859
+ [x: string]: string | boolean
45860
+ }
45861
+ | undefined
45862
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
45863
+ connected_account_custom_metadata?:
45864
+ | {
45865
+ [x: string]: string | boolean
45866
+ }
45867
+ | undefined
45868
+ event_type: 'camera.activated'
45869
+ /** The reason the camera was activated. */
45870
+ activation_reason: 'motion_detected'
45871
+ /** Sub-type of motion detected, if available. */
45872
+ motion_sub_type?:
45873
+ | ('human' | 'vehicle' | 'package' | 'other')
45874
+ | undefined
45875
+ }
45876
+ | {
45877
+ /** ID of the event. */
45878
+ event_id: string
45879
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
45880
+ workspace_id: string
45881
+ /** Date and time at which the event was created. */
45882
+ created_at: string
45883
+ /** Date and time at which the event occurred. */
45884
+ occurred_at: string
45885
+ /** ID of the affected device. */
45886
+ device_id: string
45887
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
45888
+ connected_account_id: string
45889
+ /** The customer key associated with the device, if any. */
45890
+ customer_key?: string | undefined
45891
+ /** Custom metadata of the device, present when device_id is provided. */
45892
+ device_custom_metadata?:
45893
+ | {
45894
+ [x: string]: string | boolean
45895
+ }
45896
+ | undefined
45897
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
45898
+ connected_account_custom_metadata?:
45899
+ | {
45900
+ [x: string]: string | boolean
45901
+ }
45902
+ | undefined
45903
+ event_type: 'device.doorbell_rang'
45904
+ }
45641
45905
  | {
45642
45906
  /** ID of the event. */
45643
45907
  event_id: string
@@ -69749,6 +70013,8 @@ export type Routes = {
69749
70013
  | 'thermostat.temperature_reached_set_point'
69750
70014
  | 'thermostat.temperature_changed'
69751
70015
  | 'device.name_changed'
70016
+ | 'camera.activated'
70017
+ | 'device.doorbell_rang'
69752
70018
  | 'enrollment_automation.deleted'
69753
70019
  | 'phone.deactivated'
69754
70020
  | 'space.device_membership_changed'
@@ -69855,6 +70121,8 @@ export type Routes = {
69855
70121
  | 'thermostat.temperature_reached_set_point'
69856
70122
  | 'thermostat.temperature_changed'
69857
70123
  | 'device.name_changed'
70124
+ | 'camera.activated'
70125
+ | 'device.doorbell_rang'
69858
70126
  | 'enrollment_automation.deleted'
69859
70127
  | 'phone.deactivated'
69860
70128
  | 'space.device_membership_changed'
@@ -72809,6 +73077,70 @@ export type Routes = {
72809
73077
  /** The new name of the affected device. */
72810
73078
  device_name: string
72811
73079
  }
73080
+ | {
73081
+ /** ID of the event. */
73082
+ event_id: string
73083
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
73084
+ workspace_id: string
73085
+ /** Date and time at which the event was created. */
73086
+ created_at: string
73087
+ /** Date and time at which the event occurred. */
73088
+ occurred_at: string
73089
+ /** ID of the affected device. */
73090
+ device_id: string
73091
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
73092
+ connected_account_id: string
73093
+ /** The customer key associated with the device, if any. */
73094
+ customer_key?: string | undefined
73095
+ /** Custom metadata of the device, present when device_id is provided. */
73096
+ device_custom_metadata?:
73097
+ | {
73098
+ [x: string]: string | boolean
73099
+ }
73100
+ | undefined
73101
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
73102
+ connected_account_custom_metadata?:
73103
+ | {
73104
+ [x: string]: string | boolean
73105
+ }
73106
+ | undefined
73107
+ event_type: 'camera.activated'
73108
+ /** The reason the camera was activated. */
73109
+ activation_reason: 'motion_detected'
73110
+ /** Sub-type of motion detected, if available. */
73111
+ motion_sub_type?:
73112
+ | ('human' | 'vehicle' | 'package' | 'other')
73113
+ | undefined
73114
+ }
73115
+ | {
73116
+ /** ID of the event. */
73117
+ event_id: string
73118
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
73119
+ workspace_id: string
73120
+ /** Date and time at which the event was created. */
73121
+ created_at: string
73122
+ /** Date and time at which the event occurred. */
73123
+ occurred_at: string
73124
+ /** ID of the affected device. */
73125
+ device_id: string
73126
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
73127
+ connected_account_id: string
73128
+ /** The customer key associated with the device, if any. */
73129
+ customer_key?: string | undefined
73130
+ /** Custom metadata of the device, present when device_id is provided. */
73131
+ device_custom_metadata?:
73132
+ | {
73133
+ [x: string]: string | boolean
73134
+ }
73135
+ | undefined
73136
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
73137
+ connected_account_custom_metadata?:
73138
+ | {
73139
+ [x: string]: string | boolean
73140
+ }
73141
+ | undefined
73142
+ event_type: 'device.doorbell_rang'
73143
+ }
72812
73144
  | {
72813
73145
  /** ID of the event. */
72814
73146
  event_id: string
@@ -100038,6 +100370,18 @@ export type Routes = {
100038
100370
  acs_access_group_id: string | null
100039
100371
  }
100040
100372
  }
100373
+ | {
100374
+ /** Date and time at which the mutation was created. */
100375
+ created_at: string
100376
+ /** Detailed description of the mutation. */
100377
+ message: string
100378
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
100379
+ mutation_code: 'deferring_group_membership_update'
100380
+ /** ID of the access group involved in the scheduled change. */
100381
+ acs_access_group_id: string
100382
+ /** Whether the user is scheduled to be added to or removed from the access group. */
100383
+ variant: 'adding' | 'removing'
100384
+ }
100041
100385
  )[]
100042
100386
  | undefined
100043
100387
  /** The last time an internal sync job completed for this access system user. */
@@ -102917,6 +103261,18 @@ export type Routes = {
102917
103261
  acs_access_group_id: string | null
102918
103262
  }
102919
103263
  }
103264
+ | {
103265
+ /** Date and time at which the mutation was created. */
103266
+ created_at: string
103267
+ /** Detailed description of the mutation. */
103268
+ message: string
103269
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
103270
+ mutation_code: 'deferring_group_membership_update'
103271
+ /** ID of the access group involved in the scheduled change. */
103272
+ acs_access_group_id: string
103273
+ /** Whether the user is scheduled to be added to or removed from the access group. */
103274
+ variant: 'adding' | 'removing'
103275
+ }
102920
103276
  )[]
102921
103277
  | undefined
102922
103278
  /** The last time an internal sync job completed for this access system user. */
@@ -103107,6 +103463,18 @@ export type Routes = {
103107
103463
  acs_entrance_id: string | null
103108
103464
  }
103109
103465
  }
103466
+ | {
103467
+ /** Date and time at which the mutation was created. */
103468
+ created_at: string
103469
+ /** Detailed description of the mutation. */
103470
+ message: string
103471
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
103472
+ mutation_code: 'deferring_user_membership_update'
103473
+ /** ID of the user involved in the scheduled change. */
103474
+ acs_user_id: string
103475
+ /** Whether the user is scheduled to be added to or removed from this access group. */
103476
+ variant: 'adding' | 'removing'
103477
+ }
103110
103478
  )[]
103111
103479
  is_managed: true
103112
103480
  }[]
@@ -104872,6 +105240,18 @@ export type Routes = {
104872
105240
  acs_access_group_id: string | null
104873
105241
  }
104874
105242
  }
105243
+ | {
105244
+ /** Date and time at which the mutation was created. */
105245
+ created_at: string
105246
+ /** Detailed description of the mutation. */
105247
+ message: string
105248
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
105249
+ mutation_code: 'deferring_group_membership_update'
105250
+ /** ID of the access group involved in the scheduled change. */
105251
+ acs_access_group_id: string
105252
+ /** Whether the user is scheduled to be added to or removed from the access group. */
105253
+ variant: 'adding' | 'removing'
105254
+ }
104875
105255
  )[]
104876
105256
  | undefined
104877
105257
  /** The last time an internal sync job completed for this access system user. */
@@ -105062,6 +105442,18 @@ export type Routes = {
105062
105442
  acs_entrance_id: string | null
105063
105443
  }
105064
105444
  }
105445
+ | {
105446
+ /** Date and time at which the mutation was created. */
105447
+ created_at: string
105448
+ /** Detailed description of the mutation. */
105449
+ message: string
105450
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
105451
+ mutation_code: 'deferring_user_membership_update'
105452
+ /** ID of the user involved in the scheduled change. */
105453
+ acs_user_id: string
105454
+ /** Whether the user is scheduled to be added to or removed from this access group. */
105455
+ variant: 'adding' | 'removing'
105456
+ }
105065
105457
  )[]
105066
105458
  is_managed: false
105067
105459
  }[]
@@ -109063,6 +109455,70 @@ export type Routes = {
109063
109455
  /** The new name of the affected device. */
109064
109456
  device_name: string
109065
109457
  }
109458
+ | {
109459
+ /** ID of the event. */
109460
+ event_id: string
109461
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
109462
+ workspace_id: string
109463
+ /** Date and time at which the event was created. */
109464
+ created_at: string
109465
+ /** Date and time at which the event occurred. */
109466
+ occurred_at: string
109467
+ /** ID of the affected device. */
109468
+ device_id: string
109469
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
109470
+ connected_account_id: string
109471
+ /** The customer key associated with the device, if any. */
109472
+ customer_key?: string | undefined
109473
+ /** Custom metadata of the device, present when device_id is provided. */
109474
+ device_custom_metadata?:
109475
+ | {
109476
+ [x: string]: string | boolean
109477
+ }
109478
+ | undefined
109479
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
109480
+ connected_account_custom_metadata?:
109481
+ | {
109482
+ [x: string]: string | boolean
109483
+ }
109484
+ | undefined
109485
+ event_type: 'camera.activated'
109486
+ /** The reason the camera was activated. */
109487
+ activation_reason: 'motion_detected'
109488
+ /** Sub-type of motion detected, if available. */
109489
+ motion_sub_type?:
109490
+ | ('human' | 'vehicle' | 'package' | 'other')
109491
+ | undefined
109492
+ }
109493
+ | {
109494
+ /** ID of the event. */
109495
+ event_id: string
109496
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
109497
+ workspace_id: string
109498
+ /** Date and time at which the event was created. */
109499
+ created_at: string
109500
+ /** Date and time at which the event occurred. */
109501
+ occurred_at: string
109502
+ /** ID of the affected device. */
109503
+ device_id: string
109504
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
109505
+ connected_account_id: string
109506
+ /** The customer key associated with the device, if any. */
109507
+ customer_key?: string | undefined
109508
+ /** Custom metadata of the device, present when device_id is provided. */
109509
+ device_custom_metadata?:
109510
+ | {
109511
+ [x: string]: string | boolean
109512
+ }
109513
+ | undefined
109514
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
109515
+ connected_account_custom_metadata?:
109516
+ | {
109517
+ [x: string]: string | boolean
109518
+ }
109519
+ | undefined
109520
+ event_type: 'device.doorbell_rang'
109521
+ }
109066
109522
  | {
109067
109523
  /** ID of the event. */
109068
109524
  event_id: string