@seamapi/types 1.971.0 → 1.973.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
@@ -6519,8 +6519,8 @@ var device_event_issue_properties = {
6519
6519
  device_errors: zod.z.array(common_event_error).describe("Errors associated with the device."),
6520
6520
  device_warnings: zod.z.array(common_event_warning).describe("Warnings associated with the device.")
6521
6521
  };
6522
- var lock_method = zod.z.enum(["keycode", "manual", "automatic", "unknown", "remote"]).describe(
6523
- "Method by which the affected lock device was locked or unlocked. `keycode`: locked or unlocked using an access code (see `access_code_id`). `manual`: a direct physical action, such as turning a thumbturn or pressing a button. `remote`: a remote action initiated via an app, Bluetooth, or the Seam API (see `action_attempt_id` for Seam-initiated actions; see `is_via_bluetooth` or `is_via_nfc` for the specific transport). `automatic`: triggered automatically without user interaction, for example by an auto-relock timer. `unknown`: the method could not be determined from the provider event."
6522
+ var lock_method = zod.z.enum(["keycode", "manual", "automatic", "unknown", "remote", "card"]).describe(
6523
+ "Method by which the affected lock device was locked or unlocked. `keycode`: locked or unlocked using an access code (see `access_code_id`). `manual`: a direct physical action, such as turning a thumbturn or pressing a button. `remote`: a remote action initiated via an app, Bluetooth, or the Seam API (see `action_attempt_id` for Seam-initiated actions; see `is_via_bluetooth` or `is_via_nfc` for the specific transport). `automatic`: triggered automatically without user interaction, for example by an auto-relock timer. `card`: a physical credential (RFID card or NFC wallet pass) was presented at the reader. `unknown`: the method could not be determined from the provider event."
6524
6524
  );
6525
6525
  var device_connected_event = device_event.extend({
6526
6526
  event_type: zod.z.literal("device.connected")
@@ -6738,6 +6738,26 @@ var lock_locked_event = device_event.extend({
6738
6738
  method: lock_method.describe(
6739
6739
  "Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined."
6740
6740
  ),
6741
+ user_identity_id: zod.z.string().uuid().optional().describe(`
6742
+ undocumented: Unreleased.
6743
+ ---
6744
+ ID of the user identity associated with the lock event.
6745
+ `),
6746
+ acs_system_id: zod.z.string().uuid().optional().describe(`
6747
+ undocumented: Unreleased.
6748
+ ---
6749
+ ID of the ACS system associated with the lock event.
6750
+ `),
6751
+ acs_user_id: zod.z.string().uuid().optional().describe(`
6752
+ undocumented: Unreleased.
6753
+ ---
6754
+ ID of the ACS user associated with the lock event.
6755
+ `),
6756
+ acs_entrance_id: zod.z.string().uuid().optional().describe(`
6757
+ undocumented: Unreleased.
6758
+ ---
6759
+ ID of the ACS entrance associated with the lock event.
6760
+ `),
6741
6761
  is_via_bluetooth: zod.z.boolean().optional().describe(`
6742
6762
  Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
6743
6763
  `),
@@ -30659,6 +30679,21 @@ var openapi = {
30659
30679
  description: "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.",
30660
30680
  type: "boolean"
30661
30681
  },
30682
+ acs_entrance_id: {
30683
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the lock event.\n ",
30684
+ format: "uuid",
30685
+ type: "string"
30686
+ },
30687
+ acs_system_id: {
30688
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the lock event.\n ",
30689
+ format: "uuid",
30690
+ type: "string"
30691
+ },
30692
+ acs_user_id: {
30693
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the lock event.\n ",
30694
+ format: "uuid",
30695
+ type: "string"
30696
+ },
30662
30697
  action_attempt_id: {
30663
30698
  description: "ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt).",
30664
30699
  format: "uuid",
@@ -30721,7 +30756,14 @@ var openapi = {
30721
30756
  },
30722
30757
  method: {
30723
30758
  description: "Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined.",
30724
- enum: ["keycode", "manual", "automatic", "unknown", "remote"],
30759
+ enum: [
30760
+ "keycode",
30761
+ "manual",
30762
+ "automatic",
30763
+ "unknown",
30764
+ "remote",
30765
+ "card"
30766
+ ],
30725
30767
  type: "string"
30726
30768
  },
30727
30769
  occurred_at: {
@@ -30729,6 +30771,11 @@ var openapi = {
30729
30771
  format: "date-time",
30730
30772
  type: "string"
30731
30773
  },
30774
+ user_identity_id: {
30775
+ description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the lock event.\n ",
30776
+ format: "uuid",
30777
+ type: "string"
30778
+ },
30732
30779
  workspace_id: {
30733
30780
  description: "ID of the workspace associated with the event.",
30734
30781
  format: "uuid",
@@ -30837,7 +30884,14 @@ var openapi = {
30837
30884
  },
30838
30885
  method: {
30839
30886
  description: "Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined.",
30840
- enum: ["keycode", "manual", "automatic", "unknown", "remote"],
30887
+ enum: [
30888
+ "keycode",
30889
+ "manual",
30890
+ "automatic",
30891
+ "unknown",
30892
+ "remote",
30893
+ "card"
30894
+ ],
30841
30895
  type: "string"
30842
30896
  },
30843
30897
  occurred_at: {