@seamapi/types 1.553.0 → 1.554.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20741,6 +20741,25 @@ export type Routes = {
20741
20741
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
20742
20742
  acs_entrance_id: string
20743
20743
  }
20744
+ | {
20745
+ /** ID of the event. */
20746
+ event_id: string
20747
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
20748
+ workspace_id: string
20749
+ /** Date and time at which the event was created. */
20750
+ created_at: string
20751
+ /** Date and time at which the event occurred. */
20752
+ occurred_at: string
20753
+ /** ID of the affected Access Grant. */
20754
+ access_grant_id: string
20755
+ event_type: 'access_grant.access_times_changed'
20756
+ /** Key of the affected Access Grant (if present). */
20757
+ access_grant_key?: string | undefined
20758
+ /** The new start time for the access grant. */
20759
+ starts_at?: string | undefined
20760
+ /** The new end time for the access grant. */
20761
+ ends_at?: string | undefined
20762
+ }
20744
20763
  | {
20745
20764
  /** ID of the event. */
20746
20765
  event_id: string
@@ -20834,6 +20853,25 @@ export type Routes = {
20834
20853
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20835
20854
  is_backup_code?: boolean | undefined
20836
20855
  }
20856
+ | {
20857
+ /** ID of the event. */
20858
+ event_id: string
20859
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
20860
+ workspace_id: string
20861
+ /** Date and time at which the event was created. */
20862
+ created_at: string
20863
+ /** Date and time at which the event occurred. */
20864
+ occurred_at: string
20865
+ /** ID of the affected access method. */
20866
+ access_method_id: string
20867
+ /** IDs of the access grants associated with this access method. */
20868
+ access_grant_ids: string[]
20869
+ /** Keys of the access grants associated with this access method (if present). */
20870
+ access_grant_keys?: string[] | undefined
20871
+ event_type: 'access_method.code_changed'
20872
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
20873
+ code: string
20874
+ }
20837
20875
  | {
20838
20876
  /** ID of the event. */
20839
20877
  event_id: string
@@ -42195,6 +42233,25 @@ export type Routes = {
42195
42233
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
42196
42234
  acs_entrance_id: string
42197
42235
  }
42236
+ | {
42237
+ /** ID of the event. */
42238
+ event_id: string
42239
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42240
+ workspace_id: string
42241
+ /** Date and time at which the event was created. */
42242
+ created_at: string
42243
+ /** Date and time at which the event occurred. */
42244
+ occurred_at: string
42245
+ /** ID of the affected Access Grant. */
42246
+ access_grant_id: string
42247
+ event_type: 'access_grant.access_times_changed'
42248
+ /** Key of the affected Access Grant (if present). */
42249
+ access_grant_key?: string | undefined
42250
+ /** The new start time for the access grant. */
42251
+ starts_at?: string | undefined
42252
+ /** The new end time for the access grant. */
42253
+ ends_at?: string | undefined
42254
+ }
42198
42255
  | {
42199
42256
  /** ID of the event. */
42200
42257
  event_id: string
@@ -42288,6 +42345,25 @@ export type Routes = {
42288
42345
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42289
42346
  is_backup_code?: boolean | undefined
42290
42347
  }
42348
+ | {
42349
+ /** ID of the event. */
42350
+ event_id: string
42351
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42352
+ workspace_id: string
42353
+ /** Date and time at which the event was created. */
42354
+ created_at: string
42355
+ /** Date and time at which the event occurred. */
42356
+ occurred_at: string
42357
+ /** ID of the affected access method. */
42358
+ access_method_id: string
42359
+ /** IDs of the access grants associated with this access method. */
42360
+ access_grant_ids: string[]
42361
+ /** Keys of the access grants associated with this access method (if present). */
42362
+ access_grant_keys?: string[] | undefined
42363
+ event_type: 'access_method.code_changed'
42364
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
42365
+ code: string
42366
+ }
42291
42367
  | {
42292
42368
  /** ID of the event. */
42293
42369
  event_id: string
@@ -43878,11 +43954,13 @@ export type Routes = {
43878
43954
  | 'access_grant.access_granted_to_all_doors'
43879
43955
  | 'access_grant.access_granted_to_door'
43880
43956
  | 'access_grant.access_to_door_lost'
43957
+ | 'access_grant.access_times_changed'
43881
43958
  | 'access_method.issued'
43882
43959
  | 'access_method.revoked'
43883
43960
  | 'access_method.card_encoding_required'
43884
43961
  | 'access_method.deleted'
43885
43962
  | 'access_method.reissued'
43963
+ | 'access_method.code_changed'
43886
43964
  | 'acs_system.connected'
43887
43965
  | 'acs_system.added'
43888
43966
  | 'acs_system.disconnected'
@@ -43973,11 +44051,13 @@ export type Routes = {
43973
44051
  | 'access_grant.access_granted_to_all_doors'
43974
44052
  | 'access_grant.access_granted_to_door'
43975
44053
  | 'access_grant.access_to_door_lost'
44054
+ | 'access_grant.access_times_changed'
43976
44055
  | 'access_method.issued'
43977
44056
  | 'access_method.revoked'
43978
44057
  | 'access_method.card_encoding_required'
43979
44058
  | 'access_method.deleted'
43980
44059
  | 'access_method.reissued'
44060
+ | 'access_method.code_changed'
43981
44061
  | 'acs_system.connected'
43982
44062
  | 'acs_system.added'
43983
44063
  | 'acs_system.disconnected'
@@ -44624,6 +44704,25 @@ export type Routes = {
44624
44704
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
44625
44705
  acs_entrance_id: string
44626
44706
  }
44707
+ | {
44708
+ /** ID of the event. */
44709
+ event_id: string
44710
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
44711
+ workspace_id: string
44712
+ /** Date and time at which the event was created. */
44713
+ created_at: string
44714
+ /** Date and time at which the event occurred. */
44715
+ occurred_at: string
44716
+ /** ID of the affected Access Grant. */
44717
+ access_grant_id: string
44718
+ event_type: 'access_grant.access_times_changed'
44719
+ /** Key of the affected Access Grant (if present). */
44720
+ access_grant_key?: string | undefined
44721
+ /** The new start time for the access grant. */
44722
+ starts_at?: string | undefined
44723
+ /** The new end time for the access grant. */
44724
+ ends_at?: string | undefined
44725
+ }
44627
44726
  | {
44628
44727
  /** ID of the event. */
44629
44728
  event_id: string
@@ -44717,6 +44816,25 @@ export type Routes = {
44717
44816
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44718
44817
  is_backup_code?: boolean | undefined
44719
44818
  }
44819
+ | {
44820
+ /** ID of the event. */
44821
+ event_id: string
44822
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
44823
+ workspace_id: string
44824
+ /** Date and time at which the event was created. */
44825
+ created_at: string
44826
+ /** Date and time at which the event occurred. */
44827
+ occurred_at: string
44828
+ /** ID of the affected access method. */
44829
+ access_method_id: string
44830
+ /** IDs of the access grants associated with this access method. */
44831
+ access_grant_ids: string[]
44832
+ /** Keys of the access grants associated with this access method (if present). */
44833
+ access_grant_keys?: string[] | undefined
44834
+ event_type: 'access_method.code_changed'
44835
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
44836
+ code: string
44837
+ }
44720
44838
  | {
44721
44839
  /** ID of the event. */
44722
44840
  event_id: string
@@ -66852,11 +66970,13 @@ export type Routes = {
66852
66970
  | 'access_grant.access_granted_to_all_doors'
66853
66971
  | 'access_grant.access_granted_to_door'
66854
66972
  | 'access_grant.access_to_door_lost'
66973
+ | 'access_grant.access_times_changed'
66855
66974
  | 'access_method.issued'
66856
66975
  | 'access_method.revoked'
66857
66976
  | 'access_method.card_encoding_required'
66858
66977
  | 'access_method.deleted'
66859
66978
  | 'access_method.reissued'
66979
+ | 'access_method.code_changed'
66860
66980
  | 'acs_system.connected'
66861
66981
  | 'acs_system.added'
66862
66982
  | 'acs_system.disconnected'
@@ -66947,11 +67067,13 @@ export type Routes = {
66947
67067
  | 'access_grant.access_granted_to_all_doors'
66948
67068
  | 'access_grant.access_granted_to_door'
66949
67069
  | 'access_grant.access_to_door_lost'
67070
+ | 'access_grant.access_times_changed'
66950
67071
  | 'access_method.issued'
66951
67072
  | 'access_method.revoked'
66952
67073
  | 'access_method.card_encoding_required'
66953
67074
  | 'access_method.deleted'
66954
67075
  | 'access_method.reissued'
67076
+ | 'access_method.code_changed'
66955
67077
  | 'acs_system.connected'
66956
67078
  | 'acs_system.added'
66957
67079
  | 'acs_system.disconnected'
@@ -67592,6 +67714,25 @@ export type Routes = {
67592
67714
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
67593
67715
  acs_entrance_id: string
67594
67716
  }
67717
+ | {
67718
+ /** ID of the event. */
67719
+ event_id: string
67720
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
67721
+ workspace_id: string
67722
+ /** Date and time at which the event was created. */
67723
+ created_at: string
67724
+ /** Date and time at which the event occurred. */
67725
+ occurred_at: string
67726
+ /** ID of the affected Access Grant. */
67727
+ access_grant_id: string
67728
+ event_type: 'access_grant.access_times_changed'
67729
+ /** Key of the affected Access Grant (if present). */
67730
+ access_grant_key?: string | undefined
67731
+ /** The new start time for the access grant. */
67732
+ starts_at?: string | undefined
67733
+ /** The new end time for the access grant. */
67734
+ ends_at?: string | undefined
67735
+ }
67595
67736
  | {
67596
67737
  /** ID of the event. */
67597
67738
  event_id: string
@@ -67685,6 +67826,25 @@ export type Routes = {
67685
67826
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67686
67827
  is_backup_code?: boolean | undefined
67687
67828
  }
67829
+ | {
67830
+ /** ID of the event. */
67831
+ event_id: string
67832
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
67833
+ workspace_id: string
67834
+ /** Date and time at which the event was created. */
67835
+ created_at: string
67836
+ /** Date and time at which the event occurred. */
67837
+ occurred_at: string
67838
+ /** ID of the affected access method. */
67839
+ access_method_id: string
67840
+ /** IDs of the access grants associated with this access method. */
67841
+ access_grant_ids: string[]
67842
+ /** Keys of the access grants associated with this access method (if present). */
67843
+ access_grant_keys?: string[] | undefined
67844
+ event_type: 'access_method.code_changed'
67845
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
67846
+ code: string
67847
+ }
67688
67848
  | {
67689
67849
  /** ID of the event. */
67690
67850
  event_id: string
@@ -100472,6 +100632,25 @@ export type Routes = {
100472
100632
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
100473
100633
  acs_entrance_id: string
100474
100634
  }
100635
+ | {
100636
+ /** ID of the event. */
100637
+ event_id: string
100638
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
100639
+ workspace_id: string
100640
+ /** Date and time at which the event was created. */
100641
+ created_at: string
100642
+ /** Date and time at which the event occurred. */
100643
+ occurred_at: string
100644
+ /** ID of the affected Access Grant. */
100645
+ access_grant_id: string
100646
+ event_type: 'access_grant.access_times_changed'
100647
+ /** Key of the affected Access Grant (if present). */
100648
+ access_grant_key?: string | undefined
100649
+ /** The new start time for the access grant. */
100650
+ starts_at?: string | undefined
100651
+ /** The new end time for the access grant. */
100652
+ ends_at?: string | undefined
100653
+ }
100475
100654
  | {
100476
100655
  /** ID of the event. */
100477
100656
  event_id: string
@@ -100565,6 +100744,25 @@ export type Routes = {
100565
100744
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
100566
100745
  is_backup_code?: boolean | undefined
100567
100746
  }
100747
+ | {
100748
+ /** ID of the event. */
100749
+ event_id: string
100750
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
100751
+ workspace_id: string
100752
+ /** Date and time at which the event was created. */
100753
+ created_at: string
100754
+ /** Date and time at which the event occurred. */
100755
+ occurred_at: string
100756
+ /** ID of the affected access method. */
100757
+ access_method_id: string
100758
+ /** IDs of the access grants associated with this access method. */
100759
+ access_grant_ids: string[]
100760
+ /** Keys of the access grants associated with this access method (if present). */
100761
+ access_grant_keys?: string[] | undefined
100762
+ event_type: 'access_method.code_changed'
100763
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
100764
+ code: string
100765
+ }
100568
100766
  | {
100569
100767
  /** ID of the event. */
100570
100768
  event_id: string