@seamapi/types 1.522.0 → 1.524.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/index.cjs CHANGED
@@ -1810,7 +1810,9 @@ var PROVIDER_CATEGORY_MAP = {
1810
1810
  "salto_ks",
1811
1811
  "assa_abloy_vostio",
1812
1812
  "salto_space",
1813
- "dormakaba_ambiance"
1813
+ "dormakaba_ambiance",
1814
+ "dormakaba_community",
1815
+ "legic_connect"
1814
1816
  ],
1815
1817
  internal_beta: ALL_DEVICE_PROVIDERS
1816
1818
  };
@@ -4274,7 +4276,11 @@ var access_grant_events = [
4274
4276
  access_grant_access_to_door_lost_event
4275
4277
  ];
4276
4278
  var access_method_event = common_event.extend({
4277
- access_method_id: zod.z.string().uuid().describe("ID of the affected access method.")
4279
+ access_method_id: zod.z.string().uuid().describe("ID of the affected access method."),
4280
+ access_grant_ids: zod.z.array(zod.z.string().uuid()).describe("IDs of the access grants associated with this access method."),
4281
+ access_grant_keys: zod.z.array(zod.z.string()).optional().describe(
4282
+ "Keys of the access grants associated with this access method (if present)."
4283
+ )
4278
4284
  });
4279
4285
  var access_method_issued_event = access_method_event.extend({
4280
4286
  event_type: zod.z.literal("access_method.issued")
@@ -18538,6 +18544,16 @@ var openapi_default = {
18538
18544
  {
18539
18545
  description: "An access method was issued.",
18540
18546
  properties: {
18547
+ access_grant_ids: {
18548
+ description: "IDs of the access grants associated with this access method.",
18549
+ items: { format: "uuid", type: "string" },
18550
+ type: "array"
18551
+ },
18552
+ access_grant_keys: {
18553
+ description: "Keys of the access grants associated with this access method (if present).",
18554
+ items: { type: "string" },
18555
+ type: "array"
18556
+ },
18541
18557
  access_method_id: {
18542
18558
  description: "ID of the affected access method.",
18543
18559
  format: "uuid",
@@ -18571,6 +18587,7 @@ var openapi_default = {
18571
18587
  "created_at",
18572
18588
  "occurred_at",
18573
18589
  "access_method_id",
18590
+ "access_grant_ids",
18574
18591
  "event_type"
18575
18592
  ],
18576
18593
  type: "object",
@@ -18579,6 +18596,16 @@ var openapi_default = {
18579
18596
  {
18580
18597
  description: "An access method was revoked.",
18581
18598
  properties: {
18599
+ access_grant_ids: {
18600
+ description: "IDs of the access grants associated with this access method.",
18601
+ items: { format: "uuid", type: "string" },
18602
+ type: "array"
18603
+ },
18604
+ access_grant_keys: {
18605
+ description: "Keys of the access grants associated with this access method (if present).",
18606
+ items: { type: "string" },
18607
+ type: "array"
18608
+ },
18582
18609
  access_method_id: {
18583
18610
  description: "ID of the affected access method.",
18584
18611
  format: "uuid",
@@ -18612,6 +18639,7 @@ var openapi_default = {
18612
18639
  "created_at",
18613
18640
  "occurred_at",
18614
18641
  "access_method_id",
18642
+ "access_grant_ids",
18615
18643
  "event_type"
18616
18644
  ],
18617
18645
  type: "object",
@@ -18620,6 +18648,16 @@ var openapi_default = {
18620
18648
  {
18621
18649
  description: "An access method representing a physical card requires encoding.",
18622
18650
  properties: {
18651
+ access_grant_ids: {
18652
+ description: "IDs of the access grants associated with this access method.",
18653
+ items: { format: "uuid", type: "string" },
18654
+ type: "array"
18655
+ },
18656
+ access_grant_keys: {
18657
+ description: "Keys of the access grants associated with this access method (if present).",
18658
+ items: { type: "string" },
18659
+ type: "array"
18660
+ },
18623
18661
  access_method_id: {
18624
18662
  description: "ID of the affected access method.",
18625
18663
  format: "uuid",
@@ -18656,6 +18694,7 @@ var openapi_default = {
18656
18694
  "created_at",
18657
18695
  "occurred_at",
18658
18696
  "access_method_id",
18697
+ "access_grant_ids",
18659
18698
  "event_type"
18660
18699
  ],
18661
18700
  type: "object",
@@ -18664,6 +18703,16 @@ var openapi_default = {
18664
18703
  {
18665
18704
  description: "An access method was deleted.",
18666
18705
  properties: {
18706
+ access_grant_ids: {
18707
+ description: "IDs of the access grants associated with this access method.",
18708
+ items: { format: "uuid", type: "string" },
18709
+ type: "array"
18710
+ },
18711
+ access_grant_keys: {
18712
+ description: "Keys of the access grants associated with this access method (if present).",
18713
+ items: { type: "string" },
18714
+ type: "array"
18715
+ },
18667
18716
  access_method_id: {
18668
18717
  description: "ID of the affected access method.",
18669
18718
  format: "uuid",
@@ -18697,6 +18746,7 @@ var openapi_default = {
18697
18746
  "created_at",
18698
18747
  "occurred_at",
18699
18748
  "access_method_id",
18749
+ "access_grant_ids",
18700
18750
  "event_type"
18701
18751
  ],
18702
18752
  type: "object",
@@ -18705,6 +18755,16 @@ var openapi_default = {
18705
18755
  {
18706
18756
  description: "An access method was reissued due to an Access Grant update.",
18707
18757
  properties: {
18758
+ access_grant_ids: {
18759
+ description: "IDs of the access grants associated with this access method.",
18760
+ items: { format: "uuid", type: "string" },
18761
+ type: "array"
18762
+ },
18763
+ access_grant_keys: {
18764
+ description: "Keys of the access grants associated with this access method (if present).",
18765
+ items: { type: "string" },
18766
+ type: "array"
18767
+ },
18708
18768
  access_method_id: {
18709
18769
  description: "ID of the affected access method.",
18710
18770
  format: "uuid",
@@ -18738,6 +18798,7 @@ var openapi_default = {
18738
18798
  "created_at",
18739
18799
  "occurred_at",
18740
18800
  "access_method_id",
18801
+ "access_grant_ids",
18741
18802
  "event_type"
18742
18803
  ],
18743
18804
  type: "object",