@seamapi/types 1.552.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.
- package/dist/connect.cjs +159 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +727 -52
- package/dist/index.cjs +159 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +208 -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 +327 -0
- package/lib/seam/connect/openapi.js +133 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +184 -4
- package/package.json +1 -1
- 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 +138 -0
- package/src/lib/seam/connect/route-types.ts +198 -0
|
@@ -14736,6 +14736,63 @@ export default {
|
|
|
14736
14736
|
type: 'object',
|
|
14737
14737
|
'x-route-path': '/access_grants',
|
|
14738
14738
|
},
|
|
14739
|
+
{
|
|
14740
|
+
description: "An Access Grant's start or end time was changed.",
|
|
14741
|
+
properties: {
|
|
14742
|
+
access_grant_id: {
|
|
14743
|
+
description: 'ID of the affected Access Grant.',
|
|
14744
|
+
format: 'uuid',
|
|
14745
|
+
type: 'string',
|
|
14746
|
+
},
|
|
14747
|
+
access_grant_key: {
|
|
14748
|
+
description: 'Key of the affected Access Grant (if present).',
|
|
14749
|
+
type: 'string',
|
|
14750
|
+
},
|
|
14751
|
+
created_at: {
|
|
14752
|
+
description: 'Date and time at which the event was created.',
|
|
14753
|
+
format: 'date-time',
|
|
14754
|
+
type: 'string',
|
|
14755
|
+
},
|
|
14756
|
+
ends_at: {
|
|
14757
|
+
description: 'The new end time for the access grant.',
|
|
14758
|
+
type: 'string',
|
|
14759
|
+
},
|
|
14760
|
+
event_id: {
|
|
14761
|
+
description: 'ID of the event.',
|
|
14762
|
+
format: 'uuid',
|
|
14763
|
+
type: 'string',
|
|
14764
|
+
},
|
|
14765
|
+
event_type: {
|
|
14766
|
+
enum: ['access_grant.access_times_changed'],
|
|
14767
|
+
type: 'string',
|
|
14768
|
+
},
|
|
14769
|
+
occurred_at: {
|
|
14770
|
+
description: 'Date and time at which the event occurred.',
|
|
14771
|
+
format: 'date-time',
|
|
14772
|
+
type: 'string',
|
|
14773
|
+
},
|
|
14774
|
+
starts_at: {
|
|
14775
|
+
description: 'The new start time for the access grant.',
|
|
14776
|
+
type: 'string',
|
|
14777
|
+
},
|
|
14778
|
+
workspace_id: {
|
|
14779
|
+
description:
|
|
14780
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
14781
|
+
format: 'uuid',
|
|
14782
|
+
type: 'string',
|
|
14783
|
+
},
|
|
14784
|
+
},
|
|
14785
|
+
required: [
|
|
14786
|
+
'event_id',
|
|
14787
|
+
'workspace_id',
|
|
14788
|
+
'created_at',
|
|
14789
|
+
'occurred_at',
|
|
14790
|
+
'access_grant_id',
|
|
14791
|
+
'event_type',
|
|
14792
|
+
],
|
|
14793
|
+
type: 'object',
|
|
14794
|
+
'x-route-path': '/access_grants',
|
|
14795
|
+
},
|
|
14739
14796
|
{
|
|
14740
14797
|
description: 'An access method was issued.',
|
|
14741
14798
|
properties: {
|
|
@@ -15036,6 +15093,70 @@ export default {
|
|
|
15036
15093
|
type: 'object',
|
|
15037
15094
|
'x-route-path': '/access_methods',
|
|
15038
15095
|
},
|
|
15096
|
+
{
|
|
15097
|
+
description: "An access method's PIN code was changed.",
|
|
15098
|
+
properties: {
|
|
15099
|
+
access_grant_ids: {
|
|
15100
|
+
description:
|
|
15101
|
+
'IDs of the access grants associated with this access method.',
|
|
15102
|
+
items: { format: 'uuid', type: 'string' },
|
|
15103
|
+
type: 'array',
|
|
15104
|
+
},
|
|
15105
|
+
access_grant_keys: {
|
|
15106
|
+
description:
|
|
15107
|
+
'Keys of the access grants associated with this access method (if present).',
|
|
15108
|
+
items: { type: 'string' },
|
|
15109
|
+
type: 'array',
|
|
15110
|
+
},
|
|
15111
|
+
access_method_id: {
|
|
15112
|
+
description: 'ID of the affected access method.',
|
|
15113
|
+
format: 'uuid',
|
|
15114
|
+
type: 'string',
|
|
15115
|
+
},
|
|
15116
|
+
code: {
|
|
15117
|
+
description:
|
|
15118
|
+
"The new PIN code for code access methods (only present when mode is 'code').",
|
|
15119
|
+
type: 'string',
|
|
15120
|
+
},
|
|
15121
|
+
created_at: {
|
|
15122
|
+
description: 'Date and time at which the event was created.',
|
|
15123
|
+
format: 'date-time',
|
|
15124
|
+
type: 'string',
|
|
15125
|
+
},
|
|
15126
|
+
event_id: {
|
|
15127
|
+
description: 'ID of the event.',
|
|
15128
|
+
format: 'uuid',
|
|
15129
|
+
type: 'string',
|
|
15130
|
+
},
|
|
15131
|
+
event_type: {
|
|
15132
|
+
enum: ['access_method.code_changed'],
|
|
15133
|
+
type: 'string',
|
|
15134
|
+
},
|
|
15135
|
+
occurred_at: {
|
|
15136
|
+
description: 'Date and time at which the event occurred.',
|
|
15137
|
+
format: 'date-time',
|
|
15138
|
+
type: 'string',
|
|
15139
|
+
},
|
|
15140
|
+
workspace_id: {
|
|
15141
|
+
description:
|
|
15142
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
15143
|
+
format: 'uuid',
|
|
15144
|
+
type: 'string',
|
|
15145
|
+
},
|
|
15146
|
+
},
|
|
15147
|
+
required: [
|
|
15148
|
+
'event_id',
|
|
15149
|
+
'workspace_id',
|
|
15150
|
+
'created_at',
|
|
15151
|
+
'occurred_at',
|
|
15152
|
+
'access_method_id',
|
|
15153
|
+
'access_grant_ids',
|
|
15154
|
+
'event_type',
|
|
15155
|
+
'code',
|
|
15156
|
+
],
|
|
15157
|
+
type: 'object',
|
|
15158
|
+
'x-route-path': '/access_methods',
|
|
15159
|
+
},
|
|
15039
15160
|
{
|
|
15040
15161
|
description:
|
|
15041
15162
|
'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
|
|
@@ -26668,6 +26789,7 @@ export default {
|
|
|
26668
26789
|
},
|
|
26669
26790
|
security: [
|
|
26670
26791
|
{ client_session: [] },
|
|
26792
|
+
{ client_session_with_customer: [] },
|
|
26671
26793
|
{ pat_with_workspace: [] },
|
|
26672
26794
|
{ console_session_with_workspace: [] },
|
|
26673
26795
|
{ api_key: [] },
|
|
@@ -43417,11 +43539,13 @@ export default {
|
|
|
43417
43539
|
'access_grant.access_granted_to_all_doors',
|
|
43418
43540
|
'access_grant.access_granted_to_door',
|
|
43419
43541
|
'access_grant.access_to_door_lost',
|
|
43542
|
+
'access_grant.access_times_changed',
|
|
43420
43543
|
'access_method.issued',
|
|
43421
43544
|
'access_method.revoked',
|
|
43422
43545
|
'access_method.card_encoding_required',
|
|
43423
43546
|
'access_method.deleted',
|
|
43424
43547
|
'access_method.reissued',
|
|
43548
|
+
'access_method.code_changed',
|
|
43425
43549
|
'acs_system.connected',
|
|
43426
43550
|
'acs_system.added',
|
|
43427
43551
|
'acs_system.disconnected',
|
|
@@ -43518,11 +43642,13 @@ export default {
|
|
|
43518
43642
|
'access_grant.access_granted_to_all_doors',
|
|
43519
43643
|
'access_grant.access_granted_to_door',
|
|
43520
43644
|
'access_grant.access_to_door_lost',
|
|
43645
|
+
'access_grant.access_times_changed',
|
|
43521
43646
|
'access_method.issued',
|
|
43522
43647
|
'access_method.revoked',
|
|
43523
43648
|
'access_method.card_encoding_required',
|
|
43524
43649
|
'access_method.deleted',
|
|
43525
43650
|
'access_method.reissued',
|
|
43651
|
+
'access_method.code_changed',
|
|
43526
43652
|
'acs_system.connected',
|
|
43527
43653
|
'acs_system.added',
|
|
43528
43654
|
'acs_system.disconnected',
|
|
@@ -43774,11 +43900,13 @@ export default {
|
|
|
43774
43900
|
'access_grant.access_granted_to_all_doors',
|
|
43775
43901
|
'access_grant.access_granted_to_door',
|
|
43776
43902
|
'access_grant.access_to_door_lost',
|
|
43903
|
+
'access_grant.access_times_changed',
|
|
43777
43904
|
'access_method.issued',
|
|
43778
43905
|
'access_method.revoked',
|
|
43779
43906
|
'access_method.card_encoding_required',
|
|
43780
43907
|
'access_method.deleted',
|
|
43781
43908
|
'access_method.reissued',
|
|
43909
|
+
'access_method.code_changed',
|
|
43782
43910
|
'acs_system.connected',
|
|
43783
43911
|
'acs_system.added',
|
|
43784
43912
|
'acs_system.disconnected',
|
|
@@ -43871,11 +43999,13 @@ export default {
|
|
|
43871
43999
|
'access_grant.access_granted_to_all_doors',
|
|
43872
44000
|
'access_grant.access_granted_to_door',
|
|
43873
44001
|
'access_grant.access_to_door_lost',
|
|
44002
|
+
'access_grant.access_times_changed',
|
|
43874
44003
|
'access_method.issued',
|
|
43875
44004
|
'access_method.revoked',
|
|
43876
44005
|
'access_method.card_encoding_required',
|
|
43877
44006
|
'access_method.deleted',
|
|
43878
44007
|
'access_method.reissued',
|
|
44008
|
+
'access_method.code_changed',
|
|
43879
44009
|
'acs_system.connected',
|
|
43880
44010
|
'acs_system.added',
|
|
43881
44011
|
'acs_system.disconnected',
|
|
@@ -49045,11 +49175,13 @@ export default {
|
|
|
49045
49175
|
'access_grant.access_granted_to_all_doors',
|
|
49046
49176
|
'access_grant.access_granted_to_door',
|
|
49047
49177
|
'access_grant.access_to_door_lost',
|
|
49178
|
+
'access_grant.access_times_changed',
|
|
49048
49179
|
'access_method.issued',
|
|
49049
49180
|
'access_method.revoked',
|
|
49050
49181
|
'access_method.card_encoding_required',
|
|
49051
49182
|
'access_method.deleted',
|
|
49052
49183
|
'access_method.reissued',
|
|
49184
|
+
'access_method.code_changed',
|
|
49053
49185
|
'acs_system.connected',
|
|
49054
49186
|
'acs_system.added',
|
|
49055
49187
|
'acs_system.disconnected',
|
|
@@ -49147,11 +49279,13 @@ export default {
|
|
|
49147
49279
|
'access_grant.access_granted_to_all_doors',
|
|
49148
49280
|
'access_grant.access_granted_to_door',
|
|
49149
49281
|
'access_grant.access_to_door_lost',
|
|
49282
|
+
'access_grant.access_times_changed',
|
|
49150
49283
|
'access_method.issued',
|
|
49151
49284
|
'access_method.revoked',
|
|
49152
49285
|
'access_method.card_encoding_required',
|
|
49153
49286
|
'access_method.deleted',
|
|
49154
49287
|
'access_method.reissued',
|
|
49288
|
+
'access_method.code_changed',
|
|
49155
49289
|
'acs_system.connected',
|
|
49156
49290
|
'acs_system.added',
|
|
49157
49291
|
'acs_system.disconnected',
|
|
@@ -49312,11 +49446,13 @@ export default {
|
|
|
49312
49446
|
'access_grant.access_granted_to_all_doors',
|
|
49313
49447
|
'access_grant.access_granted_to_door',
|
|
49314
49448
|
'access_grant.access_to_door_lost',
|
|
49449
|
+
'access_grant.access_times_changed',
|
|
49315
49450
|
'access_method.issued',
|
|
49316
49451
|
'access_method.revoked',
|
|
49317
49452
|
'access_method.card_encoding_required',
|
|
49318
49453
|
'access_method.deleted',
|
|
49319
49454
|
'access_method.reissued',
|
|
49455
|
+
'access_method.code_changed',
|
|
49320
49456
|
'acs_system.connected',
|
|
49321
49457
|
'acs_system.added',
|
|
49322
49458
|
'acs_system.disconnected',
|
|
@@ -49409,11 +49545,13 @@ export default {
|
|
|
49409
49545
|
'access_grant.access_granted_to_all_doors',
|
|
49410
49546
|
'access_grant.access_granted_to_door',
|
|
49411
49547
|
'access_grant.access_to_door_lost',
|
|
49548
|
+
'access_grant.access_times_changed',
|
|
49412
49549
|
'access_method.issued',
|
|
49413
49550
|
'access_method.revoked',
|
|
49414
49551
|
'access_method.card_encoding_required',
|
|
49415
49552
|
'access_method.deleted',
|
|
49416
49553
|
'access_method.reissued',
|
|
49554
|
+
'access_method.code_changed',
|
|
49417
49555
|
'acs_system.connected',
|
|
49418
49556
|
'acs_system.added',
|
|
49419
49557
|
'acs_system.disconnected',
|
|
@@ -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
|