@seamapi/types 1.972.0 → 1.974.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
@@ -2289,6 +2289,7 @@ var PROVIDER_CATEGORY_MAP = {
2289
2289
  "sensi",
2290
2290
  "assa_abloy_vostio",
2291
2291
  "avigilon_alta",
2292
+ "kisi",
2292
2293
  "keynest",
2293
2294
  "hotek",
2294
2295
  "ultraloq",
@@ -2322,7 +2323,7 @@ var PROVIDER_CATEGORY_MAP = {
2322
2323
  "sifely",
2323
2324
  "thirty_three_lock"
2324
2325
  ],
2325
- beta: ["kisi", "salto_ks_accept"],
2326
+ beta: ["salto_ks_accept"],
2326
2327
  thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
2327
2328
  noise_sensors: ["minut", "noiseaware"],
2328
2329
  access_control_systems: [
@@ -6519,8 +6520,8 @@ var device_event_issue_properties = {
6519
6520
  device_errors: zod.z.array(common_event_error).describe("Errors associated with the device."),
6520
6521
  device_warnings: zod.z.array(common_event_warning).describe("Warnings associated with the device.")
6521
6522
  };
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."
6523
+ var lock_method = zod.z.enum(["keycode", "manual", "automatic", "unknown", "remote", "card"]).describe(
6524
+ "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
6525
  );
6525
6526
  var device_connected_event = device_event.extend({
6526
6527
  event_type: zod.z.literal("device.connected")
@@ -6738,6 +6739,26 @@ var lock_locked_event = device_event.extend({
6738
6739
  method: lock_method.describe(
6739
6740
  "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
6741
  ),
6742
+ user_identity_id: zod.z.string().uuid().optional().describe(`
6743
+ undocumented: Unreleased.
6744
+ ---
6745
+ ID of the user identity associated with the lock event.
6746
+ `),
6747
+ acs_system_id: zod.z.string().uuid().optional().describe(`
6748
+ undocumented: Unreleased.
6749
+ ---
6750
+ ID of the ACS system associated with the lock event.
6751
+ `),
6752
+ acs_user_id: zod.z.string().uuid().optional().describe(`
6753
+ undocumented: Unreleased.
6754
+ ---
6755
+ ID of the ACS user associated with the lock event.
6756
+ `),
6757
+ acs_entrance_id: zod.z.string().uuid().optional().describe(`
6758
+ undocumented: Unreleased.
6759
+ ---
6760
+ ID of the ACS entrance associated with the lock event.
6761
+ `),
6741
6762
  is_via_bluetooth: zod.z.boolean().optional().describe(`
6742
6763
  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
6764
  `),
@@ -30659,6 +30680,21 @@ var openapi = {
30659
30680
  description: "Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.",
30660
30681
  type: "boolean"
30661
30682
  },
30683
+ acs_entrance_id: {
30684
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the lock event.\n ",
30685
+ format: "uuid",
30686
+ type: "string"
30687
+ },
30688
+ acs_system_id: {
30689
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the lock event.\n ",
30690
+ format: "uuid",
30691
+ type: "string"
30692
+ },
30693
+ acs_user_id: {
30694
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the lock event.\n ",
30695
+ format: "uuid",
30696
+ type: "string"
30697
+ },
30662
30698
  action_attempt_id: {
30663
30699
  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
30700
  format: "uuid",
@@ -30721,7 +30757,14 @@ var openapi = {
30721
30757
  },
30722
30758
  method: {
30723
30759
  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"],
30760
+ enum: [
30761
+ "keycode",
30762
+ "manual",
30763
+ "automatic",
30764
+ "unknown",
30765
+ "remote",
30766
+ "card"
30767
+ ],
30725
30768
  type: "string"
30726
30769
  },
30727
30770
  occurred_at: {
@@ -30729,6 +30772,11 @@ var openapi = {
30729
30772
  format: "date-time",
30730
30773
  type: "string"
30731
30774
  },
30775
+ user_identity_id: {
30776
+ description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the lock event.\n ",
30777
+ format: "uuid",
30778
+ type: "string"
30779
+ },
30732
30780
  workspace_id: {
30733
30781
  description: "ID of the workspace associated with the event.",
30734
30782
  format: "uuid",
@@ -30837,7 +30885,14 @@ var openapi = {
30837
30885
  },
30838
30886
  method: {
30839
30887
  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"],
30888
+ enum: [
30889
+ "keycode",
30890
+ "manual",
30891
+ "automatic",
30892
+ "unknown",
30893
+ "remote",
30894
+ "card"
30895
+ ],
30841
30896
  type: "string"
30842
30897
  },
30843
30898
  occurred_at: {