@seamapi/types 1.780.0 → 1.781.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.
@@ -4340,6 +4340,20 @@ declare const acs_access_group: z.ZodObject<{
4340
4340
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
4341
4341
  external_type_display_name: z.ZodString;
4342
4342
  created_at: z.ZodString;
4343
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
4344
+ created_at: z.ZodString;
4345
+ message: z.ZodString;
4346
+ } & {
4347
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
4348
+ }, "strip", z.ZodTypeAny, {
4349
+ message: string;
4350
+ created_at: string;
4351
+ error_code: "failed_to_create_on_acs_system";
4352
+ }, {
4353
+ message: string;
4354
+ created_at: string;
4355
+ error_code: "failed_to_create_on_acs_system";
4356
+ }>]>, "many">;
4343
4357
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4344
4358
  created_at: z.ZodString;
4345
4359
  message: z.ZodString;
@@ -4609,6 +4623,11 @@ declare const acs_access_group: z.ZodObject<{
4609
4623
  display_name: string;
4610
4624
  workspace_id: string;
4611
4625
  created_at: string;
4626
+ errors: {
4627
+ message: string;
4628
+ created_at: string;
4629
+ error_code: "failed_to_create_on_acs_system";
4630
+ }[];
4612
4631
  connected_account_id: string;
4613
4632
  warnings: ({
4614
4633
  message: string;
@@ -4696,6 +4715,11 @@ declare const acs_access_group: z.ZodObject<{
4696
4715
  display_name: string;
4697
4716
  workspace_id: string;
4698
4717
  created_at: string;
4718
+ errors: {
4719
+ message: string;
4720
+ created_at: string;
4721
+ error_code: "failed_to_create_on_acs_system";
4722
+ }[];
4699
4723
  connected_account_id: string;
4700
4724
  warnings: ({
4701
4725
  message: string;
@@ -4791,6 +4815,20 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4791
4815
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
4792
4816
  external_type_display_name: z.ZodString;
4793
4817
  created_at: z.ZodString;
4818
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
4819
+ created_at: z.ZodString;
4820
+ message: z.ZodString;
4821
+ } & {
4822
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
4823
+ }, "strip", z.ZodTypeAny, {
4824
+ message: string;
4825
+ created_at: string;
4826
+ error_code: "failed_to_create_on_acs_system";
4827
+ }, {
4828
+ message: string;
4829
+ created_at: string;
4830
+ error_code: "failed_to_create_on_acs_system";
4831
+ }>]>, "many">;
4794
4832
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4795
4833
  created_at: z.ZodString;
4796
4834
  message: z.ZodString;
@@ -5060,6 +5098,11 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5060
5098
  display_name: string;
5061
5099
  workspace_id: string;
5062
5100
  created_at: string;
5101
+ errors: {
5102
+ message: string;
5103
+ created_at: string;
5104
+ error_code: "failed_to_create_on_acs_system";
5105
+ }[];
5063
5106
  connected_account_id: string;
5064
5107
  warnings: ({
5065
5108
  message: string;
@@ -5147,6 +5190,11 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5147
5190
  display_name: string;
5148
5191
  workspace_id: string;
5149
5192
  created_at: string;
5193
+ errors: {
5194
+ message: string;
5195
+ created_at: string;
5196
+ error_code: "failed_to_create_on_acs_system";
5197
+ }[];
5150
5198
  connected_account_id: string;
5151
5199
  warnings: ({
5152
5200
  message: string;
@@ -18392,6 +18440,20 @@ declare const batch: z.ZodObject<{
18392
18440
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
18393
18441
  external_type_display_name: z.ZodString;
18394
18442
  created_at: z.ZodString;
18443
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
18444
+ created_at: z.ZodString;
18445
+ message: z.ZodString;
18446
+ } & {
18447
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
18448
+ }, "strip", z.ZodTypeAny, {
18449
+ message: string;
18450
+ created_at: string;
18451
+ error_code: "failed_to_create_on_acs_system";
18452
+ }, {
18453
+ message: string;
18454
+ created_at: string;
18455
+ error_code: "failed_to_create_on_acs_system";
18456
+ }>]>, "many">;
18395
18457
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
18396
18458
  created_at: z.ZodString;
18397
18459
  message: z.ZodString;
@@ -18661,6 +18723,11 @@ declare const batch: z.ZodObject<{
18661
18723
  display_name: string;
18662
18724
  workspace_id: string;
18663
18725
  created_at: string;
18726
+ errors: {
18727
+ message: string;
18728
+ created_at: string;
18729
+ error_code: "failed_to_create_on_acs_system";
18730
+ }[];
18664
18731
  connected_account_id: string;
18665
18732
  warnings: ({
18666
18733
  message: string;
@@ -18748,6 +18815,11 @@ declare const batch: z.ZodObject<{
18748
18815
  display_name: string;
18749
18816
  workspace_id: string;
18750
18817
  created_at: string;
18818
+ errors: {
18819
+ message: string;
18820
+ created_at: string;
18821
+ error_code: "failed_to_create_on_acs_system";
18822
+ }[];
18751
18823
  connected_account_id: string;
18752
18824
  warnings: ({
18753
18825
  message: string;
@@ -24235,6 +24307,20 @@ declare const batch: z.ZodObject<{
24235
24307
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group"]>;
24236
24308
  external_type_display_name: z.ZodString;
24237
24309
  created_at: z.ZodString;
24310
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
24311
+ created_at: z.ZodString;
24312
+ message: z.ZodString;
24313
+ } & {
24314
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
24315
+ }, "strip", z.ZodTypeAny, {
24316
+ message: string;
24317
+ created_at: string;
24318
+ error_code: "failed_to_create_on_acs_system";
24319
+ }, {
24320
+ message: string;
24321
+ created_at: string;
24322
+ error_code: "failed_to_create_on_acs_system";
24323
+ }>]>, "many">;
24238
24324
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
24239
24325
  created_at: z.ZodString;
24240
24326
  message: z.ZodString;
@@ -24504,6 +24590,11 @@ declare const batch: z.ZodObject<{
24504
24590
  display_name: string;
24505
24591
  workspace_id: string;
24506
24592
  created_at: string;
24593
+ errors: {
24594
+ message: string;
24595
+ created_at: string;
24596
+ error_code: "failed_to_create_on_acs_system";
24597
+ }[];
24507
24598
  connected_account_id: string;
24508
24599
  warnings: ({
24509
24600
  message: string;
@@ -24591,6 +24682,11 @@ declare const batch: z.ZodObject<{
24591
24682
  display_name: string;
24592
24683
  workspace_id: string;
24593
24684
  created_at: string;
24685
+ errors: {
24686
+ message: string;
24687
+ created_at: string;
24688
+ error_code: "failed_to_create_on_acs_system";
24689
+ }[];
24594
24690
  connected_account_id: string;
24595
24691
  warnings: ({
24596
24692
  message: string;
@@ -38494,6 +38590,11 @@ declare const batch: z.ZodObject<{
38494
38590
  display_name: string;
38495
38591
  workspace_id: string;
38496
38592
  created_at: string;
38593
+ errors: {
38594
+ message: string;
38595
+ created_at: string;
38596
+ error_code: "failed_to_create_on_acs_system";
38597
+ }[];
38497
38598
  connected_account_id: string;
38498
38599
  warnings: ({
38499
38600
  message: string;
@@ -39659,6 +39760,11 @@ declare const batch: z.ZodObject<{
39659
39760
  display_name: string;
39660
39761
  workspace_id: string;
39661
39762
  created_at: string;
39763
+ errors: {
39764
+ message: string;
39765
+ created_at: string;
39766
+ error_code: "failed_to_create_on_acs_system";
39767
+ }[];
39662
39768
  connected_account_id: string;
39663
39769
  warnings: ({
39664
39770
  message: string;
@@ -43357,6 +43463,11 @@ declare const batch: z.ZodObject<{
43357
43463
  display_name: string;
43358
43464
  workspace_id: string;
43359
43465
  created_at: string;
43466
+ errors: {
43467
+ message: string;
43468
+ created_at: string;
43469
+ error_code: "failed_to_create_on_acs_system";
43470
+ }[];
43360
43471
  connected_account_id: string;
43361
43472
  warnings: ({
43362
43473
  message: string;
@@ -44522,6 +44633,11 @@ declare const batch: z.ZodObject<{
44522
44633
  display_name: string;
44523
44634
  workspace_id: string;
44524
44635
  created_at: string;
44636
+ errors: {
44637
+ message: string;
44638
+ created_at: string;
44639
+ error_code: "failed_to_create_on_acs_system";
44640
+ }[];
44525
44641
  connected_account_id: string;
44526
44642
  warnings: ({
44527
44643
  message: string;
@@ -63597,6 +63713,37 @@ declare const _default: {
63597
63713
  display_name: {
63598
63714
  type: string;
63599
63715
  };
63716
+ errors: {
63717
+ description: string;
63718
+ items: {
63719
+ description: string;
63720
+ discriminator: {
63721
+ propertyName: string;
63722
+ };
63723
+ oneOf: {
63724
+ description: string;
63725
+ properties: {
63726
+ created_at: {
63727
+ description: string;
63728
+ format: string;
63729
+ type: string;
63730
+ };
63731
+ error_code: {
63732
+ description: string;
63733
+ enum: string[];
63734
+ type: string;
63735
+ };
63736
+ message: {
63737
+ description: string;
63738
+ type: string;
63739
+ };
63740
+ };
63741
+ required: string[];
63742
+ type: string;
63743
+ }[];
63744
+ };
63745
+ type: string;
63746
+ };
63600
63747
  external_type: {
63601
63748
  description: string;
63602
63749
  enum: string[];
@@ -79428,6 +79575,37 @@ declare const _default: {
79428
79575
  display_name: {
79429
79576
  type: string;
79430
79577
  };
79578
+ errors: {
79579
+ description: string;
79580
+ items: {
79581
+ description: string;
79582
+ discriminator: {
79583
+ propertyName: string;
79584
+ };
79585
+ oneOf: {
79586
+ description: string;
79587
+ properties: {
79588
+ created_at: {
79589
+ description: string;
79590
+ format: string;
79591
+ type: string;
79592
+ };
79593
+ error_code: {
79594
+ description: string;
79595
+ enum: string[];
79596
+ type: string;
79597
+ };
79598
+ message: {
79599
+ description: string;
79600
+ type: string;
79601
+ };
79602
+ };
79603
+ required: string[];
79604
+ type: string;
79605
+ }[];
79606
+ };
79607
+ type: string;
79608
+ };
79431
79609
  external_type: {
79432
79610
  description: string;
79433
79611
  enum: string[];
@@ -148242,6 +148420,15 @@ type Routes = {
148242
148420
  external_type_display_name: string;
148243
148421
  /** Date and time at which the access group was created. */
148244
148422
  created_at: string;
148423
+ /** Errors associated with the `acs_access_group`. */
148424
+ errors: {
148425
+ /** Date and time at which Seam created the error. */
148426
+ created_at: string;
148427
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148428
+ message: string;
148429
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148430
+ error_code: 'failed_to_create_on_acs_system';
148431
+ }[];
148245
148432
  /** Warnings associated with the `acs_access_group`. */
148246
148433
  warnings: ({
148247
148434
  /** Date and time at which Seam created the warning. */
@@ -153123,6 +153310,15 @@ type Routes = {
153123
153310
  external_type_display_name: string;
153124
153311
  /** Date and time at which the access group was created. */
153125
153312
  created_at: string;
153313
+ /** Errors associated with the `acs_access_group`. */
153314
+ errors: {
153315
+ /** Date and time at which Seam created the error. */
153316
+ created_at: string;
153317
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
153318
+ message: string;
153319
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
153320
+ error_code: 'failed_to_create_on_acs_system';
153321
+ }[];
153126
153322
  /** Warnings associated with the `acs_access_group`. */
153127
153323
  warnings: ({
153128
153324
  /** Date and time at which Seam created the warning. */
@@ -153298,6 +153494,15 @@ type Routes = {
153298
153494
  external_type_display_name: string;
153299
153495
  /** Date and time at which the access group was created. */
153300
153496
  created_at: string;
153497
+ /** Errors associated with the `acs_access_group`. */
153498
+ errors: {
153499
+ /** Date and time at which Seam created the error. */
153500
+ created_at: string;
153501
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
153502
+ message: string;
153503
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
153504
+ error_code: 'failed_to_create_on_acs_system';
153505
+ }[];
153301
153506
  /** Warnings associated with the `acs_access_group`. */
153302
153507
  warnings: ({
153303
153508
  /** Date and time at which Seam created the warning. */
@@ -153879,6 +154084,15 @@ type Routes = {
153879
154084
  external_type_display_name: string;
153880
154085
  /** Date and time at which the access group was created. */
153881
154086
  created_at: string;
154087
+ /** Errors associated with the `acs_access_group`. */
154088
+ errors: {
154089
+ /** Date and time at which Seam created the error. */
154090
+ created_at: string;
154091
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154092
+ message: string;
154093
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
154094
+ error_code: 'failed_to_create_on_acs_system';
154095
+ }[];
153882
154096
  /** Warnings associated with the `acs_access_group`. */
153883
154097
  warnings: ({
153884
154098
  /** Date and time at which Seam created the warning. */
@@ -154052,6 +154266,15 @@ type Routes = {
154052
154266
  external_type_display_name: string;
154053
154267
  /** Date and time at which the access group was created. */
154054
154268
  created_at: string;
154269
+ /** Errors associated with the `acs_access_group`. */
154270
+ errors: {
154271
+ /** Date and time at which Seam created the error. */
154272
+ created_at: string;
154273
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154274
+ message: string;
154275
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
154276
+ error_code: 'failed_to_create_on_acs_system';
154277
+ }[];
154055
154278
  /** Warnings associated with the `acs_access_group`. */
154056
154279
  warnings: ({
154057
154280
  /** Date and time at which Seam created the warning. */
@@ -228208,6 +228431,15 @@ type Routes = {
228208
228431
  external_type_display_name: string;
228209
228432
  /** Date and time at which the access group was created. */
228210
228433
  created_at: string;
228434
+ /** Errors associated with the `acs_access_group`. */
228435
+ errors: {
228436
+ /** Date and time at which Seam created the error. */
228437
+ created_at: string;
228438
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
228439
+ message: string;
228440
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
228441
+ error_code: 'failed_to_create_on_acs_system';
228442
+ }[];
228211
228443
  /** Warnings associated with the `acs_access_group`. */
228212
228444
  warnings: ({
228213
228445
  /** Date and time at which Seam created the warning. */
@@ -229964,6 +230196,15 @@ type Routes = {
229964
230196
  external_type_display_name: string;
229965
230197
  /** Date and time at which the access group was created. */
229966
230198
  created_at: string;
230199
+ /** Errors associated with the `acs_access_group`. */
230200
+ errors: {
230201
+ /** Date and time at which Seam created the error. */
230202
+ created_at: string;
230203
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
230204
+ message: string;
230205
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
230206
+ error_code: 'failed_to_create_on_acs_system';
230207
+ }[];
229967
230208
  /** Warnings associated with the `acs_access_group`. */
229968
230209
  warnings: ({
229969
230210
  /** Date and time at which Seam created the warning. */
package/dist/index.cjs CHANGED
@@ -3010,6 +3010,24 @@ var acs_access_group_external_type = zod.z.enum([
3010
3010
  "dormakaba_community_access_group",
3011
3011
  "dormakaba_ambiance_access_group"
3012
3012
  ]);
3013
+ var common_acs_access_group_error = zod.z.object({
3014
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
3015
+ message: zod.z.string().describe(
3016
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3017
+ )
3018
+ });
3019
+ var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3020
+ var acs_access_groups_failed_to_create_on_acs_system = common_acs_access_group_error.extend({
3021
+ error_code: zod.z.literal("failed_to_create_on_acs_system").describe(error_code_description5)
3022
+ }).describe(
3023
+ `Indicates that the [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/latest/capability-guides/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
3024
+ );
3025
+ var acs_access_group_errors = zod.z.discriminatedUnion("error_code", [
3026
+ acs_access_groups_failed_to_create_on_acs_system
3027
+ ]).describe("Error associated with the `acs_access_group`.");
3028
+ zod.z.object({
3029
+ failed_to_create_on_acs_system: acs_access_groups_failed_to_create_on_acs_system.optional().nullable()
3030
+ });
3013
3031
  var common_acs_access_group_warning = zod.z.object({
3014
3032
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
3015
3033
  message: zod.z.string().describe(
@@ -3062,6 +3080,7 @@ var common_acs_access_group = zod.z.object({
3062
3080
  "Display name that corresponds to the brand-specific terminology for the access group type."
3063
3081
  ),
3064
3082
  created_at: zod.z.string().datetime().describe("Date and time at which the access group was created."),
3083
+ errors: zod.z.array(acs_access_group_errors).describe("Errors associated with the `acs_access_group`."),
3065
3084
  warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`."),
3066
3085
  access_schedule: schedule.optional().describe(
3067
3086
  "`starts_at` and `ends_at` timestamps for the access group's access."
@@ -3445,9 +3464,9 @@ var common_acs_encoder_error = zod.z.object({
3445
3464
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3446
3465
  )
3447
3466
  });
3448
- var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3467
+ var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3449
3468
  var acs_encoder_removed = common_acs_encoder_error.extend({
3450
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description5)
3469
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description6)
3451
3470
  });
3452
3471
  var acs_encoder_error = (
3453
3472
  // z.union([
@@ -3612,40 +3631,40 @@ var common_acs_system_error = zod.z.object({
3612
3631
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3613
3632
  )
3614
3633
  });
3615
- var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3634
+ var error_code_description7 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3616
3635
  var warning_code_description8 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3617
3636
  var seam_bridge_disconnected = common_acs_system_error.extend({
3618
- error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description6)
3637
+ error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description7)
3619
3638
  }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3620
3639
  This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
3621
3640
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
3622
3641
  var bridge_disconnected2 = common_acs_system_error.extend({
3623
- error_code: zod.z.literal("bridge_disconnected").describe(error_code_description6),
3642
+ error_code: zod.z.literal("bridge_disconnected").describe(error_code_description7),
3624
3643
  is_bridge_error: zod.z.boolean().optional()
3625
3644
  }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3626
3645
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
3627
3646
  var visionline_instance_unreachable = common_acs_system_error.extend({
3628
- error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description6)
3647
+ error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description7)
3629
3648
  }).describe(`Indicates that [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
3630
3649
  For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
3631
3650
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
3632
3651
  var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
3633
- error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description6)
3652
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description7)
3634
3653
  }).describe(
3635
3654
  "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
3636
3655
  );
3637
3656
  var acs_system_disconnected = common_acs_system_error.extend({
3638
- error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description6)
3657
+ error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description7)
3639
3658
  }).describe(
3640
3659
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system) to resolve the issue."
3641
3660
  );
3642
3661
  var account_disconnected3 = common_acs_system_error.extend({
3643
- error_code: zod.z.literal("account_disconnected").describe(error_code_description6)
3662
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description7)
3644
3663
  }).describe(
3645
3664
  "Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) to restore access."
3646
3665
  );
3647
3666
  var salto_ks_certification_expired = common_acs_system_error.extend({
3648
- error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description6)
3667
+ error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description7)
3649
3668
  }).describe(
3650
3669
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
3651
3670
  );
@@ -4874,14 +4893,14 @@ var common_event = zod.z.object({
4874
4893
  created_at: zod.z.string().datetime().describe("Date and time at which the event was created."),
4875
4894
  occurred_at: zod.z.string().datetime().describe("Date and time at which the event occurred.")
4876
4895
  });
4877
- var error_code_description7 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
4896
+ var error_code_description8 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
4878
4897
  var warning_code_description9 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
4879
4898
  var common_event_error = zod.z.object({
4880
4899
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
4881
4900
  message: zod.z.string().describe(
4882
4901
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
4883
4902
  ),
4884
- error_code: zod.z.string().describe(error_code_description7)
4903
+ error_code: zod.z.string().describe(error_code_description8)
4885
4904
  });
4886
4905
  var common_event_warning = zod.z.object({
4887
4906
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -6483,9 +6502,9 @@ var common_bridge_client_session_error = zod.z.object({
6483
6502
  ),
6484
6503
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
6485
6504
  });
6486
- var error_code_description8 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
6505
+ var error_code_description9 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
6487
6506
  var bridge_lan_unreachable = common_bridge_client_session_error.extend({
6488
- error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description8),
6507
+ error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description9),
6489
6508
  is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
6490
6509
  is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
6491
6510
  "Indicates whether the Tailscale proxy's SOCKS server is healthy."
@@ -6497,7 +6516,7 @@ var bridge_lan_unreachable = common_bridge_client_session_error.extend({
6497
6516
  is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
6498
6517
  }).describe("Indicates that Seam cannot reach Seam Bridge's LAN.");
6499
6518
  var no_communication_from_bridge = common_bridge_client_session_error.extend({
6500
- error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description8)
6519
+ error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description9)
6501
6520
  }).describe("Indicates that Seam Bridge has stopped communicating with Seam.");
6502
6521
  var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
6503
6522
  bridge_lan_unreachable,
@@ -9131,6 +9150,37 @@ var openapi_default = {
9131
9150
  type: "string"
9132
9151
  },
9133
9152
  display_name: { type: "string" },
9153
+ errors: {
9154
+ description: "Errors associated with the `acs_access_group`.",
9155
+ items: {
9156
+ description: "Error associated with the `acs_access_group`.",
9157
+ discriminator: { propertyName: "error_code" },
9158
+ oneOf: [
9159
+ {
9160
+ description: "Indicates that the [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/latest/capability-guides/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
9161
+ properties: {
9162
+ created_at: {
9163
+ description: "Date and time at which Seam created the error.",
9164
+ format: "date-time",
9165
+ type: "string"
9166
+ },
9167
+ error_code: {
9168
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
9169
+ enum: ["failed_to_create_on_acs_system"],
9170
+ type: "string"
9171
+ },
9172
+ message: {
9173
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
9174
+ type: "string"
9175
+ }
9176
+ },
9177
+ required: ["created_at", "message", "error_code"],
9178
+ type: "object"
9179
+ }
9180
+ ]
9181
+ },
9182
+ type: "array"
9183
+ },
9134
9184
  external_type: {
9135
9185
  description: "Brand-specific terminology for the access group type.",
9136
9186
  enum: [
@@ -9548,6 +9598,7 @@ var openapi_default = {
9548
9598
  "external_type",
9549
9599
  "external_type_display_name",
9550
9600
  "created_at",
9601
+ "errors",
9551
9602
  "warnings",
9552
9603
  "pending_mutations",
9553
9604
  "is_managed"
@@ -31316,6 +31367,37 @@ var openapi_default = {
31316
31367
  type: "string"
31317
31368
  },
31318
31369
  display_name: { type: "string" },
31370
+ errors: {
31371
+ description: "Errors associated with the `acs_access_group`.",
31372
+ items: {
31373
+ description: "Error associated with the `acs_access_group`.",
31374
+ discriminator: { propertyName: "error_code" },
31375
+ oneOf: [
31376
+ {
31377
+ description: "Indicates that the [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/latest/capability-guides/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
31378
+ properties: {
31379
+ created_at: {
31380
+ description: "Date and time at which Seam created the error.",
31381
+ format: "date-time",
31382
+ type: "string"
31383
+ },
31384
+ error_code: {
31385
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
31386
+ enum: ["failed_to_create_on_acs_system"],
31387
+ type: "string"
31388
+ },
31389
+ message: {
31390
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
31391
+ type: "string"
31392
+ }
31393
+ },
31394
+ required: ["created_at", "message", "error_code"],
31395
+ type: "object"
31396
+ }
31397
+ ]
31398
+ },
31399
+ type: "array"
31400
+ },
31319
31401
  external_type: {
31320
31402
  description: "Brand-specific terminology for the access group type.",
31321
31403
  enum: [
@@ -31733,6 +31815,7 @@ var openapi_default = {
31733
31815
  "external_type",
31734
31816
  "external_type_display_name",
31735
31817
  "created_at",
31818
+ "errors",
31736
31819
  "warnings",
31737
31820
  "pending_mutations",
31738
31821
  "is_managed"