@seamapi/types 1.553.0 → 1.555.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.
- package/dist/connect.cjs +281 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +928 -4
- package/dist/index.cjs +281 -19
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-method.js +24 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/batch.d.ts +344 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +66 -0
- package/lib/seam/connect/models/events/access-grants.js +21 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +65 -0
- package/lib/seam/connect/models/events/access-methods.js +12 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/openapi.d.ts +379 -0
- package/lib/seam/connect/openapi.js +196 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +265 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +27 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +213 -0
- package/src/lib/seam/connect/route-types.ts +279 -0
|
@@ -11308,6 +11308,15 @@ export type Routes = {
|
|
|
11308
11308
|
starts_at: string
|
|
11309
11309
|
/** Date and time at which the Access Grant ends. */
|
|
11310
11310
|
ends_at: string | null
|
|
11311
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
11312
|
+
warnings: {
|
|
11313
|
+
/** Date and time at which Seam created the warning. */
|
|
11314
|
+
created_at: string
|
|
11315
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
11316
|
+
message: string
|
|
11317
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11318
|
+
warning_code: 'being_deleted'
|
|
11319
|
+
}[]
|
|
11311
11320
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11312
11321
|
customization_profile_id?: string | undefined
|
|
11313
11322
|
}
|
|
@@ -11385,6 +11394,15 @@ export type Routes = {
|
|
|
11385
11394
|
starts_at: string
|
|
11386
11395
|
/** Date and time at which the Access Grant ends. */
|
|
11387
11396
|
ends_at: string | null
|
|
11397
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
11398
|
+
warnings: {
|
|
11399
|
+
/** Date and time at which Seam created the warning. */
|
|
11400
|
+
created_at: string
|
|
11401
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
11402
|
+
message: string
|
|
11403
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11404
|
+
warning_code: 'being_deleted'
|
|
11405
|
+
}[]
|
|
11388
11406
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11389
11407
|
customization_profile_id?: string | undefined
|
|
11390
11408
|
}
|
|
@@ -13620,6 +13638,15 @@ export type Routes = {
|
|
|
13620
13638
|
starts_at: string
|
|
13621
13639
|
/** Date and time at which the Access Grant ends. */
|
|
13622
13640
|
ends_at: string | null
|
|
13641
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
13642
|
+
warnings: {
|
|
13643
|
+
/** Date and time at which Seam created the warning. */
|
|
13644
|
+
created_at: string
|
|
13645
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
13646
|
+
message: string
|
|
13647
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13648
|
+
warning_code: 'being_deleted'
|
|
13649
|
+
}[]
|
|
13623
13650
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13624
13651
|
customization_profile_id?: string | undefined
|
|
13625
13652
|
}[]
|
|
@@ -15139,6 +15166,15 @@ export type Routes = {
|
|
|
15139
15166
|
is_encoding_required?: boolean | undefined
|
|
15140
15167
|
/** The actual PIN code for code access methods. */
|
|
15141
15168
|
code?: (string | null) | undefined
|
|
15169
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
15170
|
+
warnings: {
|
|
15171
|
+
/** Date and time at which Seam created the warning. */
|
|
15172
|
+
created_at: string
|
|
15173
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
15174
|
+
message: string
|
|
15175
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15176
|
+
warning_code: 'being_deleted'
|
|
15177
|
+
}[]
|
|
15142
15178
|
/** ID of the customization profile associated with the access method. */
|
|
15143
15179
|
customization_profile_id?: string | undefined
|
|
15144
15180
|
}
|
|
@@ -20118,6 +20154,15 @@ export type Routes = {
|
|
|
20118
20154
|
is_encoding_required?: boolean | undefined
|
|
20119
20155
|
/** The actual PIN code for code access methods. */
|
|
20120
20156
|
code?: (string | null) | undefined
|
|
20157
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
20158
|
+
warnings: {
|
|
20159
|
+
/** Date and time at which Seam created the warning. */
|
|
20160
|
+
created_at: string
|
|
20161
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
20162
|
+
message: string
|
|
20163
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
20164
|
+
warning_code: 'being_deleted'
|
|
20165
|
+
}[]
|
|
20121
20166
|
/** ID of the customization profile associated with the access method. */
|
|
20122
20167
|
customization_profile_id?: string | undefined
|
|
20123
20168
|
}[]
|
|
@@ -20166,6 +20211,15 @@ export type Routes = {
|
|
|
20166
20211
|
starts_at: string
|
|
20167
20212
|
/** Date and time at which the Access Grant ends. */
|
|
20168
20213
|
ends_at: string | null
|
|
20214
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
20215
|
+
warnings: {
|
|
20216
|
+
/** Date and time at which Seam created the warning. */
|
|
20217
|
+
created_at: string
|
|
20218
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
20219
|
+
message: string
|
|
20220
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
20221
|
+
warning_code: 'being_deleted'
|
|
20222
|
+
}[]
|
|
20169
20223
|
/** ID of the customization profile associated with the Access Grant. */
|
|
20170
20224
|
customization_profile_id?: string | undefined
|
|
20171
20225
|
}[]
|
|
@@ -20741,6 +20795,25 @@ export type Routes = {
|
|
|
20741
20795
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
20742
20796
|
acs_entrance_id: string
|
|
20743
20797
|
}
|
|
20798
|
+
| {
|
|
20799
|
+
/** ID of the event. */
|
|
20800
|
+
event_id: string
|
|
20801
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
20802
|
+
workspace_id: string
|
|
20803
|
+
/** Date and time at which the event was created. */
|
|
20804
|
+
created_at: string
|
|
20805
|
+
/** Date and time at which the event occurred. */
|
|
20806
|
+
occurred_at: string
|
|
20807
|
+
/** ID of the affected Access Grant. */
|
|
20808
|
+
access_grant_id: string
|
|
20809
|
+
event_type: 'access_grant.access_times_changed'
|
|
20810
|
+
/** Key of the affected Access Grant (if present). */
|
|
20811
|
+
access_grant_key?: string | undefined
|
|
20812
|
+
/** The new start time for the access grant. */
|
|
20813
|
+
starts_at?: string | undefined
|
|
20814
|
+
/** The new end time for the access grant. */
|
|
20815
|
+
ends_at?: string | undefined
|
|
20816
|
+
}
|
|
20744
20817
|
| {
|
|
20745
20818
|
/** ID of the event. */
|
|
20746
20819
|
event_id: string
|
|
@@ -20834,6 +20907,25 @@ export type Routes = {
|
|
|
20834
20907
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
20835
20908
|
is_backup_code?: boolean | undefined
|
|
20836
20909
|
}
|
|
20910
|
+
| {
|
|
20911
|
+
/** ID of the event. */
|
|
20912
|
+
event_id: string
|
|
20913
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
20914
|
+
workspace_id: string
|
|
20915
|
+
/** Date and time at which the event was created. */
|
|
20916
|
+
created_at: string
|
|
20917
|
+
/** Date and time at which the event occurred. */
|
|
20918
|
+
occurred_at: string
|
|
20919
|
+
/** ID of the affected access method. */
|
|
20920
|
+
access_method_id: string
|
|
20921
|
+
/** IDs of the access grants associated with this access method. */
|
|
20922
|
+
access_grant_ids: string[]
|
|
20923
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
20924
|
+
access_grant_keys?: string[] | undefined
|
|
20925
|
+
event_type: 'access_method.code_changed'
|
|
20926
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
20927
|
+
code: string
|
|
20928
|
+
}
|
|
20837
20929
|
| {
|
|
20838
20930
|
/** ID of the event. */
|
|
20839
20931
|
event_id: string
|
|
@@ -23639,6 +23731,15 @@ export type Routes = {
|
|
|
23639
23731
|
is_encoding_required?: boolean | undefined
|
|
23640
23732
|
/** The actual PIN code for code access methods. */
|
|
23641
23733
|
code?: (string | null) | undefined
|
|
23734
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
23735
|
+
warnings: {
|
|
23736
|
+
/** Date and time at which Seam created the warning. */
|
|
23737
|
+
created_at: string
|
|
23738
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23739
|
+
message: string
|
|
23740
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
23741
|
+
warning_code: 'being_deleted'
|
|
23742
|
+
}[]
|
|
23642
23743
|
/** ID of the customization profile associated with the access method. */
|
|
23643
23744
|
customization_profile_id?: string | undefined
|
|
23644
23745
|
}[]
|
|
@@ -42195,6 +42296,25 @@ export type Routes = {
|
|
|
42195
42296
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
42196
42297
|
acs_entrance_id: string
|
|
42197
42298
|
}
|
|
42299
|
+
| {
|
|
42300
|
+
/** ID of the event. */
|
|
42301
|
+
event_id: string
|
|
42302
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
42303
|
+
workspace_id: string
|
|
42304
|
+
/** Date and time at which the event was created. */
|
|
42305
|
+
created_at: string
|
|
42306
|
+
/** Date and time at which the event occurred. */
|
|
42307
|
+
occurred_at: string
|
|
42308
|
+
/** ID of the affected Access Grant. */
|
|
42309
|
+
access_grant_id: string
|
|
42310
|
+
event_type: 'access_grant.access_times_changed'
|
|
42311
|
+
/** Key of the affected Access Grant (if present). */
|
|
42312
|
+
access_grant_key?: string | undefined
|
|
42313
|
+
/** The new start time for the access grant. */
|
|
42314
|
+
starts_at?: string | undefined
|
|
42315
|
+
/** The new end time for the access grant. */
|
|
42316
|
+
ends_at?: string | undefined
|
|
42317
|
+
}
|
|
42198
42318
|
| {
|
|
42199
42319
|
/** ID of the event. */
|
|
42200
42320
|
event_id: string
|
|
@@ -42288,6 +42408,25 @@ export type Routes = {
|
|
|
42288
42408
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
42289
42409
|
is_backup_code?: boolean | undefined
|
|
42290
42410
|
}
|
|
42411
|
+
| {
|
|
42412
|
+
/** ID of the event. */
|
|
42413
|
+
event_id: string
|
|
42414
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
42415
|
+
workspace_id: string
|
|
42416
|
+
/** Date and time at which the event was created. */
|
|
42417
|
+
created_at: string
|
|
42418
|
+
/** Date and time at which the event occurred. */
|
|
42419
|
+
occurred_at: string
|
|
42420
|
+
/** ID of the affected access method. */
|
|
42421
|
+
access_method_id: string
|
|
42422
|
+
/** IDs of the access grants associated with this access method. */
|
|
42423
|
+
access_grant_ids: string[]
|
|
42424
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
42425
|
+
access_grant_keys?: string[] | undefined
|
|
42426
|
+
event_type: 'access_method.code_changed'
|
|
42427
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
42428
|
+
code: string
|
|
42429
|
+
}
|
|
42291
42430
|
| {
|
|
42292
42431
|
/** ID of the event. */
|
|
42293
42432
|
event_id: string
|
|
@@ -43878,11 +44017,13 @@ export type Routes = {
|
|
|
43878
44017
|
| 'access_grant.access_granted_to_all_doors'
|
|
43879
44018
|
| 'access_grant.access_granted_to_door'
|
|
43880
44019
|
| 'access_grant.access_to_door_lost'
|
|
44020
|
+
| 'access_grant.access_times_changed'
|
|
43881
44021
|
| 'access_method.issued'
|
|
43882
44022
|
| 'access_method.revoked'
|
|
43883
44023
|
| 'access_method.card_encoding_required'
|
|
43884
44024
|
| 'access_method.deleted'
|
|
43885
44025
|
| 'access_method.reissued'
|
|
44026
|
+
| 'access_method.code_changed'
|
|
43886
44027
|
| 'acs_system.connected'
|
|
43887
44028
|
| 'acs_system.added'
|
|
43888
44029
|
| 'acs_system.disconnected'
|
|
@@ -43973,11 +44114,13 @@ export type Routes = {
|
|
|
43973
44114
|
| 'access_grant.access_granted_to_all_doors'
|
|
43974
44115
|
| 'access_grant.access_granted_to_door'
|
|
43975
44116
|
| 'access_grant.access_to_door_lost'
|
|
44117
|
+
| 'access_grant.access_times_changed'
|
|
43976
44118
|
| 'access_method.issued'
|
|
43977
44119
|
| 'access_method.revoked'
|
|
43978
44120
|
| 'access_method.card_encoding_required'
|
|
43979
44121
|
| 'access_method.deleted'
|
|
43980
44122
|
| 'access_method.reissued'
|
|
44123
|
+
| 'access_method.code_changed'
|
|
43981
44124
|
| 'acs_system.connected'
|
|
43982
44125
|
| 'acs_system.added'
|
|
43983
44126
|
| 'acs_system.disconnected'
|
|
@@ -44624,6 +44767,25 @@ export type Routes = {
|
|
|
44624
44767
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
44625
44768
|
acs_entrance_id: string
|
|
44626
44769
|
}
|
|
44770
|
+
| {
|
|
44771
|
+
/** ID of the event. */
|
|
44772
|
+
event_id: string
|
|
44773
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
44774
|
+
workspace_id: string
|
|
44775
|
+
/** Date and time at which the event was created. */
|
|
44776
|
+
created_at: string
|
|
44777
|
+
/** Date and time at which the event occurred. */
|
|
44778
|
+
occurred_at: string
|
|
44779
|
+
/** ID of the affected Access Grant. */
|
|
44780
|
+
access_grant_id: string
|
|
44781
|
+
event_type: 'access_grant.access_times_changed'
|
|
44782
|
+
/** Key of the affected Access Grant (if present). */
|
|
44783
|
+
access_grant_key?: string | undefined
|
|
44784
|
+
/** The new start time for the access grant. */
|
|
44785
|
+
starts_at?: string | undefined
|
|
44786
|
+
/** The new end time for the access grant. */
|
|
44787
|
+
ends_at?: string | undefined
|
|
44788
|
+
}
|
|
44627
44789
|
| {
|
|
44628
44790
|
/** ID of the event. */
|
|
44629
44791
|
event_id: string
|
|
@@ -44717,6 +44879,25 @@ export type Routes = {
|
|
|
44717
44879
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
44718
44880
|
is_backup_code?: boolean | undefined
|
|
44719
44881
|
}
|
|
44882
|
+
| {
|
|
44883
|
+
/** ID of the event. */
|
|
44884
|
+
event_id: string
|
|
44885
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
44886
|
+
workspace_id: string
|
|
44887
|
+
/** Date and time at which the event was created. */
|
|
44888
|
+
created_at: string
|
|
44889
|
+
/** Date and time at which the event occurred. */
|
|
44890
|
+
occurred_at: string
|
|
44891
|
+
/** ID of the affected access method. */
|
|
44892
|
+
access_method_id: string
|
|
44893
|
+
/** IDs of the access grants associated with this access method. */
|
|
44894
|
+
access_grant_ids: string[]
|
|
44895
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
44896
|
+
access_grant_keys?: string[] | undefined
|
|
44897
|
+
event_type: 'access_method.code_changed'
|
|
44898
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
44899
|
+
code: string
|
|
44900
|
+
}
|
|
44720
44901
|
| {
|
|
44721
44902
|
/** ID of the event. */
|
|
44722
44903
|
event_id: string
|
|
@@ -66852,11 +67033,13 @@ export type Routes = {
|
|
|
66852
67033
|
| 'access_grant.access_granted_to_all_doors'
|
|
66853
67034
|
| 'access_grant.access_granted_to_door'
|
|
66854
67035
|
| 'access_grant.access_to_door_lost'
|
|
67036
|
+
| 'access_grant.access_times_changed'
|
|
66855
67037
|
| 'access_method.issued'
|
|
66856
67038
|
| 'access_method.revoked'
|
|
66857
67039
|
| 'access_method.card_encoding_required'
|
|
66858
67040
|
| 'access_method.deleted'
|
|
66859
67041
|
| 'access_method.reissued'
|
|
67042
|
+
| 'access_method.code_changed'
|
|
66860
67043
|
| 'acs_system.connected'
|
|
66861
67044
|
| 'acs_system.added'
|
|
66862
67045
|
| 'acs_system.disconnected'
|
|
@@ -66947,11 +67130,13 @@ export type Routes = {
|
|
|
66947
67130
|
| 'access_grant.access_granted_to_all_doors'
|
|
66948
67131
|
| 'access_grant.access_granted_to_door'
|
|
66949
67132
|
| 'access_grant.access_to_door_lost'
|
|
67133
|
+
| 'access_grant.access_times_changed'
|
|
66950
67134
|
| 'access_method.issued'
|
|
66951
67135
|
| 'access_method.revoked'
|
|
66952
67136
|
| 'access_method.card_encoding_required'
|
|
66953
67137
|
| 'access_method.deleted'
|
|
66954
67138
|
| 'access_method.reissued'
|
|
67139
|
+
| 'access_method.code_changed'
|
|
66955
67140
|
| 'acs_system.connected'
|
|
66956
67141
|
| 'acs_system.added'
|
|
66957
67142
|
| 'acs_system.disconnected'
|
|
@@ -67592,6 +67777,25 @@ export type Routes = {
|
|
|
67592
67777
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
67593
67778
|
acs_entrance_id: string
|
|
67594
67779
|
}
|
|
67780
|
+
| {
|
|
67781
|
+
/** ID of the event. */
|
|
67782
|
+
event_id: string
|
|
67783
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
67784
|
+
workspace_id: string
|
|
67785
|
+
/** Date and time at which the event was created. */
|
|
67786
|
+
created_at: string
|
|
67787
|
+
/** Date and time at which the event occurred. */
|
|
67788
|
+
occurred_at: string
|
|
67789
|
+
/** ID of the affected Access Grant. */
|
|
67790
|
+
access_grant_id: string
|
|
67791
|
+
event_type: 'access_grant.access_times_changed'
|
|
67792
|
+
/** Key of the affected Access Grant (if present). */
|
|
67793
|
+
access_grant_key?: string | undefined
|
|
67794
|
+
/** The new start time for the access grant. */
|
|
67795
|
+
starts_at?: string | undefined
|
|
67796
|
+
/** The new end time for the access grant. */
|
|
67797
|
+
ends_at?: string | undefined
|
|
67798
|
+
}
|
|
67595
67799
|
| {
|
|
67596
67800
|
/** ID of the event. */
|
|
67597
67801
|
event_id: string
|
|
@@ -67685,6 +67889,25 @@ export type Routes = {
|
|
|
67685
67889
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
67686
67890
|
is_backup_code?: boolean | undefined
|
|
67687
67891
|
}
|
|
67892
|
+
| {
|
|
67893
|
+
/** ID of the event. */
|
|
67894
|
+
event_id: string
|
|
67895
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
67896
|
+
workspace_id: string
|
|
67897
|
+
/** Date and time at which the event was created. */
|
|
67898
|
+
created_at: string
|
|
67899
|
+
/** Date and time at which the event occurred. */
|
|
67900
|
+
occurred_at: string
|
|
67901
|
+
/** ID of the affected access method. */
|
|
67902
|
+
access_method_id: string
|
|
67903
|
+
/** IDs of the access grants associated with this access method. */
|
|
67904
|
+
access_grant_ids: string[]
|
|
67905
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
67906
|
+
access_grant_keys?: string[] | undefined
|
|
67907
|
+
event_type: 'access_method.code_changed'
|
|
67908
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
67909
|
+
code: string
|
|
67910
|
+
}
|
|
67688
67911
|
| {
|
|
67689
67912
|
/** ID of the event. */
|
|
67690
67913
|
event_id: string
|
|
@@ -99849,6 +100072,15 @@ export type Routes = {
|
|
|
99849
100072
|
is_encoding_required?: boolean | undefined
|
|
99850
100073
|
/** The actual PIN code for code access methods. */
|
|
99851
100074
|
code?: (string | null) | undefined
|
|
100075
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
100076
|
+
warnings: {
|
|
100077
|
+
/** Date and time at which Seam created the warning. */
|
|
100078
|
+
created_at: string
|
|
100079
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
100080
|
+
message: string
|
|
100081
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
100082
|
+
warning_code: 'being_deleted'
|
|
100083
|
+
}[]
|
|
99852
100084
|
/** ID of the customization profile associated with the access method. */
|
|
99853
100085
|
customization_profile_id?: string | undefined
|
|
99854
100086
|
}[]
|
|
@@ -99897,6 +100129,15 @@ export type Routes = {
|
|
|
99897
100129
|
starts_at: string
|
|
99898
100130
|
/** Date and time at which the Access Grant ends. */
|
|
99899
100131
|
ends_at: string | null
|
|
100132
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
100133
|
+
warnings: {
|
|
100134
|
+
/** Date and time at which Seam created the warning. */
|
|
100135
|
+
created_at: string
|
|
100136
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
100137
|
+
message: string
|
|
100138
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
100139
|
+
warning_code: 'being_deleted'
|
|
100140
|
+
}[]
|
|
99900
100141
|
/** ID of the customization profile associated with the Access Grant. */
|
|
99901
100142
|
customization_profile_id?: string | undefined
|
|
99902
100143
|
}[]
|
|
@@ -100472,6 +100713,25 @@ export type Routes = {
|
|
|
100472
100713
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
100473
100714
|
acs_entrance_id: string
|
|
100474
100715
|
}
|
|
100716
|
+
| {
|
|
100717
|
+
/** ID of the event. */
|
|
100718
|
+
event_id: string
|
|
100719
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
100720
|
+
workspace_id: string
|
|
100721
|
+
/** Date and time at which the event was created. */
|
|
100722
|
+
created_at: string
|
|
100723
|
+
/** Date and time at which the event occurred. */
|
|
100724
|
+
occurred_at: string
|
|
100725
|
+
/** ID of the affected Access Grant. */
|
|
100726
|
+
access_grant_id: string
|
|
100727
|
+
event_type: 'access_grant.access_times_changed'
|
|
100728
|
+
/** Key of the affected Access Grant (if present). */
|
|
100729
|
+
access_grant_key?: string | undefined
|
|
100730
|
+
/** The new start time for the access grant. */
|
|
100731
|
+
starts_at?: string | undefined
|
|
100732
|
+
/** The new end time for the access grant. */
|
|
100733
|
+
ends_at?: string | undefined
|
|
100734
|
+
}
|
|
100475
100735
|
| {
|
|
100476
100736
|
/** ID of the event. */
|
|
100477
100737
|
event_id: string
|
|
@@ -100565,6 +100825,25 @@ export type Routes = {
|
|
|
100565
100825
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
100566
100826
|
is_backup_code?: boolean | undefined
|
|
100567
100827
|
}
|
|
100828
|
+
| {
|
|
100829
|
+
/** ID of the event. */
|
|
100830
|
+
event_id: string
|
|
100831
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
100832
|
+
workspace_id: string
|
|
100833
|
+
/** Date and time at which the event was created. */
|
|
100834
|
+
created_at: string
|
|
100835
|
+
/** Date and time at which the event occurred. */
|
|
100836
|
+
occurred_at: string
|
|
100837
|
+
/** ID of the affected access method. */
|
|
100838
|
+
access_method_id: string
|
|
100839
|
+
/** IDs of the access grants associated with this access method. */
|
|
100840
|
+
access_grant_ids: string[]
|
|
100841
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
100842
|
+
access_grant_keys?: string[] | undefined
|
|
100843
|
+
event_type: 'access_method.code_changed'
|
|
100844
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
100845
|
+
code: string
|
|
100846
|
+
}
|
|
100568
100847
|
| {
|
|
100569
100848
|
/** ID of the event. */
|
|
100570
100849
|
event_id: string
|