@seamapi/types 1.387.0 → 1.389.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
@@ -1898,7 +1898,8 @@ var acs_credential_external_type = zod.z.enum([
1898
1898
  "visionline_card",
1899
1899
  "salto_ks_credential",
1900
1900
  "assa_abloy_vostio_key",
1901
- "salto_space_key"
1901
+ "salto_space_key",
1902
+ "latch_access"
1902
1903
  ]);
1903
1904
  var acs_credential_access_method_type = zod.z.enum([
1904
1905
  "code",
@@ -2645,15 +2646,22 @@ var unknown_issue_with_acs_user = common_acs_user_warning.extend({
2645
2646
  }).describe(
2646
2647
  "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
2648
  );
2649
+ var latch_resident_user = common_acs_user_warning.extend({
2650
+ warning_code: zod.z.literal("latch_resident_user")
2651
+ }).describe(
2652
+ "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."
2653
+ );
2648
2654
  zod.z.object({
2649
2655
  being_deleted: acs_users_being_deleted.optional().nullable(),
2650
2656
  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()
2657
+ unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable(),
2658
+ latch_resident_user: latch_resident_user.optional().nullable()
2652
2659
  });
2653
2660
  var acs_users_warnings = zod.z.discriminatedUnion("warning_code", [
2654
2661
  acs_users_being_deleted,
2655
2662
  acs_users_salto_ks_user_not_subscribed,
2656
- unknown_issue_with_acs_user
2663
+ unknown_issue_with_acs_user,
2664
+ latch_resident_user
2657
2665
  ]).describe(
2658
2666
  "Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
2659
2667
  );
@@ -6026,7 +6034,8 @@ var openapi_default = {
6026
6034
  "visionline_card",
6027
6035
  "salto_ks_credential",
6028
6036
  "assa_abloy_vostio_key",
6029
- "salto_space_key"
6037
+ "salto_space_key",
6038
+ "latch_access"
6030
6039
  ],
6031
6040
  type: "string"
6032
6041
  },
@@ -7412,6 +7421,26 @@ var openapi_default = {
7412
7421
  },
7413
7422
  required: ["created_at", "message", "warning_code"],
7414
7423
  type: "object"
7424
+ },
7425
+ {
7426
+ 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.",
7427
+ properties: {
7428
+ created_at: {
7429
+ description: "Date and time at which Seam created the warning.",
7430
+ format: "date-time",
7431
+ type: "string"
7432
+ },
7433
+ message: {
7434
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
7435
+ type: "string"
7436
+ },
7437
+ warning_code: {
7438
+ enum: ["latch_resident_user"],
7439
+ type: "string"
7440
+ }
7441
+ },
7442
+ required: ["created_at", "message", "warning_code"],
7443
+ type: "object"
7415
7444
  }
7416
7445
  ]
7417
7446
  },
@@ -7850,7 +7879,8 @@ var openapi_default = {
7850
7879
  "visionline_card",
7851
7880
  "salto_ks_credential",
7852
7881
  "assa_abloy_vostio_key",
7853
- "salto_space_key"
7882
+ "salto_space_key",
7883
+ "latch_access"
7854
7884
  ],
7855
7885
  type: "string"
7856
7886
  },
@@ -8195,7 +8225,8 @@ var openapi_default = {
8195
8225
  "visionline_card",
8196
8226
  "salto_ks_credential",
8197
8227
  "assa_abloy_vostio_key",
8198
- "salto_space_key"
8228
+ "salto_space_key",
8229
+ "latch_access"
8199
8230
  ],
8200
8231
  type: "string"
8201
8232
  },
@@ -8909,7 +8940,8 @@ var openapi_default = {
8909
8940
  "visionline_card",
8910
8941
  "salto_ks_credential",
8911
8942
  "assa_abloy_vostio_key",
8912
- "salto_space_key"
8943
+ "salto_space_key",
8944
+ "latch_access"
8913
8945
  ],
8914
8946
  type: "string"
8915
8947
  },
@@ -9252,7 +9284,8 @@ var openapi_default = {
9252
9284
  "visionline_card",
9253
9285
  "salto_ks_credential",
9254
9286
  "assa_abloy_vostio_key",
9255
- "salto_space_key"
9287
+ "salto_space_key",
9288
+ "latch_access"
9256
9289
  ],
9257
9290
  type: "string"
9258
9291
  },
@@ -19707,7 +19740,8 @@ var openapi_default = {
19707
19740
  "visionline_card",
19708
19741
  "salto_ks_credential",
19709
19742
  "assa_abloy_vostio_key",
19710
- "salto_space_key"
19743
+ "salto_space_key",
19744
+ "latch_access"
19711
19745
  ],
19712
19746
  type: "string"
19713
19747
  },
@@ -20446,6 +20480,26 @@ var openapi_default = {
20446
20480
  },
20447
20481
  required: ["created_at", "message", "warning_code"],
20448
20482
  type: "object"
20483
+ },
20484
+ {
20485
+ 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.",
20486
+ properties: {
20487
+ created_at: {
20488
+ description: "Date and time at which Seam created the warning.",
20489
+ format: "date-time",
20490
+ type: "string"
20491
+ },
20492
+ message: {
20493
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
20494
+ type: "string"
20495
+ },
20496
+ warning_code: {
20497
+ enum: ["latch_resident_user"],
20498
+ type: "string"
20499
+ }
20500
+ },
20501
+ required: ["created_at", "message", "warning_code"],
20502
+ type: "object"
20449
20503
  }
20450
20504
  ]
20451
20505
  },