@seamapi/types 1.521.0 → 1.523.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
@@ -4274,7 +4274,11 @@ var access_grant_events = [
4274
4274
  access_grant_access_to_door_lost_event
4275
4275
  ];
4276
4276
  var access_method_event = common_event.extend({
4277
- access_method_id: zod.z.string().uuid().describe("ID of the affected access method.")
4277
+ access_method_id: zod.z.string().uuid().describe("ID of the affected access method."),
4278
+ access_grant_ids: zod.z.array(zod.z.string().uuid()).describe("IDs of the access grants associated with this access method."),
4279
+ access_grant_keys: zod.z.array(zod.z.string()).optional().describe(
4280
+ "Keys of the access grants associated with this access method (if present)."
4281
+ )
4278
4282
  });
4279
4283
  var access_method_issued_event = access_method_event.extend({
4280
4284
  event_type: zod.z.literal("access_method.issued")
@@ -18538,6 +18542,16 @@ var openapi_default = {
18538
18542
  {
18539
18543
  description: "An access method was issued.",
18540
18544
  properties: {
18545
+ access_grant_ids: {
18546
+ description: "IDs of the access grants associated with this access method.",
18547
+ items: { format: "uuid", type: "string" },
18548
+ type: "array"
18549
+ },
18550
+ access_grant_keys: {
18551
+ description: "Keys of the access grants associated with this access method (if present).",
18552
+ items: { type: "string" },
18553
+ type: "array"
18554
+ },
18541
18555
  access_method_id: {
18542
18556
  description: "ID of the affected access method.",
18543
18557
  format: "uuid",
@@ -18571,6 +18585,7 @@ var openapi_default = {
18571
18585
  "created_at",
18572
18586
  "occurred_at",
18573
18587
  "access_method_id",
18588
+ "access_grant_ids",
18574
18589
  "event_type"
18575
18590
  ],
18576
18591
  type: "object",
@@ -18579,6 +18594,16 @@ var openapi_default = {
18579
18594
  {
18580
18595
  description: "An access method was revoked.",
18581
18596
  properties: {
18597
+ access_grant_ids: {
18598
+ description: "IDs of the access grants associated with this access method.",
18599
+ items: { format: "uuid", type: "string" },
18600
+ type: "array"
18601
+ },
18602
+ access_grant_keys: {
18603
+ description: "Keys of the access grants associated with this access method (if present).",
18604
+ items: { type: "string" },
18605
+ type: "array"
18606
+ },
18582
18607
  access_method_id: {
18583
18608
  description: "ID of the affected access method.",
18584
18609
  format: "uuid",
@@ -18612,6 +18637,7 @@ var openapi_default = {
18612
18637
  "created_at",
18613
18638
  "occurred_at",
18614
18639
  "access_method_id",
18640
+ "access_grant_ids",
18615
18641
  "event_type"
18616
18642
  ],
18617
18643
  type: "object",
@@ -18620,6 +18646,16 @@ var openapi_default = {
18620
18646
  {
18621
18647
  description: "An access method representing a physical card requires encoding.",
18622
18648
  properties: {
18649
+ access_grant_ids: {
18650
+ description: "IDs of the access grants associated with this access method.",
18651
+ items: { format: "uuid", type: "string" },
18652
+ type: "array"
18653
+ },
18654
+ access_grant_keys: {
18655
+ description: "Keys of the access grants associated with this access method (if present).",
18656
+ items: { type: "string" },
18657
+ type: "array"
18658
+ },
18623
18659
  access_method_id: {
18624
18660
  description: "ID of the affected access method.",
18625
18661
  format: "uuid",
@@ -18656,6 +18692,7 @@ var openapi_default = {
18656
18692
  "created_at",
18657
18693
  "occurred_at",
18658
18694
  "access_method_id",
18695
+ "access_grant_ids",
18659
18696
  "event_type"
18660
18697
  ],
18661
18698
  type: "object",
@@ -18664,6 +18701,16 @@ var openapi_default = {
18664
18701
  {
18665
18702
  description: "An access method was deleted.",
18666
18703
  properties: {
18704
+ access_grant_ids: {
18705
+ description: "IDs of the access grants associated with this access method.",
18706
+ items: { format: "uuid", type: "string" },
18707
+ type: "array"
18708
+ },
18709
+ access_grant_keys: {
18710
+ description: "Keys of the access grants associated with this access method (if present).",
18711
+ items: { type: "string" },
18712
+ type: "array"
18713
+ },
18667
18714
  access_method_id: {
18668
18715
  description: "ID of the affected access method.",
18669
18716
  format: "uuid",
@@ -18697,6 +18744,7 @@ var openapi_default = {
18697
18744
  "created_at",
18698
18745
  "occurred_at",
18699
18746
  "access_method_id",
18747
+ "access_grant_ids",
18700
18748
  "event_type"
18701
18749
  ],
18702
18750
  type: "object",
@@ -18705,6 +18753,16 @@ var openapi_default = {
18705
18753
  {
18706
18754
  description: "An access method was reissued due to an Access Grant update.",
18707
18755
  properties: {
18756
+ access_grant_ids: {
18757
+ description: "IDs of the access grants associated with this access method.",
18758
+ items: { format: "uuid", type: "string" },
18759
+ type: "array"
18760
+ },
18761
+ access_grant_keys: {
18762
+ description: "Keys of the access grants associated with this access method (if present).",
18763
+ items: { type: "string" },
18764
+ type: "array"
18765
+ },
18708
18766
  access_method_id: {
18709
18767
  description: "ID of the affected access method.",
18710
18768
  format: "uuid",
@@ -18738,6 +18796,7 @@ var openapi_default = {
18738
18796
  "created_at",
18739
18797
  "occurred_at",
18740
18798
  "access_method_id",
18799
+ "access_grant_ids",
18741
18800
  "event_type"
18742
18801
  ],
18743
18802
  type: "object",
@@ -34201,6 +34260,11 @@ var openapi_default = {
34201
34260
  description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
34202
34261
  nullable: true,
34203
34262
  type: "string"
34263
+ },
34264
+ search: {
34265
+ description: "String for which to search. Filters returned credentials to include all records that satisfy a partial match using `code`, `card_number`, `acs_user_id` or `acs_credential_id`.",
34266
+ minLength: 1,
34267
+ type: "string"
34204
34268
  }
34205
34269
  },
34206
34270
  type: "object"