@seamapi/types 1.827.0 → 1.829.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 +147 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +371 -30
- package/dist/index.cjs +147 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +18 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +43 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +1 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.d.ts +27 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js +17 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js.map +1 -0
- package/lib/seam/connect/models/batch.d.ts +83 -10
- package/lib/seam/connect/models/events/access-grants.d.ts +6 -0
- package/lib/seam/connect/models/events/access-grants.js +4 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +176 -0
- package/lib/seam/connect/openapi.js +124 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +231 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/models/acs/metadata/avigilon-alta.ts +21 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +140 -2
- package/src/lib/seam/connect/route-types.ts +253 -14
|
@@ -2205,6 +2205,12 @@ const openapi: OpenAPISpec = {
|
|
|
2205
2205
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
2206
2206
|
type: 'string',
|
|
2207
2207
|
},
|
|
2208
|
+
missing_device_ids: {
|
|
2209
|
+
description:
|
|
2210
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
2211
|
+
items: { format: 'uuid', type: 'string' },
|
|
2212
|
+
type: 'array',
|
|
2213
|
+
},
|
|
2208
2214
|
},
|
|
2209
2215
|
required: ['created_at', 'message', 'error_code'],
|
|
2210
2216
|
type: 'object',
|
|
@@ -4295,6 +4301,54 @@ const openapi: OpenAPISpec = {
|
|
|
4295
4301
|
required: ['door_type', 'door_name'],
|
|
4296
4302
|
type: 'object',
|
|
4297
4303
|
},
|
|
4304
|
+
avigilon_alta_metadata: {
|
|
4305
|
+
description:
|
|
4306
|
+
'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4307
|
+
properties: {
|
|
4308
|
+
entry_name: {
|
|
4309
|
+
description: 'Entry name for an Avigilon Alta system.',
|
|
4310
|
+
type: 'string',
|
|
4311
|
+
},
|
|
4312
|
+
entry_relays_total_count: {
|
|
4313
|
+
description:
|
|
4314
|
+
'Total count of entry relays for an Avigilon Alta system.',
|
|
4315
|
+
format: 'float',
|
|
4316
|
+
type: 'number',
|
|
4317
|
+
},
|
|
4318
|
+
org_name: {
|
|
4319
|
+
description: 'Organization name for an Avigilon Alta system.',
|
|
4320
|
+
type: 'string',
|
|
4321
|
+
},
|
|
4322
|
+
site_id: {
|
|
4323
|
+
description: 'Site ID for an Avigilon Alta system.',
|
|
4324
|
+
format: 'float',
|
|
4325
|
+
type: 'number',
|
|
4326
|
+
},
|
|
4327
|
+
site_name: {
|
|
4328
|
+
description: 'Site name for an Avigilon Alta system.',
|
|
4329
|
+
type: 'string',
|
|
4330
|
+
},
|
|
4331
|
+
zone_id: {
|
|
4332
|
+
description: 'Zone ID for an Avigilon Alta system.',
|
|
4333
|
+
format: 'float',
|
|
4334
|
+
type: 'number',
|
|
4335
|
+
},
|
|
4336
|
+
zone_name: {
|
|
4337
|
+
description: 'Zone name for an Avigilon Alta system.',
|
|
4338
|
+
type: 'string',
|
|
4339
|
+
},
|
|
4340
|
+
},
|
|
4341
|
+
required: [
|
|
4342
|
+
'entry_name',
|
|
4343
|
+
'org_name',
|
|
4344
|
+
'zone_id',
|
|
4345
|
+
'zone_name',
|
|
4346
|
+
'site_id',
|
|
4347
|
+
'site_name',
|
|
4348
|
+
'entry_relays_total_count',
|
|
4349
|
+
],
|
|
4350
|
+
type: 'object',
|
|
4351
|
+
},
|
|
4298
4352
|
brivo_metadata: {
|
|
4299
4353
|
description:
|
|
4300
4354
|
'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
@@ -4840,7 +4894,7 @@ const openapi: OpenAPISpec = {
|
|
|
4840
4894
|
'Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type.',
|
|
4841
4895
|
enum: [
|
|
4842
4896
|
'pti_site',
|
|
4843
|
-
'
|
|
4897
|
+
'avigilon_alta_org',
|
|
4844
4898
|
'salto_ks_site',
|
|
4845
4899
|
'salto_space_system',
|
|
4846
4900
|
'brivo_account',
|
|
@@ -4898,7 +4952,7 @@ const openapi: OpenAPISpec = {
|
|
|
4898
4952
|
deprecated: true,
|
|
4899
4953
|
enum: [
|
|
4900
4954
|
'pti_site',
|
|
4901
|
-
'
|
|
4955
|
+
'avigilon_alta_org',
|
|
4902
4956
|
'salto_ks_site',
|
|
4903
4957
|
'salto_space_system',
|
|
4904
4958
|
'brivo_account',
|
|
@@ -18171,6 +18225,12 @@ const openapi: OpenAPISpec = {
|
|
|
18171
18225
|
],
|
|
18172
18226
|
type: 'string',
|
|
18173
18227
|
},
|
|
18228
|
+
missing_device_ids: {
|
|
18229
|
+
description:
|
|
18230
|
+
'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
|
|
18231
|
+
items: { format: 'uuid', type: 'string' },
|
|
18232
|
+
type: 'array',
|
|
18233
|
+
},
|
|
18174
18234
|
occurred_at: {
|
|
18175
18235
|
description: 'Date and time at which the event occurred.',
|
|
18176
18236
|
format: 'date-time',
|
|
@@ -24883,6 +24943,60 @@ const openapi: OpenAPISpec = {
|
|
|
24883
24943
|
required: ['door_type', 'door_name'],
|
|
24884
24944
|
type: 'object',
|
|
24885
24945
|
},
|
|
24946
|
+
avigilon_alta_metadata: {
|
|
24947
|
+
description:
|
|
24948
|
+
'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
24949
|
+
properties: {
|
|
24950
|
+
entry_name: {
|
|
24951
|
+
description:
|
|
24952
|
+
'Entry name for an Avigilon Alta system.',
|
|
24953
|
+
type: 'string',
|
|
24954
|
+
},
|
|
24955
|
+
entry_relays_total_count: {
|
|
24956
|
+
description:
|
|
24957
|
+
'Total count of entry relays for an Avigilon Alta system.',
|
|
24958
|
+
format: 'float',
|
|
24959
|
+
type: 'number',
|
|
24960
|
+
},
|
|
24961
|
+
org_name: {
|
|
24962
|
+
description:
|
|
24963
|
+
'Organization name for an Avigilon Alta system.',
|
|
24964
|
+
type: 'string',
|
|
24965
|
+
},
|
|
24966
|
+
site_id: {
|
|
24967
|
+
description:
|
|
24968
|
+
'Site ID for an Avigilon Alta system.',
|
|
24969
|
+
format: 'float',
|
|
24970
|
+
type: 'number',
|
|
24971
|
+
},
|
|
24972
|
+
site_name: {
|
|
24973
|
+
description:
|
|
24974
|
+
'Site name for an Avigilon Alta system.',
|
|
24975
|
+
type: 'string',
|
|
24976
|
+
},
|
|
24977
|
+
zone_id: {
|
|
24978
|
+
description:
|
|
24979
|
+
'Zone ID for an Avigilon Alta system.',
|
|
24980
|
+
format: 'float',
|
|
24981
|
+
type: 'number',
|
|
24982
|
+
},
|
|
24983
|
+
zone_name: {
|
|
24984
|
+
description:
|
|
24985
|
+
'Zone name for an Avigilon Alta system.',
|
|
24986
|
+
type: 'string',
|
|
24987
|
+
},
|
|
24988
|
+
},
|
|
24989
|
+
required: [
|
|
24990
|
+
'entry_name',
|
|
24991
|
+
'org_name',
|
|
24992
|
+
'zone_id',
|
|
24993
|
+
'zone_name',
|
|
24994
|
+
'site_id',
|
|
24995
|
+
'site_name',
|
|
24996
|
+
'entry_relays_total_count',
|
|
24997
|
+
],
|
|
24998
|
+
type: 'object',
|
|
24999
|
+
},
|
|
24886
25000
|
brivo_metadata: {
|
|
24887
25001
|
description:
|
|
24888
25002
|
'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
@@ -35953,6 +36067,12 @@ const openapi: OpenAPISpec = {
|
|
|
35953
36067
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
35954
36068
|
type: 'string',
|
|
35955
36069
|
},
|
|
36070
|
+
missing_device_ids: {
|
|
36071
|
+
description:
|
|
36072
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
36073
|
+
items: { format: 'uuid', type: 'string' },
|
|
36074
|
+
type: 'array',
|
|
36075
|
+
},
|
|
35956
36076
|
},
|
|
35957
36077
|
required: [
|
|
35958
36078
|
'created_at',
|
|
@@ -36656,6 +36776,12 @@ const openapi: OpenAPISpec = {
|
|
|
36656
36776
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
36657
36777
|
type: 'string',
|
|
36658
36778
|
},
|
|
36779
|
+
missing_device_ids: {
|
|
36780
|
+
description:
|
|
36781
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
36782
|
+
items: { format: 'uuid', type: 'string' },
|
|
36783
|
+
type: 'array',
|
|
36784
|
+
},
|
|
36659
36785
|
},
|
|
36660
36786
|
required: [
|
|
36661
36787
|
'created_at',
|
|
@@ -37405,6 +37531,12 @@ const openapi: OpenAPISpec = {
|
|
|
37405
37531
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
37406
37532
|
type: 'string',
|
|
37407
37533
|
},
|
|
37534
|
+
missing_device_ids: {
|
|
37535
|
+
description:
|
|
37536
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
37537
|
+
items: { format: 'uuid', type: 'string' },
|
|
37538
|
+
type: 'array',
|
|
37539
|
+
},
|
|
37408
37540
|
},
|
|
37409
37541
|
required: [
|
|
37410
37542
|
'created_at',
|
|
@@ -38146,6 +38278,12 @@ const openapi: OpenAPISpec = {
|
|
|
38146
38278
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
38147
38279
|
type: 'string',
|
|
38148
38280
|
},
|
|
38281
|
+
missing_device_ids: {
|
|
38282
|
+
description:
|
|
38283
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
38284
|
+
items: { format: 'uuid', type: 'string' },
|
|
38285
|
+
type: 'array',
|
|
38286
|
+
},
|
|
38149
38287
|
},
|
|
38150
38288
|
required: [
|
|
38151
38289
|
'created_at',
|