@seamapi/types 1.41.1 → 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.
@@ -44,6 +44,12 @@ declare const _default: {
44
44
  enum: boolean[];
45
45
  type: string;
46
46
  };
47
+ is_offline_access_code: {
48
+ type: string;
49
+ };
50
+ is_one_time_use: {
51
+ type: string;
52
+ };
47
53
  is_scheduled_on_device: {
48
54
  type: string;
49
55
  };
@@ -8603,10 +8609,10 @@ declare const _default: {
8603
8609
  schema: {
8604
8610
  properties: {
8605
8611
  device: {
8606
- nullable: boolean;
8612
+ $ref: string;
8607
8613
  };
8608
8614
  lock: {
8609
- nullable: boolean;
8615
+ $ref: string;
8610
8616
  };
8611
8617
  ok: {
8612
8618
  type: string;
@@ -8725,10 +8731,16 @@ declare const _default: {
8725
8731
  schema: {
8726
8732
  properties: {
8727
8733
  devices: {
8728
- nullable: boolean;
8734
+ items: {
8735
+ $ref: string;
8736
+ };
8737
+ type: string;
8729
8738
  };
8730
8739
  locks: {
8731
- nullable: boolean;
8740
+ items: {
8741
+ $ref: string;
8742
+ };
8743
+ type: string;
8732
8744
  };
8733
8745
  ok: {
8734
8746
  type: string;
@@ -14,6 +14,8 @@ export default {
14
14
  is_backup_access_code_available: { type: 'boolean' },
15
15
  is_external_modification_allowed: { type: 'boolean' },
16
16
  is_managed: { enum: [true], type: 'boolean' },
17
+ is_offline_access_code: { type: 'boolean' },
18
+ is_one_time_use: { type: 'boolean' },
17
19
  is_scheduled_on_device: { type: 'boolean' },
18
20
  is_waiting_for_code_assignment: { type: 'boolean' },
19
21
  name: { nullable: true, type: 'string' },
@@ -42,6 +44,8 @@ export default {
42
44
  'status',
43
45
  'is_backup_access_code_available',
44
46
  'is_external_modification_allowed',
47
+ 'is_one_time_use',
48
+ 'is_offline_access_code',
45
49
  ],
46
50
  type: 'object',
47
51
  },
@@ -585,12 +589,7 @@ export default {
585
589
  device_id: { type: 'string' },
586
590
  device_name: { type: 'string' },
587
591
  },
588
- required: [
589
- 'device_id',
590
- 'bridge_id',
591
- 'device_name',
592
- 'bridge_name',
593
- ],
592
+ required: ['device_id', 'device_name'],
594
593
  type: 'object',
595
594
  },
596
595
  kwikset_metadata: {
@@ -5884,6 +5883,8 @@ export default {
5884
5883
  'device.salto.privacy_mode_deactivated',
5885
5884
  'device.connection_became_flaky',
5886
5885
  'device.connection_stabilized',
5886
+ 'device.error.subscription_required',
5887
+ 'device.error.subscription_required.resolved',
5887
5888
  'access_code.created',
5888
5889
  'access_code.changed',
5889
5890
  'access_code.scheduled_on_device',
@@ -5932,6 +5933,8 @@ export default {
5932
5933
  'device.salto.privacy_mode_deactivated',
5933
5934
  'device.connection_became_flaky',
5934
5935
  'device.connection_stabilized',
5936
+ 'device.error.subscription_required',
5937
+ 'device.error.subscription_required.resolved',
5935
5938
  'access_code.created',
5936
5939
  'access_code.changed',
5937
5940
  'access_code.scheduled_on_device',
@@ -6190,11 +6193,11 @@ export default {
6190
6193
  'application/json': {
6191
6194
  schema: {
6192
6195
  properties: {
6193
- device: { nullable: true },
6194
- lock: { nullable: true },
6196
+ device: { $ref: '#/components/schemas/device' },
6197
+ lock: { $ref: '#/components/schemas/device' },
6195
6198
  ok: { type: 'boolean' },
6196
6199
  },
6197
- required: ['ok'],
6200
+ required: ['lock', 'device', 'ok'],
6198
6201
  type: 'object',
6199
6202
  },
6200
6203
  },
@@ -6381,11 +6384,17 @@ export default {
6381
6384
  'application/json': {
6382
6385
  schema: {
6383
6386
  properties: {
6384
- devices: { nullable: true },
6385
- locks: { nullable: true },
6387
+ devices: {
6388
+ items: { $ref: '#/components/schemas/device' },
6389
+ type: 'array',
6390
+ },
6391
+ locks: {
6392
+ items: { $ref: '#/components/schemas/device' },
6393
+ type: 'array',
6394
+ },
6386
6395
  ok: { type: 'boolean' },
6387
6396
  },
6388
- required: ['ok'],
6397
+ required: ['locks', 'devices', 'ok'],
6389
6398
  type: 'object',
6390
6399
  },
6391
6400
  },