@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
|
@@ -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: {
|
|
@@ -23896,6 +24012,7 @@ export default {
|
|
|
23896
24012
|
},
|
|
23897
24013
|
security: [
|
|
23898
24014
|
{ client_session: [] },
|
|
24015
|
+
{ client_session_with_customer: [] },
|
|
23899
24016
|
{ pat_with_workspace: [] },
|
|
23900
24017
|
{ console_session_with_workspace: [] },
|
|
23901
24018
|
{ api_key: [] },
|
|
@@ -39701,11 +39818,13 @@ export default {
|
|
|
39701
39818
|
'access_grant.access_granted_to_all_doors',
|
|
39702
39819
|
'access_grant.access_granted_to_door',
|
|
39703
39820
|
'access_grant.access_to_door_lost',
|
|
39821
|
+
'access_grant.access_times_changed',
|
|
39704
39822
|
'access_method.issued',
|
|
39705
39823
|
'access_method.revoked',
|
|
39706
39824
|
'access_method.card_encoding_required',
|
|
39707
39825
|
'access_method.deleted',
|
|
39708
39826
|
'access_method.reissued',
|
|
39827
|
+
'access_method.code_changed',
|
|
39709
39828
|
'acs_system.connected',
|
|
39710
39829
|
'acs_system.added',
|
|
39711
39830
|
'acs_system.disconnected',
|
|
@@ -39802,11 +39921,13 @@ export default {
|
|
|
39802
39921
|
'access_grant.access_granted_to_all_doors',
|
|
39803
39922
|
'access_grant.access_granted_to_door',
|
|
39804
39923
|
'access_grant.access_to_door_lost',
|
|
39924
|
+
'access_grant.access_times_changed',
|
|
39805
39925
|
'access_method.issued',
|
|
39806
39926
|
'access_method.revoked',
|
|
39807
39927
|
'access_method.card_encoding_required',
|
|
39808
39928
|
'access_method.deleted',
|
|
39809
39929
|
'access_method.reissued',
|
|
39930
|
+
'access_method.code_changed',
|
|
39810
39931
|
'acs_system.connected',
|
|
39811
39932
|
'acs_system.added',
|
|
39812
39933
|
'acs_system.disconnected',
|
|
@@ -40045,11 +40166,13 @@ export default {
|
|
|
40045
40166
|
'access_grant.access_granted_to_all_doors',
|
|
40046
40167
|
'access_grant.access_granted_to_door',
|
|
40047
40168
|
'access_grant.access_to_door_lost',
|
|
40169
|
+
'access_grant.access_times_changed',
|
|
40048
40170
|
'access_method.issued',
|
|
40049
40171
|
'access_method.revoked',
|
|
40050
40172
|
'access_method.card_encoding_required',
|
|
40051
40173
|
'access_method.deleted',
|
|
40052
40174
|
'access_method.reissued',
|
|
40175
|
+
'access_method.code_changed',
|
|
40053
40176
|
'acs_system.connected',
|
|
40054
40177
|
'acs_system.added',
|
|
40055
40178
|
'acs_system.disconnected',
|
|
@@ -40142,11 +40265,13 @@ export default {
|
|
|
40142
40265
|
'access_grant.access_granted_to_all_doors',
|
|
40143
40266
|
'access_grant.access_granted_to_door',
|
|
40144
40267
|
'access_grant.access_to_door_lost',
|
|
40268
|
+
'access_grant.access_times_changed',
|
|
40145
40269
|
'access_method.issued',
|
|
40146
40270
|
'access_method.revoked',
|
|
40147
40271
|
'access_method.card_encoding_required',
|
|
40148
40272
|
'access_method.deleted',
|
|
40149
40273
|
'access_method.reissued',
|
|
40274
|
+
'access_method.code_changed',
|
|
40150
40275
|
'acs_system.connected',
|
|
40151
40276
|
'acs_system.added',
|
|
40152
40277
|
'acs_system.disconnected',
|
|
@@ -45113,11 +45238,13 @@ export default {
|
|
|
45113
45238
|
'access_grant.access_granted_to_all_doors',
|
|
45114
45239
|
'access_grant.access_granted_to_door',
|
|
45115
45240
|
'access_grant.access_to_door_lost',
|
|
45241
|
+
'access_grant.access_times_changed',
|
|
45116
45242
|
'access_method.issued',
|
|
45117
45243
|
'access_method.revoked',
|
|
45118
45244
|
'access_method.card_encoding_required',
|
|
45119
45245
|
'access_method.deleted',
|
|
45120
45246
|
'access_method.reissued',
|
|
45247
|
+
'access_method.code_changed',
|
|
45121
45248
|
'acs_system.connected',
|
|
45122
45249
|
'acs_system.added',
|
|
45123
45250
|
'acs_system.disconnected',
|
|
@@ -45215,11 +45342,13 @@ export default {
|
|
|
45215
45342
|
'access_grant.access_granted_to_all_doors',
|
|
45216
45343
|
'access_grant.access_granted_to_door',
|
|
45217
45344
|
'access_grant.access_to_door_lost',
|
|
45345
|
+
'access_grant.access_times_changed',
|
|
45218
45346
|
'access_method.issued',
|
|
45219
45347
|
'access_method.revoked',
|
|
45220
45348
|
'access_method.card_encoding_required',
|
|
45221
45349
|
'access_method.deleted',
|
|
45222
45350
|
'access_method.reissued',
|
|
45351
|
+
'access_method.code_changed',
|
|
45223
45352
|
'acs_system.connected',
|
|
45224
45353
|
'acs_system.added',
|
|
45225
45354
|
'acs_system.disconnected',
|
|
@@ -45378,11 +45507,13 @@ export default {
|
|
|
45378
45507
|
'access_grant.access_granted_to_all_doors',
|
|
45379
45508
|
'access_grant.access_granted_to_door',
|
|
45380
45509
|
'access_grant.access_to_door_lost',
|
|
45510
|
+
'access_grant.access_times_changed',
|
|
45381
45511
|
'access_method.issued',
|
|
45382
45512
|
'access_method.revoked',
|
|
45383
45513
|
'access_method.card_encoding_required',
|
|
45384
45514
|
'access_method.deleted',
|
|
45385
45515
|
'access_method.reissued',
|
|
45516
|
+
'access_method.code_changed',
|
|
45386
45517
|
'acs_system.connected',
|
|
45387
45518
|
'acs_system.added',
|
|
45388
45519
|
'acs_system.disconnected',
|
|
@@ -45475,11 +45606,13 @@ export default {
|
|
|
45475
45606
|
'access_grant.access_granted_to_all_doors',
|
|
45476
45607
|
'access_grant.access_granted_to_door',
|
|
45477
45608
|
'access_grant.access_to_door_lost',
|
|
45609
|
+
'access_grant.access_times_changed',
|
|
45478
45610
|
'access_method.issued',
|
|
45479
45611
|
'access_method.revoked',
|
|
45480
45612
|
'access_method.card_encoding_required',
|
|
45481
45613
|
'access_method.deleted',
|
|
45482
45614
|
'access_method.reissued',
|
|
45615
|
+
'access_method.code_changed',
|
|
45483
45616
|
'acs_system.connected',
|
|
45484
45617
|
'acs_system.added',
|
|
45485
45618
|
'acs_system.disconnected',
|