@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.
Files changed (34) hide show
  1. package/dist/connect.cjs +147 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +371 -30
  4. package/dist/index.cjs +147 -5
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +18 -0
  7. package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-entrance.d.ts +43 -0
  10. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  11. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  13. package/lib/seam/connect/models/acs/acs-system.js +1 -1
  14. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  15. package/lib/seam/connect/models/acs/metadata/avigilon-alta.d.ts +27 -0
  16. package/lib/seam/connect/models/acs/metadata/avigilon-alta.js +17 -0
  17. package/lib/seam/connect/models/acs/metadata/avigilon-alta.js.map +1 -0
  18. package/lib/seam/connect/models/batch.d.ts +83 -10
  19. package/lib/seam/connect/models/events/access-grants.d.ts +6 -0
  20. package/lib/seam/connect/models/events/access-grants.js +4 -0
  21. package/lib/seam/connect/models/events/access-grants.js.map +1 -1
  22. package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
  23. package/lib/seam/connect/models/phones/phone-session.d.ts +176 -0
  24. package/lib/seam/connect/openapi.js +124 -2
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +231 -14
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
  29. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  30. package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
  31. package/src/lib/seam/connect/models/acs/metadata/avigilon-alta.ts +21 -0
  32. package/src/lib/seam/connect/models/events/access-grants.ts +6 -0
  33. package/src/lib/seam/connect/openapi.ts +140 -2
  34. package/src/lib/seam/connect/route-types.ts +253 -14
@@ -1913,6 +1913,11 @@ const openapi = {
1913
1913
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
1914
1914
  type: 'string',
1915
1915
  },
1916
+ missing_device_ids: {
1917
+ description: '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.',
1918
+ items: { format: 'uuid', type: 'string' },
1919
+ type: 'array',
1920
+ },
1916
1921
  },
1917
1922
  required: ['created_at', 'message', 'error_code'],
1918
1923
  type: 'object',
@@ -3778,6 +3783,52 @@ const openapi = {
3778
3783
  required: ['door_type', 'door_name'],
3779
3784
  type: 'object',
3780
3785
  },
3786
+ avigilon_alta_metadata: {
3787
+ description: 'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
3788
+ properties: {
3789
+ entry_name: {
3790
+ description: 'Entry name for an Avigilon Alta system.',
3791
+ type: 'string',
3792
+ },
3793
+ entry_relays_total_count: {
3794
+ description: 'Total count of entry relays for an Avigilon Alta system.',
3795
+ format: 'float',
3796
+ type: 'number',
3797
+ },
3798
+ org_name: {
3799
+ description: 'Organization name for an Avigilon Alta system.',
3800
+ type: 'string',
3801
+ },
3802
+ site_id: {
3803
+ description: 'Site ID for an Avigilon Alta system.',
3804
+ format: 'float',
3805
+ type: 'number',
3806
+ },
3807
+ site_name: {
3808
+ description: 'Site name for an Avigilon Alta system.',
3809
+ type: 'string',
3810
+ },
3811
+ zone_id: {
3812
+ description: 'Zone ID for an Avigilon Alta system.',
3813
+ format: 'float',
3814
+ type: 'number',
3815
+ },
3816
+ zone_name: {
3817
+ description: 'Zone name for an Avigilon Alta system.',
3818
+ type: 'string',
3819
+ },
3820
+ },
3821
+ required: [
3822
+ 'entry_name',
3823
+ 'org_name',
3824
+ 'zone_id',
3825
+ 'zone_name',
3826
+ 'site_id',
3827
+ 'site_name',
3828
+ 'entry_relays_total_count',
3829
+ ],
3830
+ type: 'object',
3831
+ },
3781
3832
  brivo_metadata: {
3782
3833
  description: 'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
3783
3834
  properties: {
@@ -4249,7 +4300,7 @@ const openapi = {
4249
4300
  description: 'Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type.',
4250
4301
  enum: [
4251
4302
  'pti_site',
4252
- 'alta_org',
4303
+ 'avigilon_alta_org',
4253
4304
  'salto_ks_site',
4254
4305
  'salto_space_system',
4255
4306
  'brivo_account',
@@ -4301,7 +4352,7 @@ const openapi = {
4301
4352
  deprecated: true,
4302
4353
  enum: [
4303
4354
  'pti_site',
4304
- 'alta_org',
4355
+ 'avigilon_alta_org',
4305
4356
  'salto_ks_site',
4306
4357
  'salto_space_system',
4307
4358
  'brivo_account',
@@ -16198,6 +16249,11 @@ const openapi = {
16198
16249
  ],
16199
16250
  type: 'string',
16200
16251
  },
16252
+ missing_device_ids: {
16253
+ description: '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.',
16254
+ items: { format: 'uuid', type: 'string' },
16255
+ type: 'array',
16256
+ },
16201
16257
  occurred_at: {
16202
16258
  description: 'Date and time at which the event occurred.',
16203
16259
  format: 'date-time',
@@ -22380,6 +22436,52 @@ const openapi = {
22380
22436
  required: ['door_type', 'door_name'],
22381
22437
  type: 'object',
22382
22438
  },
22439
+ avigilon_alta_metadata: {
22440
+ description: 'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
22441
+ properties: {
22442
+ entry_name: {
22443
+ description: 'Entry name for an Avigilon Alta system.',
22444
+ type: 'string',
22445
+ },
22446
+ entry_relays_total_count: {
22447
+ description: 'Total count of entry relays for an Avigilon Alta system.',
22448
+ format: 'float',
22449
+ type: 'number',
22450
+ },
22451
+ org_name: {
22452
+ description: 'Organization name for an Avigilon Alta system.',
22453
+ type: 'string',
22454
+ },
22455
+ site_id: {
22456
+ description: 'Site ID for an Avigilon Alta system.',
22457
+ format: 'float',
22458
+ type: 'number',
22459
+ },
22460
+ site_name: {
22461
+ description: 'Site name for an Avigilon Alta system.',
22462
+ type: 'string',
22463
+ },
22464
+ zone_id: {
22465
+ description: 'Zone ID for an Avigilon Alta system.',
22466
+ format: 'float',
22467
+ type: 'number',
22468
+ },
22469
+ zone_name: {
22470
+ description: 'Zone name for an Avigilon Alta system.',
22471
+ type: 'string',
22472
+ },
22473
+ },
22474
+ required: [
22475
+ 'entry_name',
22476
+ 'org_name',
22477
+ 'zone_id',
22478
+ 'zone_name',
22479
+ 'site_id',
22480
+ 'site_name',
22481
+ 'entry_relays_total_count',
22482
+ ],
22483
+ type: 'object',
22484
+ },
22383
22485
  brivo_metadata: {
22384
22486
  description: 'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
22385
22487
  properties: {
@@ -32334,6 +32436,11 @@ const openapi = {
32334
32436
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
32335
32437
  type: 'string',
32336
32438
  },
32439
+ missing_device_ids: {
32440
+ description: '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.',
32441
+ items: { format: 'uuid', type: 'string' },
32442
+ type: 'array',
32443
+ },
32337
32444
  },
32338
32445
  required: [
32339
32446
  'created_at',
@@ -32956,6 +33063,11 @@ const openapi = {
32956
33063
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
32957
33064
  type: 'string',
32958
33065
  },
33066
+ missing_device_ids: {
33067
+ description: '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.',
33068
+ items: { format: 'uuid', type: 'string' },
33069
+ type: 'array',
33070
+ },
32959
33071
  },
32960
33072
  required: [
32961
33073
  'created_at',
@@ -33620,6 +33732,11 @@ const openapi = {
33620
33732
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
33621
33733
  type: 'string',
33622
33734
  },
33735
+ missing_device_ids: {
33736
+ description: '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.',
33737
+ items: { format: 'uuid', type: 'string' },
33738
+ type: 'array',
33739
+ },
33623
33740
  },
33624
33741
  required: [
33625
33742
  'created_at',
@@ -34272,6 +34389,11 @@ const openapi = {
34272
34389
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
34273
34390
  type: 'string',
34274
34391
  },
34392
+ missing_device_ids: {
34393
+ description: '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.',
34394
+ items: { format: 'uuid', type: 'string' },
34395
+ type: 'array',
34396
+ },
34275
34397
  },
34276
34398
  required: [
34277
34399
  'created_at',