@seamapi/types 1.242.1 → 1.243.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
@@ -561,7 +561,21 @@ var device_metadata = zod.z.object({
561
561
  ttlock_metadata: zod.z.object({
562
562
  lock_id: zod.z.number(),
563
563
  lock_alias: zod.z.string(),
564
- feature_value: zod.z.string()
564
+ feature_value: zod.z.string(),
565
+ features: zod.z.object({
566
+ passcode: zod.z.boolean(),
567
+ passcode_management: zod.z.boolean(),
568
+ unlock_via_gateway: zod.z.boolean(),
569
+ lock_command: zod.z.boolean(),
570
+ incomplete_keyboard_passcode: zod.z.boolean()
571
+ }),
572
+ has_gateway: zod.z.boolean().optional(),
573
+ wireless_keypads: zod.z.array(
574
+ zod.z.object({
575
+ wireless_keypad_id: zod.z.number(),
576
+ wireless_keypad_name: zod.z.string()
577
+ })
578
+ ).optional()
565
579
  }),
566
580
  seam_bridge_metadata: zod.z.object({
567
581
  unlock_method: zod.z.enum(["bridge", "doorking"]).optional(),
@@ -5340,10 +5354,50 @@ var openapi_default = {
5340
5354
  ttlock_metadata: {
5341
5355
  properties: {
5342
5356
  feature_value: { type: "string" },
5357
+ features: {
5358
+ properties: {
5359
+ incomplete_keyboard_passcode: { type: "boolean" },
5360
+ lock_command: { type: "boolean" },
5361
+ passcode: { type: "boolean" },
5362
+ passcode_management: { type: "boolean" },
5363
+ unlock_via_gateway: { type: "boolean" }
5364
+ },
5365
+ required: [
5366
+ "passcode",
5367
+ "passcode_management",
5368
+ "unlock_via_gateway",
5369
+ "lock_command",
5370
+ "incomplete_keyboard_passcode"
5371
+ ],
5372
+ type: "object"
5373
+ },
5374
+ has_gateway: { type: "boolean" },
5343
5375
  lock_alias: { type: "string" },
5344
- lock_id: { format: "float", type: "number" }
5376
+ lock_id: { format: "float", type: "number" },
5377
+ wireless_keypads: {
5378
+ items: {
5379
+ properties: {
5380
+ wireless_keypad_id: {
5381
+ format: "float",
5382
+ type: "number"
5383
+ },
5384
+ wireless_keypad_name: { type: "string" }
5385
+ },
5386
+ required: [
5387
+ "wireless_keypad_id",
5388
+ "wireless_keypad_name"
5389
+ ],
5390
+ type: "object"
5391
+ },
5392
+ type: "array"
5393
+ }
5345
5394
  },
5346
- required: ["lock_id", "lock_alias", "feature_value"],
5395
+ required: [
5396
+ "lock_id",
5397
+ "lock_alias",
5398
+ "feature_value",
5399
+ "features"
5400
+ ],
5347
5401
  type: "object"
5348
5402
  },
5349
5403
  two_n_metadata: {