@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
@@ -4343,7 +4343,7 @@ const openapi: OpenAPISpec = {
4343
4343
  },
4344
4344
  {
4345
4345
  description:
4346
- '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.',
4346
+ '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.',
4347
4347
  properties: {
4348
4348
  created_at: {
4349
4349
  description:
@@ -4366,6 +4366,31 @@ const openapi: OpenAPISpec = {
4366
4366
  required: ['created_at', 'message', 'warning_code'],
4367
4367
  type: 'object',
4368
4368
  },
4369
+ {
4370
+ description:
4371
+ '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.',
4372
+ properties: {
4373
+ created_at: {
4374
+ description:
4375
+ 'Date and time at which Seam created the warning.',
4376
+ format: 'date-time',
4377
+ type: 'string',
4378
+ },
4379
+ message: {
4380
+ description:
4381
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
4382
+ type: 'string',
4383
+ },
4384
+ warning_code: {
4385
+ description:
4386
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4387
+ enum: ['privacy_mode'],
4388
+ type: 'string',
4389
+ },
4390
+ },
4391
+ required: ['created_at', 'message', 'warning_code'],
4392
+ type: 'object',
4393
+ },
4369
4394
  ],
4370
4395
  },
4371
4396
  type: 'array',
@@ -16872,6 +16897,7 @@ const openapi: OpenAPISpec = {
16872
16897
  'x-variant-group-key': 'access_codes',
16873
16898
  },
16874
16899
  {
16900
+ deprecated: true,
16875
16901
  description:
16876
16902
  'Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.',
16877
16903
  properties: {
@@ -16895,6 +16921,33 @@ const openapi: OpenAPISpec = {
16895
16921
  },
16896
16922
  required: ['message', 'created_at', 'warning_code'],
16897
16923
  type: 'object',
16924
+ 'x-deprecated': 'Use `privacy_mode` instead.',
16925
+ 'x-variant-group-key': 'access_codes',
16926
+ },
16927
+ {
16928
+ description:
16929
+ 'Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.',
16930
+ properties: {
16931
+ created_at: {
16932
+ description:
16933
+ 'Date and time at which Seam created the warning.',
16934
+ format: 'date-time',
16935
+ type: 'string',
16936
+ },
16937
+ message: {
16938
+ description:
16939
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
16940
+ type: 'string',
16941
+ },
16942
+ warning_code: {
16943
+ description:
16944
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
16945
+ enum: ['privacy_mode'],
16946
+ type: 'string',
16947
+ },
16948
+ },
16949
+ required: ['message', 'created_at', 'warning_code'],
16950
+ type: 'object',
16898
16951
  'x-variant-group-key': 'access_codes',
16899
16952
  },
16900
16953
  {
@@ -26111,6 +26164,32 @@ const openapi: OpenAPISpec = {
26111
26164
  format: 'date-time',
26112
26165
  type: 'string',
26113
26166
  },
26167
+ reason: {
26168
+ description:
26169
+ 'Why access was denied, when the provider reports a determinable cause. Omitted when unknown.',
26170
+ properties: {
26171
+ message: {
26172
+ description:
26173
+ 'Human-readable explanation of why access was denied.',
26174
+ type: 'string',
26175
+ },
26176
+ reason_code: {
26177
+ description:
26178
+ 'Normalized reason a lock denied access. Provider-agnostic; not all providers report every value.',
26179
+ enum: [
26180
+ 'unknown_code',
26181
+ 'expired_code',
26182
+ 'blocklisted_code',
26183
+ 'too_many_attempts',
26184
+ 'blocked_by_privacy_mode',
26185
+ 'credential_error',
26186
+ ],
26187
+ type: 'string',
26188
+ },
26189
+ },
26190
+ required: ['reason_code', 'message'],
26191
+ type: 'object',
26192
+ },
26114
26193
  user_identity_id: {
26115
26194
  description:
26116
26195
  '\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ',
@@ -28297,7 +28376,7 @@ const openapi: OpenAPISpec = {
28297
28376
  },
28298
28377
  {
28299
28378
  description:
28300
- '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.',
28379
+ '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.',
28301
28380
  properties: {
28302
28381
  created_at: {
28303
28382
  description:
@@ -28324,6 +28403,35 @@ const openapi: OpenAPISpec = {
28324
28403
  ],
28325
28404
  type: 'object',
28326
28405
  },
28406
+ {
28407
+ description:
28408
+ '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.',
28409
+ properties: {
28410
+ created_at: {
28411
+ description:
28412
+ 'Date and time at which Seam created the warning.',
28413
+ format: 'date-time',
28414
+ type: 'string',
28415
+ },
28416
+ message: {
28417
+ description:
28418
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
28419
+ type: 'string',
28420
+ },
28421
+ warning_code: {
28422
+ description:
28423
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
28424
+ enum: ['privacy_mode'],
28425
+ type: 'string',
28426
+ },
28427
+ },
28428
+ required: [
28429
+ 'created_at',
28430
+ 'message',
28431
+ 'warning_code',
28432
+ ],
28433
+ type: 'object',
28434
+ },
28327
28435
  ],
28328
28436
  },
28329
28437
  type: 'array',
@@ -34008,6 +34116,7 @@ const openapi: OpenAPISpec = {
34008
34116
  'x-variant-group-key': 'access_codes',
34009
34117
  },
34010
34118
  {
34119
+ deprecated: true,
34011
34120
  description:
34012
34121
  'Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.',
34013
34122
  properties: {
@@ -34031,6 +34140,33 @@ const openapi: OpenAPISpec = {
34031
34140
  },
34032
34141
  required: ['message', 'created_at', 'warning_code'],
34033
34142
  type: 'object',
34143
+ 'x-deprecated': 'Use `privacy_mode` instead.',
34144
+ 'x-variant-group-key': 'access_codes',
34145
+ },
34146
+ {
34147
+ description:
34148
+ 'Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.',
34149
+ properties: {
34150
+ created_at: {
34151
+ description:
34152
+ 'Date and time at which Seam created the warning.',
34153
+ format: 'date-time',
34154
+ type: 'string',
34155
+ },
34156
+ message: {
34157
+ description:
34158
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
34159
+ type: 'string',
34160
+ },
34161
+ warning_code: {
34162
+ description:
34163
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
34164
+ enum: ['privacy_mode'],
34165
+ type: 'string',
34166
+ },
34167
+ },
34168
+ required: ['message', 'created_at', 'warning_code'],
34169
+ type: 'object',
34034
34170
  'x-variant-group-key': 'access_codes',
34035
34171
  },
34036
34172
  {