@seamapi/types 1.386.2 → 1.388.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
@@ -2645,15 +2645,22 @@ var unknown_issue_with_acs_user = common_acs_user_warning.extend({
2645
2645
  }).describe(
2646
2646
  "An unknown issue occurred while syncing the state of this [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user."
2647
2647
  );
2648
+ var latch_resident_user = common_acs_user_warning.extend({
2649
+ warning_code: zod.z.literal("latch_resident_user")
2650
+ }).describe(
2651
+ "Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user."
2652
+ );
2648
2653
  zod.z.object({
2649
2654
  being_deleted: acs_users_being_deleted.optional().nullable(),
2650
2655
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
2651
- unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable()
2656
+ unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable(),
2657
+ latch_resident_user: latch_resident_user.optional().nullable()
2652
2658
  });
2653
2659
  var acs_users_warnings = zod.z.discriminatedUnion("warning_code", [
2654
2660
  acs_users_being_deleted,
2655
2661
  acs_users_salto_ks_user_not_subscribed,
2656
- unknown_issue_with_acs_user
2662
+ unknown_issue_with_acs_user,
2663
+ latch_resident_user
2657
2664
  ]).describe(
2658
2665
  "Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
2659
2666
  );
@@ -7412,6 +7419,26 @@ var openapi_default = {
7412
7419
  },
7413
7420
  required: ["created_at", "message", "warning_code"],
7414
7421
  type: "object"
7422
+ },
7423
+ {
7424
+ description: "Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.",
7425
+ properties: {
7426
+ created_at: {
7427
+ description: "Date and time at which Seam created the warning.",
7428
+ format: "date-time",
7429
+ type: "string"
7430
+ },
7431
+ message: {
7432
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
7433
+ type: "string"
7434
+ },
7435
+ warning_code: {
7436
+ enum: ["latch_resident_user"],
7437
+ type: "string"
7438
+ }
7439
+ },
7440
+ required: ["created_at", "message", "warning_code"],
7441
+ type: "object"
7415
7442
  }
7416
7443
  ]
7417
7444
  },
@@ -20446,6 +20473,26 @@ var openapi_default = {
20446
20473
  },
20447
20474
  required: ["created_at", "message", "warning_code"],
20448
20475
  type: "object"
20476
+ },
20477
+ {
20478
+ description: "Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.",
20479
+ properties: {
20480
+ created_at: {
20481
+ description: "Date and time at which Seam created the warning.",
20482
+ format: "date-time",
20483
+ type: "string"
20484
+ },
20485
+ message: {
20486
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
20487
+ type: "string"
20488
+ },
20489
+ warning_code: {
20490
+ enum: ["latch_resident_user"],
20491
+ type: "string"
20492
+ }
20493
+ },
20494
+ required: ["created_at", "message", "warning_code"],
20495
+ type: "object"
20449
20496
  }
20450
20497
  ]
20451
20498
  },
@@ -22025,6 +22072,17 @@ var openapi_default = {
22025
22072
  format: "uuid",
22026
22073
  type: "string"
22027
22074
  },
22075
+ limit: {
22076
+ default: 55e3,
22077
+ description: "Numerical limit on the number of access codes to return.",
22078
+ format: "float",
22079
+ type: "number"
22080
+ },
22081
+ page_cursor: {
22082
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
22083
+ nullable: true,
22084
+ type: "string"
22085
+ },
22028
22086
  user_identifier_key: {
22029
22087
  description: "Your user ID for the user by which to filter access codes.",
22030
22088
  type: "string"
@@ -22045,9 +22103,10 @@ var openapi_default = {
22045
22103
  items: { $ref: "#/components/schemas/access_code" },
22046
22104
  type: "array"
22047
22105
  },
22048
- ok: { type: "boolean" }
22106
+ ok: { type: "boolean" },
22107
+ pagination: { $ref: "#/components/schemas/pagination" }
22049
22108
  },
22050
- required: ["access_codes", "ok"],
22109
+ required: ["access_codes", "pagination", "ok"],
22051
22110
  type: "object"
22052
22111
  }
22053
22112
  }