@seamapi/types 1.303.0 → 1.304.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
@@ -1727,16 +1727,16 @@ var common_acs_user = zod.z.object({
1727
1727
  var acs_user = common_acs_user.merge(
1728
1728
  zod.z.object({
1729
1729
  is_managed: zod.z.literal(true)
1730
- }).describe(
1731
- "Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
1732
- )
1730
+ })
1731
+ ).describe(
1732
+ "Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
1733
1733
  );
1734
1734
  var unmanaged_acs_user = common_acs_user.merge(
1735
1735
  zod.z.object({
1736
1736
  is_managed: zod.z.literal(false)
1737
- }).describe(
1738
- "Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
1739
- )
1737
+ })
1738
+ ).describe(
1739
+ "Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
1740
1740
  );
1741
1741
  var common_action_attempt = zod.z.object({
1742
1742
  action_attempt_id: zod.z.string().uuid().describe(`
@@ -2350,12 +2350,16 @@ var acs_system_event = common_acs_event.extend({});
2350
2350
  var acs_system_connected_event = acs_system_event.extend({
2351
2351
  event_type: zod.z.literal("acs_system.connected")
2352
2352
  }).describe("An ACS system was connected.");
2353
+ var acs_system_disconnected_event = acs_system_event.extend({
2354
+ event_type: zod.z.literal("acs_system.disconnected")
2355
+ }).describe("An ACS system was disconnected.");
2353
2356
  var acs_system_added_event = acs_system_event.extend({
2354
2357
  event_type: zod.z.literal("acs_system.added")
2355
2358
  }).describe("An ACS system was added.");
2356
2359
  var acs_system_events = [
2357
2360
  acs_system_connected_event,
2358
- acs_system_added_event
2361
+ acs_system_added_event,
2362
+ acs_system_disconnected_event
2359
2363
  ];
2360
2364
  var acs_user_event = common_acs_event.extend({
2361
2365
  acs_user_id: zod.z.string().uuid()
@@ -3803,6 +3807,7 @@ var openapi_default = {
3803
3807
  type: "object"
3804
3808
  },
3805
3809
  acs_user: {
3810
+ description: "Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
3806
3811
  properties: {
3807
3812
  access_schedule: {
3808
3813
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
@@ -13980,6 +13985,7 @@ var openapi_default = {
13980
13985
  schema: {
13981
13986
  properties: {
13982
13987
  acs_user: {
13988
+ description: "Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
13983
13989
  properties: {
13984
13990
  access_schedule: {
13985
13991
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
@@ -14339,6 +14345,7 @@ var openapi_default = {
14339
14345
  properties: {
14340
14346
  acs_users: {
14341
14347
  items: {
14348
+ description: "Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
14342
14349
  properties: {
14343
14350
  access_schedule: {
14344
14351
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
@@ -17269,6 +17276,7 @@ var openapi_default = {
17269
17276
  "access_code.backup_access_code_pulled",
17270
17277
  "acs_system.added",
17271
17278
  "acs_system.connected",
17279
+ "acs_system.disconnected",
17272
17280
  "acs_user.deleted",
17273
17281
  "acs_credential.deleted",
17274
17282
  "acs_credential.issued",
@@ -17345,6 +17353,7 @@ var openapi_default = {
17345
17353
  "access_code.backup_access_code_pulled",
17346
17354
  "acs_system.added",
17347
17355
  "acs_system.connected",
17356
+ "acs_system.disconnected",
17348
17357
  "acs_user.deleted",
17349
17358
  "acs_credential.deleted",
17350
17359
  "acs_credential.issued",