@seamapi/types 1.692.0 → 1.694.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
@@ -1435,8 +1435,8 @@ var unknown_issue_with_phone = common_device_warning.extend({
1435
1435
  ---
1436
1436
  Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
1437
1437
  `);
1438
- var hub_required_for_addtional_capabilities = common_device_warning.extend({
1439
- warning_code: zod.z.literal("hub_required_for_addtional_capabilities").describe(warning_code_description2)
1438
+ var hub_required_for_additional_capabilities = common_device_warning.extend({
1439
+ warning_code: zod.z.literal("hub_required_for_additional_capabilities").describe(warning_code_description2)
1440
1440
  }).describe(`
1441
1441
  ---
1442
1442
  variant_group_key: locks
@@ -1477,7 +1477,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1477
1477
  unknown_issue_with_phone,
1478
1478
  lockly_time_zone_not_configured,
1479
1479
  ultraloq_time_zone_unknown,
1480
- hub_required_for_addtional_capabilities,
1480
+ hub_required_for_additional_capabilities,
1481
1481
  keynest_unsupported_locker,
1482
1482
  accessory_keypad_setup_required
1483
1483
  ]);
@@ -1502,7 +1502,7 @@ zod.z.object({
1502
1502
  unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
1503
1503
  lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
1504
1504
  ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
1505
- hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable(),
1505
+ hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional().nullable(),
1506
1506
  keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
1507
1507
  accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable()
1508
1508
  });
@@ -5183,6 +5183,9 @@ var noise_sensor_noise_threshold_triggered_event = device_event.extend(
5183
5183
  var lock_locked_event = device_event.extend({
5184
5184
  event_type: zod.z.literal("lock.locked"),
5185
5185
  access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used to lock the device."),
5186
+ access_code_is_managed: zod.z.boolean().optional().describe(
5187
+ "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set."
5188
+ ),
5186
5189
  action_attempt_id: zod.z.string().uuid().optional().describe("ID of the action attempt associated with the lock action."),
5187
5190
  method: lock_method.describe(
5188
5191
  "Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device."
@@ -5198,6 +5201,9 @@ var lock_unlocked_event = device_event.extend({
5198
5201
  access_code_id: zod.z.string().uuid().optional().describe(
5199
5202
  "ID of the access code that was used to unlock the affected device."
5200
5203
  ),
5204
+ access_code_is_managed: zod.z.boolean().optional().describe(
5205
+ "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set."
5206
+ ),
5201
5207
  action_attempt_id: zod.z.string().uuid().optional().describe("ID of the action attempt associated with the unlock action."),
5202
5208
  method: lock_method.describe(
5203
5209
  "Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device."
@@ -17815,7 +17821,7 @@ var openapi_default = {
17815
17821
  },
17816
17822
  warning_code: {
17817
17823
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
17818
- enum: ["hub_required_for_addtional_capabilities"],
17824
+ enum: ["hub_required_for_additional_capabilities"],
17819
17825
  type: "string"
17820
17826
  }
17821
17827
  },
@@ -22844,6 +22850,10 @@ var openapi_default = {
22844
22850
  format: "uuid",
22845
22851
  type: "string"
22846
22852
  },
22853
+ access_code_is_managed: {
22854
+ description: "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.",
22855
+ type: "boolean"
22856
+ },
22847
22857
  action_attempt_id: {
22848
22858
  description: "ID of the action attempt associated with the lock action.",
22849
22859
  format: "uuid",
@@ -22921,6 +22931,10 @@ var openapi_default = {
22921
22931
  format: "uuid",
22922
22932
  type: "string"
22923
22933
  },
22934
+ access_code_is_managed: {
22935
+ description: "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.",
22936
+ type: "boolean"
22937
+ },
22924
22938
  acs_entrance_id: {
22925
22939
  description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ",
22926
22940
  format: "uuid",
@@ -29267,7 +29281,7 @@ var openapi_default = {
29267
29281
  },
29268
29282
  warning_code: {
29269
29283
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
29270
- enum: ["hub_required_for_addtional_capabilities"],
29284
+ enum: ["hub_required_for_additional_capabilities"],
29271
29285
  type: "string"
29272
29286
  }
29273
29287
  },
@@ -56208,11 +56222,7 @@ var openapi_default = {
56208
56222
  type: "string"
56209
56223
  }
56210
56224
  },
56211
- required: [
56212
- "connector_id",
56213
- "connector_customer_id",
56214
- "unique_provider_resource_key"
56215
- ],
56225
+ required: ["connector_id"],
56216
56226
  type: "object"
56217
56227
  }
56218
56228
  }