@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.
package/dist/connect.cjs CHANGED
@@ -45,6 +45,8 @@ var openapi_default = {
45
45
  is_backup_access_code_available: { type: "boolean" },
46
46
  is_external_modification_allowed: { type: "boolean" },
47
47
  is_managed: { enum: [true], type: "boolean" },
48
+ is_offline_access_code: { type: "boolean" },
49
+ is_one_time_use: { type: "boolean" },
48
50
  is_scheduled_on_device: { type: "boolean" },
49
51
  is_waiting_for_code_assignment: { type: "boolean" },
50
52
  name: { nullable: true, type: "string" },
@@ -72,7 +74,9 @@ var openapi_default = {
72
74
  "is_managed",
73
75
  "status",
74
76
  "is_backup_access_code_available",
75
- "is_external_modification_allowed"
77
+ "is_external_modification_allowed",
78
+ "is_one_time_use",
79
+ "is_offline_access_code"
76
80
  ],
77
81
  type: "object"
78
82
  },
@@ -616,12 +620,7 @@ var openapi_default = {
616
620
  device_id: { type: "string" },
617
621
  device_name: { type: "string" }
618
622
  },
619
- required: [
620
- "device_id",
621
- "bridge_id",
622
- "device_name",
623
- "bridge_name"
624
- ],
623
+ required: ["device_id", "device_name"],
625
624
  type: "object"
626
625
  },
627
626
  kwikset_metadata: {
@@ -5915,6 +5914,8 @@ var openapi_default = {
5915
5914
  "device.salto.privacy_mode_deactivated",
5916
5915
  "device.connection_became_flaky",
5917
5916
  "device.connection_stabilized",
5917
+ "device.error.subscription_required",
5918
+ "device.error.subscription_required.resolved",
5918
5919
  "access_code.created",
5919
5920
  "access_code.changed",
5920
5921
  "access_code.scheduled_on_device",
@@ -5963,6 +5964,8 @@ var openapi_default = {
5963
5964
  "device.salto.privacy_mode_deactivated",
5964
5965
  "device.connection_became_flaky",
5965
5966
  "device.connection_stabilized",
5967
+ "device.error.subscription_required",
5968
+ "device.error.subscription_required.resolved",
5966
5969
  "access_code.created",
5967
5970
  "access_code.changed",
5968
5971
  "access_code.scheduled_on_device",
@@ -6221,11 +6224,11 @@ var openapi_default = {
6221
6224
  "application/json": {
6222
6225
  schema: {
6223
6226
  properties: {
6224
- device: { nullable: true },
6225
- lock: { nullable: true },
6227
+ device: { $ref: "#/components/schemas/device" },
6228
+ lock: { $ref: "#/components/schemas/device" },
6226
6229
  ok: { type: "boolean" }
6227
6230
  },
6228
- required: ["ok"],
6231
+ required: ["lock", "device", "ok"],
6229
6232
  type: "object"
6230
6233
  }
6231
6234
  }
@@ -6412,11 +6415,17 @@ var openapi_default = {
6412
6415
  "application/json": {
6413
6416
  schema: {
6414
6417
  properties: {
6415
- devices: { nullable: true },
6416
- locks: { nullable: true },
6418
+ devices: {
6419
+ items: { $ref: "#/components/schemas/device" },
6420
+ type: "array"
6421
+ },
6422
+ locks: {
6423
+ items: { $ref: "#/components/schemas/device" },
6424
+ type: "array"
6425
+ },
6417
6426
  ok: { type: "boolean" }
6418
6427
  },
6419
- required: ["ok"],
6428
+ required: ["locks", "devices", "ok"],
6420
6429
  type: "object"
6421
6430
  }
6422
6431
  }