@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.
package/dist/connect.cjs CHANGED
@@ -482,17 +482,34 @@ var openapi_default = {
482
482
  manufacturer: { type: "string" },
483
483
  model: {
484
484
  properties: {
485
+ access_codes_supported: { type: "boolean" },
486
+ accessory_keypad_supported: { type: "boolean" },
485
487
  display_name: { type: "string" },
486
- manufacturer_display_name: { type: "string" }
488
+ manufacturer_display_name: { type: "string" },
489
+ offline_access_codes_supported: { type: "boolean" }
487
490
  },
488
491
  required: ["display_name", "manufacturer_display_name"],
489
492
  type: "object"
490
493
  },
491
494
  name: { type: "string" },
495
+ offline_access_codes_enabled: {
496
+ description: "Currently possible to use offline access codes",
497
+ type: "boolean"
498
+ },
492
499
  online: { type: "boolean" },
500
+ online_access_codes_enabled: {
501
+ description: "Currently possible to use online access codes",
502
+ type: "boolean"
503
+ },
493
504
  serial_number: { type: "string" },
494
- supports_accessory_keypad: { type: "boolean" },
495
- supports_offline_access_codes: { type: "boolean" }
505
+ supports_accessory_keypad: {
506
+ description: "Deprecated: use model.offline_access_codes_enabled.",
507
+ type: "boolean"
508
+ },
509
+ supports_offline_access_codes: {
510
+ description: "Deprecated: use model.accessory_keypad_supported.",
511
+ type: "boolean"
512
+ }
496
513
  },
497
514
  required: ["online", "name", "model"],
498
515
  type: "object"
@@ -5914,6 +5931,8 @@ var openapi_default = {
5914
5931
  "device.salto.privacy_mode_deactivated",
5915
5932
  "device.connection_became_flaky",
5916
5933
  "device.connection_stabilized",
5934
+ "device.error.subscription_required",
5935
+ "device.error.subscription_required.resolved",
5917
5936
  "access_code.created",
5918
5937
  "access_code.changed",
5919
5938
  "access_code.scheduled_on_device",
@@ -5962,6 +5981,8 @@ var openapi_default = {
5962
5981
  "device.salto.privacy_mode_deactivated",
5963
5982
  "device.connection_became_flaky",
5964
5983
  "device.connection_stabilized",
5984
+ "device.error.subscription_required",
5985
+ "device.error.subscription_required.resolved",
5965
5986
  "access_code.created",
5966
5987
  "access_code.changed",
5967
5988
  "access_code.scheduled_on_device",
@@ -6220,11 +6241,11 @@ var openapi_default = {
6220
6241
  "application/json": {
6221
6242
  schema: {
6222
6243
  properties: {
6223
- device: { nullable: true },
6224
- lock: { nullable: true },
6244
+ device: { $ref: "#/components/schemas/device" },
6245
+ lock: { $ref: "#/components/schemas/device" },
6225
6246
  ok: { type: "boolean" }
6226
6247
  },
6227
- required: ["ok"],
6248
+ required: ["lock", "device", "ok"],
6228
6249
  type: "object"
6229
6250
  }
6230
6251
  }
@@ -6411,11 +6432,17 @@ var openapi_default = {
6411
6432
  "application/json": {
6412
6433
  schema: {
6413
6434
  properties: {
6414
- devices: { nullable: true },
6415
- locks: { nullable: true },
6435
+ devices: {
6436
+ items: { $ref: "#/components/schemas/device" },
6437
+ type: "array"
6438
+ },
6439
+ locks: {
6440
+ items: { $ref: "#/components/schemas/device" },
6441
+ type: "array"
6442
+ },
6416
6443
  ok: { type: "boolean" }
6417
6444
  },
6418
- required: ["ok"],
6445
+ required: ["locks", "devices", "ok"],
6419
6446
  type: "object"
6420
6447
  }
6421
6448
  }