@seamapi/types 1.502.0 → 1.503.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
@@ -2112,6 +2112,9 @@ zod.z.object({
2112
2112
  kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable()
2113
2113
  });
2114
2114
  var access_code = zod.z.object({
2115
+ workspace_id: zod.z.string().uuid().describe(
2116
+ "Unique identifier for the Seam workspace associated with the access code."
2117
+ ),
2115
2118
  common_code_key: zod.z.string().nullable().describe(
2116
2119
  "Unique identifier for a group of access codes that share the same code."
2117
2120
  ),
@@ -2219,6 +2222,7 @@ var access_code = zod.z.object({
2219
2222
  In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection\u2014and you do not need to be near the locks\u2014to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
2220
2223
  `);
2221
2224
  var unmanaged_access_code = access_code.pick({
2225
+ workspace_id: true,
2222
2226
  type: true,
2223
2227
  access_code_id: true,
2224
2228
  device_id: true,
@@ -7075,9 +7079,15 @@ var openapi_default = {
7075
7079
  provider_metadata: { name: "Provider Metadata" },
7076
7080
  thermostats: { name: "Thermostats" }
7077
7081
  }
7082
+ },
7083
+ workspace_id: {
7084
+ description: "Unique identifier for the Seam workspace associated with the access code.",
7085
+ format: "uuid",
7086
+ type: "string"
7078
7087
  }
7079
7088
  },
7080
7089
  required: [
7090
+ "workspace_id",
7081
7091
  "common_code_key",
7082
7092
  "type",
7083
7093
  "access_code_id",
@@ -25490,9 +25500,15 @@ var openapi_default = {
25490
25500
  provider_metadata: { name: "Provider Metadata" },
25491
25501
  thermostats: { name: "Thermostats" }
25492
25502
  }
25503
+ },
25504
+ workspace_id: {
25505
+ description: "Unique identifier for the Seam workspace associated with the access code.",
25506
+ format: "uuid",
25507
+ type: "string"
25493
25508
  }
25494
25509
  },
25495
25510
  required: [
25511
+ "workspace_id",
25496
25512
  "type",
25497
25513
  "access_code_id",
25498
25514
  "device_id",