@seamapi/types 1.42.0 → 1.42.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.42.0",
3
+ "version": "1.42.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -5885,6 +5885,8 @@ export default {
5885
5885
  'device.salto.privacy_mode_deactivated',
5886
5886
  'device.connection_became_flaky',
5887
5887
  'device.connection_stabilized',
5888
+ 'device.error.subscription_required',
5889
+ 'device.error.subscription_required.resolved',
5888
5890
  'access_code.created',
5889
5891
  'access_code.changed',
5890
5892
  'access_code.scheduled_on_device',
@@ -5933,6 +5935,8 @@ export default {
5933
5935
  'device.salto.privacy_mode_deactivated',
5934
5936
  'device.connection_became_flaky',
5935
5937
  'device.connection_stabilized',
5938
+ 'device.error.subscription_required',
5939
+ 'device.error.subscription_required.resolved',
5936
5940
  'access_code.created',
5937
5941
  'access_code.changed',
5938
5942
  'access_code.scheduled_on_device',
@@ -6191,11 +6195,11 @@ export default {
6191
6195
  'application/json': {
6192
6196
  schema: {
6193
6197
  properties: {
6194
- device: { nullable: true },
6195
- lock: { nullable: true },
6198
+ device: { $ref: '#/components/schemas/device' },
6199
+ lock: { $ref: '#/components/schemas/device' },
6196
6200
  ok: { type: 'boolean' },
6197
6201
  },
6198
- required: ['ok'],
6202
+ required: ['lock', 'device', 'ok'],
6199
6203
  type: 'object',
6200
6204
  },
6201
6205
  },
@@ -6383,11 +6387,17 @@ export default {
6383
6387
  'application/json': {
6384
6388
  schema: {
6385
6389
  properties: {
6386
- devices: { nullable: true },
6387
- locks: { nullable: true },
6390
+ devices: {
6391
+ items: { $ref: '#/components/schemas/device' },
6392
+ type: 'array',
6393
+ },
6394
+ locks: {
6395
+ items: { $ref: '#/components/schemas/device' },
6396
+ type: 'array',
6397
+ },
6388
6398
  ok: { type: 'boolean' },
6389
6399
  },
6390
- required: ['ok'],
6400
+ required: ['locks', 'devices', 'ok'],
6391
6401
  type: 'object',
6392
6402
  },
6393
6403
  },