@seamapi/types 1.42.0 → 1.43.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.
@@ -630,12 +630,21 @@ declare const _default: {
630
630
  };
631
631
  model: {
632
632
  properties: {
633
+ access_codes_supported: {
634
+ type: string;
635
+ };
636
+ accessory_keypad_supported: {
637
+ type: string;
638
+ };
633
639
  display_name: {
634
640
  type: string;
635
641
  };
636
642
  manufacturer_display_name: {
637
643
  type: string;
638
644
  };
645
+ offline_access_codes_supported: {
646
+ type: string;
647
+ };
639
648
  };
640
649
  required: string[];
641
650
  type: string;
@@ -643,16 +652,26 @@ declare const _default: {
643
652
  name: {
644
653
  type: string;
645
654
  };
655
+ offline_access_codes_enabled: {
656
+ description: string;
657
+ type: string;
658
+ };
646
659
  online: {
647
660
  type: string;
648
661
  };
662
+ online_access_codes_enabled: {
663
+ description: string;
664
+ type: string;
665
+ };
649
666
  serial_number: {
650
667
  type: string;
651
668
  };
652
669
  supports_accessory_keypad: {
670
+ description: string;
653
671
  type: string;
654
672
  };
655
673
  supports_offline_access_codes: {
674
+ description: string;
656
675
  type: string;
657
676
  };
658
677
  august_metadata?: never;
@@ -1160,7 +1179,9 @@ declare const _default: {
1160
1179
  manufacturer?: never;
1161
1180
  model?: never;
1162
1181
  name?: never;
1182
+ offline_access_codes_enabled?: never;
1163
1183
  online?: never;
1184
+ online_access_codes_enabled?: never;
1164
1185
  serial_number?: never;
1165
1186
  supports_accessory_keypad?: never;
1166
1187
  supports_offline_access_codes?: never;
@@ -8609,10 +8630,10 @@ declare const _default: {
8609
8630
  schema: {
8610
8631
  properties: {
8611
8632
  device: {
8612
- nullable: boolean;
8633
+ $ref: string;
8613
8634
  };
8614
8635
  lock: {
8615
- nullable: boolean;
8636
+ $ref: string;
8616
8637
  };
8617
8638
  ok: {
8618
8639
  type: string;
@@ -8731,10 +8752,16 @@ declare const _default: {
8731
8752
  schema: {
8732
8753
  properties: {
8733
8754
  devices: {
8734
- nullable: boolean;
8755
+ items: {
8756
+ $ref: string;
8757
+ };
8758
+ type: string;
8735
8759
  };
8736
8760
  locks: {
8737
- nullable: boolean;
8761
+ items: {
8762
+ $ref: string;
8763
+ };
8764
+ type: string;
8738
8765
  };
8739
8766
  ok: {
8740
8767
  type: string;
@@ -451,17 +451,34 @@ export default {
451
451
  manufacturer: { type: 'string' },
452
452
  model: {
453
453
  properties: {
454
+ access_codes_supported: { type: 'boolean' },
455
+ accessory_keypad_supported: { type: 'boolean' },
454
456
  display_name: { type: 'string' },
455
457
  manufacturer_display_name: { type: 'string' },
458
+ offline_access_codes_supported: { type: 'boolean' },
456
459
  },
457
460
  required: ['display_name', 'manufacturer_display_name'],
458
461
  type: 'object',
459
462
  },
460
463
  name: { type: 'string' },
464
+ offline_access_codes_enabled: {
465
+ description: 'Currently possible to use offline access codes',
466
+ type: 'boolean',
467
+ },
461
468
  online: { type: 'boolean' },
469
+ online_access_codes_enabled: {
470
+ description: 'Currently possible to use online access codes',
471
+ type: 'boolean',
472
+ },
462
473
  serial_number: { type: 'string' },
463
- supports_accessory_keypad: { type: 'boolean' },
464
- supports_offline_access_codes: { type: 'boolean' },
474
+ supports_accessory_keypad: {
475
+ description: 'Deprecated: use model.offline_access_codes_enabled.',
476
+ type: 'boolean',
477
+ },
478
+ supports_offline_access_codes: {
479
+ description: 'Deprecated: use model.accessory_keypad_supported.',
480
+ type: 'boolean',
481
+ },
465
482
  },
466
483
  required: ['online', 'name', 'model'],
467
484
  type: 'object',
@@ -5883,6 +5900,8 @@ export default {
5883
5900
  'device.salto.privacy_mode_deactivated',
5884
5901
  'device.connection_became_flaky',
5885
5902
  'device.connection_stabilized',
5903
+ 'device.error.subscription_required',
5904
+ 'device.error.subscription_required.resolved',
5886
5905
  'access_code.created',
5887
5906
  'access_code.changed',
5888
5907
  'access_code.scheduled_on_device',
@@ -5931,6 +5950,8 @@ export default {
5931
5950
  'device.salto.privacy_mode_deactivated',
5932
5951
  'device.connection_became_flaky',
5933
5952
  'device.connection_stabilized',
5953
+ 'device.error.subscription_required',
5954
+ 'device.error.subscription_required.resolved',
5934
5955
  'access_code.created',
5935
5956
  'access_code.changed',
5936
5957
  'access_code.scheduled_on_device',
@@ -6189,11 +6210,11 @@ export default {
6189
6210
  'application/json': {
6190
6211
  schema: {
6191
6212
  properties: {
6192
- device: { nullable: true },
6193
- lock: { nullable: true },
6213
+ device: { $ref: '#/components/schemas/device' },
6214
+ lock: { $ref: '#/components/schemas/device' },
6194
6215
  ok: { type: 'boolean' },
6195
6216
  },
6196
- required: ['ok'],
6217
+ required: ['lock', 'device', 'ok'],
6197
6218
  type: 'object',
6198
6219
  },
6199
6220
  },
@@ -6380,11 +6401,17 @@ export default {
6380
6401
  'application/json': {
6381
6402
  schema: {
6382
6403
  properties: {
6383
- devices: { nullable: true },
6384
- locks: { nullable: true },
6404
+ devices: {
6405
+ items: { $ref: '#/components/schemas/device' },
6406
+ type: 'array',
6407
+ },
6408
+ locks: {
6409
+ items: { $ref: '#/components/schemas/device' },
6410
+ type: 'array',
6411
+ },
6385
6412
  ok: { type: 'boolean' },
6386
6413
  },
6387
- required: ['ok'],
6414
+ required: ['locks', 'devices', 'ok'],
6388
6415
  type: 'object',
6389
6416
  },
6390
6417
  },