@seamapi/types 1.951.0 → 1.953.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 (31) hide show
  1. package/dist/connect.cjs +156 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +343 -4
  4. package/dist/index.cjs +156 -5
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -4
  7. package/lib/seam/connect/models/acs/acs-entrance.js +7 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/metadata/salto.d.ts +2 -2
  10. package/lib/seam/connect/models/devices/device.d.ts +58 -0
  11. package/lib/seam/connect/models/devices/device.js +11 -0
  12. package/lib/seam/connect/models/devices/device.js.map +1 -1
  13. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
  14. package/lib/seam/connect/models/events/common.d.ts +2 -0
  15. package/lib/seam/connect/models/events/common.js +10 -0
  16. package/lib/seam/connect/models/events/common.js.map +1 -1
  17. package/lib/seam/connect/models/events/devices.d.ts +36 -0
  18. package/lib/seam/connect/models/events/devices.js +10 -1
  19. package/lib/seam/connect/models/events/devices.js.map +1 -1
  20. package/lib/seam/connect/models/events/seam-event.d.ts +18 -0
  21. package/lib/seam/connect/models/phones/phone-session.d.ts +100 -18
  22. package/lib/seam/connect/openapi.js +119 -2
  23. package/lib/seam/connect/openapi.js.map +1 -1
  24. package/lib/seam/connect/route-types.d.ts +245 -0
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -0
  27. package/src/lib/seam/connect/models/devices/device.ts +12 -0
  28. package/src/lib/seam/connect/models/events/common.ts +15 -0
  29. package/src/lib/seam/connect/models/events/devices.ts +12 -0
  30. package/src/lib/seam/connect/openapi.ts +138 -2
  31. package/src/lib/seam/connect/route-types.ts +308 -0
@@ -3836,7 +3836,7 @@ const openapi = {
3836
3836
  type: 'object',
3837
3837
  },
3838
3838
  {
3839
- description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
3839
+ description: 'deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
3840
3840
  properties: {
3841
3841
  created_at: {
3842
3842
  description: 'Date and time at which Seam created the warning.',
@@ -3856,6 +3856,27 @@ const openapi = {
3856
3856
  required: ['created_at', 'message', 'warning_code'],
3857
3857
  type: 'object',
3858
3858
  },
3859
+ {
3860
+ description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
3861
+ properties: {
3862
+ created_at: {
3863
+ description: 'Date and time at which Seam created the warning.',
3864
+ format: 'date-time',
3865
+ type: 'string',
3866
+ },
3867
+ message: {
3868
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
3869
+ type: 'string',
3870
+ },
3871
+ warning_code: {
3872
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
3873
+ enum: ['privacy_mode'],
3874
+ type: 'string',
3875
+ },
3876
+ },
3877
+ required: ['created_at', 'message', 'warning_code'],
3878
+ type: 'object',
3879
+ },
3859
3880
  ],
3860
3881
  },
3861
3882
  type: 'array',
@@ -14949,6 +14970,7 @@ const openapi = {
14949
14970
  'x-variant-group-key': 'access_codes',
14950
14971
  },
14951
14972
  {
14973
+ deprecated: true,
14952
14974
  description: 'Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.',
14953
14975
  properties: {
14954
14976
  created_at: {
@@ -14968,6 +14990,29 @@ const openapi = {
14968
14990
  },
14969
14991
  required: ['message', 'created_at', 'warning_code'],
14970
14992
  type: 'object',
14993
+ 'x-deprecated': 'Use `privacy_mode` instead.',
14994
+ 'x-variant-group-key': 'access_codes',
14995
+ },
14996
+ {
14997
+ description: 'Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.',
14998
+ properties: {
14999
+ created_at: {
15000
+ description: 'Date and time at which Seam created the warning.',
15001
+ format: 'date-time',
15002
+ type: 'string',
15003
+ },
15004
+ message: {
15005
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
15006
+ type: 'string',
15007
+ },
15008
+ warning_code: {
15009
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
15010
+ enum: ['privacy_mode'],
15011
+ type: 'string',
15012
+ },
15013
+ },
15014
+ required: ['message', 'created_at', 'warning_code'],
15015
+ type: 'object',
14971
15016
  'x-variant-group-key': 'access_codes',
14972
15017
  },
14973
15018
  {
@@ -23419,6 +23464,29 @@ const openapi = {
23419
23464
  format: 'date-time',
23420
23465
  type: 'string',
23421
23466
  },
23467
+ reason: {
23468
+ description: 'Why access was denied, when the provider reports a determinable cause. Omitted when unknown.',
23469
+ properties: {
23470
+ message: {
23471
+ description: 'Human-readable explanation of why access was denied.',
23472
+ type: 'string',
23473
+ },
23474
+ reason_code: {
23475
+ description: 'Normalized reason a lock denied access. Provider-agnostic; not all providers report every value.',
23476
+ enum: [
23477
+ 'unknown_code',
23478
+ 'expired_code',
23479
+ 'blocklisted_code',
23480
+ 'too_many_attempts',
23481
+ 'blocked_by_privacy_mode',
23482
+ 'credential_error',
23483
+ ],
23484
+ type: 'string',
23485
+ },
23486
+ },
23487
+ required: ['reason_code', 'message'],
23488
+ type: 'object',
23489
+ },
23422
23490
  user_identity_id: {
23423
23491
  description: '\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ',
23424
23492
  format: 'uuid',
@@ -25401,7 +25469,7 @@ const openapi = {
25401
25469
  type: 'object',
25402
25470
  },
25403
25471
  {
25404
- description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
25472
+ description: 'deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
25405
25473
  properties: {
25406
25474
  created_at: {
25407
25475
  description: 'Date and time at which Seam created the warning.',
@@ -25425,6 +25493,31 @@ const openapi = {
25425
25493
  ],
25426
25494
  type: 'object',
25427
25495
  },
25496
+ {
25497
+ description: 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
25498
+ properties: {
25499
+ created_at: {
25500
+ description: 'Date and time at which Seam created the warning.',
25501
+ format: 'date-time',
25502
+ type: 'string',
25503
+ },
25504
+ message: {
25505
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
25506
+ type: 'string',
25507
+ },
25508
+ warning_code: {
25509
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
25510
+ enum: ['privacy_mode'],
25511
+ type: 'string',
25512
+ },
25513
+ },
25514
+ required: [
25515
+ 'created_at',
25516
+ 'message',
25517
+ 'warning_code',
25518
+ ],
25519
+ type: 'object',
25520
+ },
25428
25521
  ],
25429
25522
  },
25430
25523
  type: 'array',
@@ -30440,6 +30533,7 @@ const openapi = {
30440
30533
  'x-variant-group-key': 'access_codes',
30441
30534
  },
30442
30535
  {
30536
+ deprecated: true,
30443
30537
  description: 'Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.',
30444
30538
  properties: {
30445
30539
  created_at: {
@@ -30459,6 +30553,29 @@ const openapi = {
30459
30553
  },
30460
30554
  required: ['message', 'created_at', 'warning_code'],
30461
30555
  type: 'object',
30556
+ 'x-deprecated': 'Use `privacy_mode` instead.',
30557
+ 'x-variant-group-key': 'access_codes',
30558
+ },
30559
+ {
30560
+ description: 'Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.',
30561
+ properties: {
30562
+ created_at: {
30563
+ description: 'Date and time at which Seam created the warning.',
30564
+ format: 'date-time',
30565
+ type: 'string',
30566
+ },
30567
+ message: {
30568
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
30569
+ type: 'string',
30570
+ },
30571
+ warning_code: {
30572
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30573
+ enum: ['privacy_mode'],
30574
+ type: 'string',
30575
+ },
30576
+ },
30577
+ required: ['message', 'created_at', 'warning_code'],
30578
+ type: 'object',
30462
30579
  'x-variant-group-key': 'access_codes',
30463
30580
  },
30464
30581
  {