@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.
- package/dist/connect.cjs +158 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +669 -4
- package/dist/index.cjs +158 -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 +317 -0
- package/lib/seam/connect/openapi.js +132 -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 +137 -0
- package/src/lib/seam/connect/route-types.ts +198 -0
|
@@ -13122,6 +13122,62 @@ export default {
|
|
|
13122
13122
|
type: 'object',
|
|
13123
13123
|
'x-route-path': '/access_grants',
|
|
13124
13124
|
},
|
|
13125
|
+
{
|
|
13126
|
+
description: "An Access Grant's start or end time was changed.",
|
|
13127
|
+
properties: {
|
|
13128
|
+
access_grant_id: {
|
|
13129
|
+
description: 'ID of the affected Access Grant.',
|
|
13130
|
+
format: 'uuid',
|
|
13131
|
+
type: 'string',
|
|
13132
|
+
},
|
|
13133
|
+
access_grant_key: {
|
|
13134
|
+
description: 'Key of the affected Access Grant (if present).',
|
|
13135
|
+
type: 'string',
|
|
13136
|
+
},
|
|
13137
|
+
created_at: {
|
|
13138
|
+
description: 'Date and time at which the event was created.',
|
|
13139
|
+
format: 'date-time',
|
|
13140
|
+
type: 'string',
|
|
13141
|
+
},
|
|
13142
|
+
ends_at: {
|
|
13143
|
+
description: 'The new end time for the access grant.',
|
|
13144
|
+
type: 'string',
|
|
13145
|
+
},
|
|
13146
|
+
event_id: {
|
|
13147
|
+
description: 'ID of the event.',
|
|
13148
|
+
format: 'uuid',
|
|
13149
|
+
type: 'string',
|
|
13150
|
+
},
|
|
13151
|
+
event_type: {
|
|
13152
|
+
enum: ['access_grant.access_times_changed'],
|
|
13153
|
+
type: 'string',
|
|
13154
|
+
},
|
|
13155
|
+
occurred_at: {
|
|
13156
|
+
description: 'Date and time at which the event occurred.',
|
|
13157
|
+
format: 'date-time',
|
|
13158
|
+
type: 'string',
|
|
13159
|
+
},
|
|
13160
|
+
starts_at: {
|
|
13161
|
+
description: 'The new start time for the access grant.',
|
|
13162
|
+
type: 'string',
|
|
13163
|
+
},
|
|
13164
|
+
workspace_id: {
|
|
13165
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
13166
|
+
format: 'uuid',
|
|
13167
|
+
type: 'string',
|
|
13168
|
+
},
|
|
13169
|
+
},
|
|
13170
|
+
required: [
|
|
13171
|
+
'event_id',
|
|
13172
|
+
'workspace_id',
|
|
13173
|
+
'created_at',
|
|
13174
|
+
'occurred_at',
|
|
13175
|
+
'access_grant_id',
|
|
13176
|
+
'event_type',
|
|
13177
|
+
],
|
|
13178
|
+
type: 'object',
|
|
13179
|
+
'x-route-path': '/access_grants',
|
|
13180
|
+
},
|
|
13125
13181
|
{
|
|
13126
13182
|
description: 'An access method was issued.',
|
|
13127
13183
|
properties: {
|
|
@@ -13401,6 +13457,66 @@ export default {
|
|
|
13401
13457
|
type: 'object',
|
|
13402
13458
|
'x-route-path': '/access_methods',
|
|
13403
13459
|
},
|
|
13460
|
+
{
|
|
13461
|
+
description: "An access method's PIN code was changed.",
|
|
13462
|
+
properties: {
|
|
13463
|
+
access_grant_ids: {
|
|
13464
|
+
description: 'IDs of the access grants associated with this access method.',
|
|
13465
|
+
items: { format: 'uuid', type: 'string' },
|
|
13466
|
+
type: 'array',
|
|
13467
|
+
},
|
|
13468
|
+
access_grant_keys: {
|
|
13469
|
+
description: 'Keys of the access grants associated with this access method (if present).',
|
|
13470
|
+
items: { type: 'string' },
|
|
13471
|
+
type: 'array',
|
|
13472
|
+
},
|
|
13473
|
+
access_method_id: {
|
|
13474
|
+
description: 'ID of the affected access method.',
|
|
13475
|
+
format: 'uuid',
|
|
13476
|
+
type: 'string',
|
|
13477
|
+
},
|
|
13478
|
+
code: {
|
|
13479
|
+
description: "The new PIN code for code access methods (only present when mode is 'code').",
|
|
13480
|
+
type: 'string',
|
|
13481
|
+
},
|
|
13482
|
+
created_at: {
|
|
13483
|
+
description: 'Date and time at which the event was created.',
|
|
13484
|
+
format: 'date-time',
|
|
13485
|
+
type: 'string',
|
|
13486
|
+
},
|
|
13487
|
+
event_id: {
|
|
13488
|
+
description: 'ID of the event.',
|
|
13489
|
+
format: 'uuid',
|
|
13490
|
+
type: 'string',
|
|
13491
|
+
},
|
|
13492
|
+
event_type: {
|
|
13493
|
+
enum: ['access_method.code_changed'],
|
|
13494
|
+
type: 'string',
|
|
13495
|
+
},
|
|
13496
|
+
occurred_at: {
|
|
13497
|
+
description: 'Date and time at which the event occurred.',
|
|
13498
|
+
format: 'date-time',
|
|
13499
|
+
type: 'string',
|
|
13500
|
+
},
|
|
13501
|
+
workspace_id: {
|
|
13502
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
13503
|
+
format: 'uuid',
|
|
13504
|
+
type: 'string',
|
|
13505
|
+
},
|
|
13506
|
+
},
|
|
13507
|
+
required: [
|
|
13508
|
+
'event_id',
|
|
13509
|
+
'workspace_id',
|
|
13510
|
+
'created_at',
|
|
13511
|
+
'occurred_at',
|
|
13512
|
+
'access_method_id',
|
|
13513
|
+
'access_grant_ids',
|
|
13514
|
+
'event_type',
|
|
13515
|
+
'code',
|
|
13516
|
+
],
|
|
13517
|
+
type: 'object',
|
|
13518
|
+
'x-route-path': '/access_methods',
|
|
13519
|
+
},
|
|
13404
13520
|
{
|
|
13405
13521
|
description: 'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
|
|
13406
13522
|
properties: {
|
|
@@ -39702,11 +39818,13 @@ export default {
|
|
|
39702
39818
|
'access_grant.access_granted_to_all_doors',
|
|
39703
39819
|
'access_grant.access_granted_to_door',
|
|
39704
39820
|
'access_grant.access_to_door_lost',
|
|
39821
|
+
'access_grant.access_times_changed',
|
|
39705
39822
|
'access_method.issued',
|
|
39706
39823
|
'access_method.revoked',
|
|
39707
39824
|
'access_method.card_encoding_required',
|
|
39708
39825
|
'access_method.deleted',
|
|
39709
39826
|
'access_method.reissued',
|
|
39827
|
+
'access_method.code_changed',
|
|
39710
39828
|
'acs_system.connected',
|
|
39711
39829
|
'acs_system.added',
|
|
39712
39830
|
'acs_system.disconnected',
|
|
@@ -39803,11 +39921,13 @@ export default {
|
|
|
39803
39921
|
'access_grant.access_granted_to_all_doors',
|
|
39804
39922
|
'access_grant.access_granted_to_door',
|
|
39805
39923
|
'access_grant.access_to_door_lost',
|
|
39924
|
+
'access_grant.access_times_changed',
|
|
39806
39925
|
'access_method.issued',
|
|
39807
39926
|
'access_method.revoked',
|
|
39808
39927
|
'access_method.card_encoding_required',
|
|
39809
39928
|
'access_method.deleted',
|
|
39810
39929
|
'access_method.reissued',
|
|
39930
|
+
'access_method.code_changed',
|
|
39811
39931
|
'acs_system.connected',
|
|
39812
39932
|
'acs_system.added',
|
|
39813
39933
|
'acs_system.disconnected',
|
|
@@ -40046,11 +40166,13 @@ export default {
|
|
|
40046
40166
|
'access_grant.access_granted_to_all_doors',
|
|
40047
40167
|
'access_grant.access_granted_to_door',
|
|
40048
40168
|
'access_grant.access_to_door_lost',
|
|
40169
|
+
'access_grant.access_times_changed',
|
|
40049
40170
|
'access_method.issued',
|
|
40050
40171
|
'access_method.revoked',
|
|
40051
40172
|
'access_method.card_encoding_required',
|
|
40052
40173
|
'access_method.deleted',
|
|
40053
40174
|
'access_method.reissued',
|
|
40175
|
+
'access_method.code_changed',
|
|
40054
40176
|
'acs_system.connected',
|
|
40055
40177
|
'acs_system.added',
|
|
40056
40178
|
'acs_system.disconnected',
|
|
@@ -40143,11 +40265,13 @@ export default {
|
|
|
40143
40265
|
'access_grant.access_granted_to_all_doors',
|
|
40144
40266
|
'access_grant.access_granted_to_door',
|
|
40145
40267
|
'access_grant.access_to_door_lost',
|
|
40268
|
+
'access_grant.access_times_changed',
|
|
40146
40269
|
'access_method.issued',
|
|
40147
40270
|
'access_method.revoked',
|
|
40148
40271
|
'access_method.card_encoding_required',
|
|
40149
40272
|
'access_method.deleted',
|
|
40150
40273
|
'access_method.reissued',
|
|
40274
|
+
'access_method.code_changed',
|
|
40151
40275
|
'acs_system.connected',
|
|
40152
40276
|
'acs_system.added',
|
|
40153
40277
|
'acs_system.disconnected',
|
|
@@ -45114,11 +45238,13 @@ export default {
|
|
|
45114
45238
|
'access_grant.access_granted_to_all_doors',
|
|
45115
45239
|
'access_grant.access_granted_to_door',
|
|
45116
45240
|
'access_grant.access_to_door_lost',
|
|
45241
|
+
'access_grant.access_times_changed',
|
|
45117
45242
|
'access_method.issued',
|
|
45118
45243
|
'access_method.revoked',
|
|
45119
45244
|
'access_method.card_encoding_required',
|
|
45120
45245
|
'access_method.deleted',
|
|
45121
45246
|
'access_method.reissued',
|
|
45247
|
+
'access_method.code_changed',
|
|
45122
45248
|
'acs_system.connected',
|
|
45123
45249
|
'acs_system.added',
|
|
45124
45250
|
'acs_system.disconnected',
|
|
@@ -45216,11 +45342,13 @@ export default {
|
|
|
45216
45342
|
'access_grant.access_granted_to_all_doors',
|
|
45217
45343
|
'access_grant.access_granted_to_door',
|
|
45218
45344
|
'access_grant.access_to_door_lost',
|
|
45345
|
+
'access_grant.access_times_changed',
|
|
45219
45346
|
'access_method.issued',
|
|
45220
45347
|
'access_method.revoked',
|
|
45221
45348
|
'access_method.card_encoding_required',
|
|
45222
45349
|
'access_method.deleted',
|
|
45223
45350
|
'access_method.reissued',
|
|
45351
|
+
'access_method.code_changed',
|
|
45224
45352
|
'acs_system.connected',
|
|
45225
45353
|
'acs_system.added',
|
|
45226
45354
|
'acs_system.disconnected',
|
|
@@ -45379,11 +45507,13 @@ export default {
|
|
|
45379
45507
|
'access_grant.access_granted_to_all_doors',
|
|
45380
45508
|
'access_grant.access_granted_to_door',
|
|
45381
45509
|
'access_grant.access_to_door_lost',
|
|
45510
|
+
'access_grant.access_times_changed',
|
|
45382
45511
|
'access_method.issued',
|
|
45383
45512
|
'access_method.revoked',
|
|
45384
45513
|
'access_method.card_encoding_required',
|
|
45385
45514
|
'access_method.deleted',
|
|
45386
45515
|
'access_method.reissued',
|
|
45516
|
+
'access_method.code_changed',
|
|
45387
45517
|
'acs_system.connected',
|
|
45388
45518
|
'acs_system.added',
|
|
45389
45519
|
'acs_system.disconnected',
|
|
@@ -45476,11 +45606,13 @@ export default {
|
|
|
45476
45606
|
'access_grant.access_granted_to_all_doors',
|
|
45477
45607
|
'access_grant.access_granted_to_door',
|
|
45478
45608
|
'access_grant.access_to_door_lost',
|
|
45609
|
+
'access_grant.access_times_changed',
|
|
45479
45610
|
'access_method.issued',
|
|
45480
45611
|
'access_method.revoked',
|
|
45481
45612
|
'access_method.card_encoding_required',
|
|
45482
45613
|
'access_method.deleted',
|
|
45483
45614
|
'access_method.reissued',
|
|
45615
|
+
'access_method.code_changed',
|
|
45484
45616
|
'acs_system.connected',
|
|
45485
45617
|
'acs_system.added',
|
|
45486
45618
|
'acs_system.disconnected',
|