@seamapi/types 1.779.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.
@@ -1,6 +1,35 @@
1
1
  import { z } from 'zod';
2
2
  export declare const acs_access_group_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"]>;
3
3
  export type AcsAccessGroupExternalType = z.infer<typeof acs_access_group_external_type>;
4
+ declare const _acs_access_group_error_map: z.ZodObject<{
5
+ failed_to_create_on_acs_system: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6
+ created_at: z.ZodString;
7
+ message: z.ZodString;
8
+ } & {
9
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
10
+ }, "strip", z.ZodTypeAny, {
11
+ message: string;
12
+ created_at: string;
13
+ error_code: "failed_to_create_on_acs_system";
14
+ }, {
15
+ message: string;
16
+ created_at: string;
17
+ error_code: "failed_to_create_on_acs_system";
18
+ }>>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ failed_to_create_on_acs_system?: {
21
+ message: string;
22
+ created_at: string;
23
+ error_code: "failed_to_create_on_acs_system";
24
+ } | null | undefined;
25
+ }, {
26
+ failed_to_create_on_acs_system?: {
27
+ message: string;
28
+ created_at: string;
29
+ error_code: "failed_to_create_on_acs_system";
30
+ } | null | undefined;
31
+ }>;
32
+ export type AcsAccessGroupErrorMap = z.infer<typeof _acs_access_group_error_map>;
4
33
  export declare const unknown_issue_with_acs_access_group: z.ZodObject<{
5
34
  created_at: z.ZodString;
6
35
  message: z.ZodString;
@@ -80,6 +109,20 @@ export declare const acs_access_group: z.ZodObject<{
80
109
  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"]>;
81
110
  external_type_display_name: z.ZodString;
82
111
  created_at: z.ZodString;
112
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
113
+ created_at: z.ZodString;
114
+ message: z.ZodString;
115
+ } & {
116
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
117
+ }, "strip", z.ZodTypeAny, {
118
+ message: string;
119
+ created_at: string;
120
+ error_code: "failed_to_create_on_acs_system";
121
+ }, {
122
+ message: string;
123
+ created_at: string;
124
+ error_code: "failed_to_create_on_acs_system";
125
+ }>]>, "many">;
83
126
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
84
127
  created_at: z.ZodString;
85
128
  message: z.ZodString;
@@ -349,6 +392,11 @@ export declare const acs_access_group: z.ZodObject<{
349
392
  display_name: string;
350
393
  workspace_id: string;
351
394
  created_at: string;
395
+ errors: {
396
+ message: string;
397
+ created_at: string;
398
+ error_code: "failed_to_create_on_acs_system";
399
+ }[];
352
400
  connected_account_id: string;
353
401
  warnings: ({
354
402
  message: string;
@@ -436,6 +484,11 @@ export declare const acs_access_group: z.ZodObject<{
436
484
  display_name: string;
437
485
  workspace_id: string;
438
486
  created_at: string;
487
+ errors: {
488
+ message: string;
489
+ created_at: string;
490
+ error_code: "failed_to_create_on_acs_system";
491
+ }[];
439
492
  connected_account_id: string;
440
493
  warnings: ({
441
494
  message: string;
@@ -531,6 +584,20 @@ export declare const unmanaged_acs_access_group: z.ZodObject<{
531
584
  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"]>;
532
585
  external_type_display_name: z.ZodString;
533
586
  created_at: z.ZodString;
587
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
588
+ created_at: z.ZodString;
589
+ message: z.ZodString;
590
+ } & {
591
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
592
+ }, "strip", z.ZodTypeAny, {
593
+ message: string;
594
+ created_at: string;
595
+ error_code: "failed_to_create_on_acs_system";
596
+ }, {
597
+ message: string;
598
+ created_at: string;
599
+ error_code: "failed_to_create_on_acs_system";
600
+ }>]>, "many">;
534
601
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
535
602
  created_at: z.ZodString;
536
603
  message: z.ZodString;
@@ -800,6 +867,11 @@ export declare const unmanaged_acs_access_group: z.ZodObject<{
800
867
  display_name: string;
801
868
  workspace_id: string;
802
869
  created_at: string;
870
+ errors: {
871
+ message: string;
872
+ created_at: string;
873
+ error_code: "failed_to_create_on_acs_system";
874
+ }[];
803
875
  connected_account_id: string;
804
876
  warnings: ({
805
877
  message: string;
@@ -887,6 +959,11 @@ export declare const unmanaged_acs_access_group: z.ZodObject<{
887
959
  display_name: string;
888
960
  workspace_id: string;
889
961
  created_at: string;
962
+ errors: {
963
+ message: string;
964
+ created_at: string;
965
+ error_code: "failed_to_create_on_acs_system";
966
+ }[];
890
967
  connected_account_id: string;
891
968
  warnings: ({
892
969
  message: string;
@@ -11,6 +11,31 @@ export const acs_access_group_external_type = z.enum([
11
11
  'dormakaba_community_access_group',
12
12
  'dormakaba_ambiance_access_group',
13
13
  ]);
14
+ const common_acs_access_group_error = z.object({
15
+ created_at: z
16
+ .string()
17
+ .datetime()
18
+ .describe('Date and time at which Seam created the error.'),
19
+ message: z
20
+ .string()
21
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
22
+ });
23
+ const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
24
+ const acs_access_groups_failed_to_create_on_acs_system = common_acs_access_group_error
25
+ .extend({
26
+ error_code: z
27
+ .literal('failed_to_create_on_acs_system')
28
+ .describe(error_code_description),
29
+ })
30
+ .describe(`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).`);
31
+ const acs_access_group_errors = z
32
+ .discriminatedUnion('error_code', [
33
+ acs_access_groups_failed_to_create_on_acs_system,
34
+ ])
35
+ .describe('Error associated with the `acs_access_group`.');
36
+ const _acs_access_group_error_map = z.object({
37
+ failed_to_create_on_acs_system: acs_access_groups_failed_to_create_on_acs_system.optional().nullable(),
38
+ });
14
39
  const common_acs_access_group_warning = z.object({
15
40
  created_at: z
16
41
  .string()
@@ -76,6 +101,9 @@ const common_acs_access_group = z.object({
76
101
  .string()
77
102
  .datetime()
78
103
  .describe('Date and time at which the access group was created.'),
104
+ errors: z
105
+ .array(acs_access_group_errors)
106
+ .describe('Errors associated with the `acs_access_group`.'),
79
107
  warnings: z
80
108
  .array(acs_access_group_warning)
81
109
  .describe('Warnings associated with the `acs_access_group`.'),
@@ -1 +1 @@
1
- {"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAA;AAE7F,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,mBAAmB;IACnB,kCAAkC;IAClC,iCAAiC;CAClC,CAAC,CAAA;AAMF,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,CAAC,MAAM,mCAAmC,GAC9C,+BAA+B;KAC5B,MAAM,CAA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B,CAAC,QAAQ,CAAC;;;;GAI1D,CAAC;IACF,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,8BAA8B,CAAC,QAAQ,CACpD,uDAAuD,CACxD;IACD,0BAA0B,EAAE,CAAC;SAC1B,MAAM,EAAE;SACR,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,wBAAwB,CAAC;SAC/B,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,eAAe,EAAE,QAAQ;SACtB,QAAQ,EAAE;SACV,QAAQ,CACP,qEAAqE,CACtE;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,kCAAkC,CAAC;SACzC,QAAQ,CACP,6JAA6J,CAC9J;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;GAST,CAAC,CAAA;AACJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -92,15 +92,15 @@ declare const _acs_users_error_map: z.ZodObject<{
92
92
  created_at: string;
93
93
  error_code: "salto_ks_subscription_limit_exceeded";
94
94
  } | null | undefined;
95
- deleted_externally?: {
95
+ failed_to_create_on_acs_system?: {
96
96
  message: string;
97
97
  created_at: string;
98
- error_code: "deleted_externally";
98
+ error_code: "failed_to_create_on_acs_system";
99
99
  } | null | undefined;
100
- failed_to_create_on_acs_system?: {
100
+ deleted_externally?: {
101
101
  message: string;
102
102
  created_at: string;
103
- error_code: "failed_to_create_on_acs_system";
103
+ error_code: "deleted_externally";
104
104
  } | null | undefined;
105
105
  failed_to_update_on_acs_system?: {
106
106
  message: string;
@@ -123,15 +123,15 @@ declare const _acs_users_error_map: z.ZodObject<{
123
123
  created_at: string;
124
124
  error_code: "salto_ks_subscription_limit_exceeded";
125
125
  } | null | undefined;
126
- deleted_externally?: {
126
+ failed_to_create_on_acs_system?: {
127
127
  message: string;
128
128
  created_at: string;
129
- error_code: "deleted_externally";
129
+ error_code: "failed_to_create_on_acs_system";
130
130
  } | null | undefined;
131
- failed_to_create_on_acs_system?: {
131
+ deleted_externally?: {
132
132
  message: string;
133
133
  created_at: string;
134
- error_code: "failed_to_create_on_acs_system";
134
+ error_code: "deleted_externally";
135
135
  } | null | undefined;
136
136
  failed_to_update_on_acs_system?: {
137
137
  message: string;
@@ -6439,6 +6439,20 @@ export declare const batch: z.ZodObject<{
6439
6439
  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"]>;
6440
6440
  external_type_display_name: z.ZodString;
6441
6441
  created_at: z.ZodString;
6442
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
6443
+ created_at: z.ZodString;
6444
+ message: z.ZodString;
6445
+ } & {
6446
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
6447
+ }, "strip", z.ZodTypeAny, {
6448
+ message: string;
6449
+ created_at: string;
6450
+ error_code: "failed_to_create_on_acs_system";
6451
+ }, {
6452
+ message: string;
6453
+ created_at: string;
6454
+ error_code: "failed_to_create_on_acs_system";
6455
+ }>]>, "many">;
6442
6456
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
6443
6457
  created_at: z.ZodString;
6444
6458
  message: z.ZodString;
@@ -6708,6 +6722,11 @@ export declare const batch: z.ZodObject<{
6708
6722
  display_name: string;
6709
6723
  workspace_id: string;
6710
6724
  created_at: string;
6725
+ errors: {
6726
+ message: string;
6727
+ created_at: string;
6728
+ error_code: "failed_to_create_on_acs_system";
6729
+ }[];
6711
6730
  connected_account_id: string;
6712
6731
  warnings: ({
6713
6732
  message: string;
@@ -6795,6 +6814,11 @@ export declare const batch: z.ZodObject<{
6795
6814
  display_name: string;
6796
6815
  workspace_id: string;
6797
6816
  created_at: string;
6817
+ errors: {
6818
+ message: string;
6819
+ created_at: string;
6820
+ error_code: "failed_to_create_on_acs_system";
6821
+ }[];
6798
6822
  connected_account_id: string;
6799
6823
  warnings: ({
6800
6824
  message: string;
@@ -12282,6 +12306,20 @@ export declare const batch: z.ZodObject<{
12282
12306
  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"]>;
12283
12307
  external_type_display_name: z.ZodString;
12284
12308
  created_at: z.ZodString;
12309
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
12310
+ created_at: z.ZodString;
12311
+ message: z.ZodString;
12312
+ } & {
12313
+ error_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
12314
+ }, "strip", z.ZodTypeAny, {
12315
+ message: string;
12316
+ created_at: string;
12317
+ error_code: "failed_to_create_on_acs_system";
12318
+ }, {
12319
+ message: string;
12320
+ created_at: string;
12321
+ error_code: "failed_to_create_on_acs_system";
12322
+ }>]>, "many">;
12285
12323
  warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<{
12286
12324
  created_at: z.ZodString;
12287
12325
  message: z.ZodString;
@@ -12551,6 +12589,11 @@ export declare const batch: z.ZodObject<{
12551
12589
  display_name: string;
12552
12590
  workspace_id: string;
12553
12591
  created_at: string;
12592
+ errors: {
12593
+ message: string;
12594
+ created_at: string;
12595
+ error_code: "failed_to_create_on_acs_system";
12596
+ }[];
12554
12597
  connected_account_id: string;
12555
12598
  warnings: ({
12556
12599
  message: string;
@@ -12638,6 +12681,11 @@ export declare const batch: z.ZodObject<{
12638
12681
  display_name: string;
12639
12682
  workspace_id: string;
12640
12683
  created_at: string;
12684
+ errors: {
12685
+ message: string;
12686
+ created_at: string;
12687
+ error_code: "failed_to_create_on_acs_system";
12688
+ }[];
12641
12689
  connected_account_id: string;
12642
12690
  warnings: ({
12643
12691
  message: string;
@@ -26541,6 +26589,11 @@ export declare const batch: z.ZodObject<{
26541
26589
  display_name: string;
26542
26590
  workspace_id: string;
26543
26591
  created_at: string;
26592
+ errors: {
26593
+ message: string;
26594
+ created_at: string;
26595
+ error_code: "failed_to_create_on_acs_system";
26596
+ }[];
26544
26597
  connected_account_id: string;
26545
26598
  warnings: ({
26546
26599
  message: string;
@@ -27706,6 +27759,11 @@ export declare const batch: z.ZodObject<{
27706
27759
  display_name: string;
27707
27760
  workspace_id: string;
27708
27761
  created_at: string;
27762
+ errors: {
27763
+ message: string;
27764
+ created_at: string;
27765
+ error_code: "failed_to_create_on_acs_system";
27766
+ }[];
27709
27767
  connected_account_id: string;
27710
27768
  warnings: ({
27711
27769
  message: string;
@@ -31404,6 +31462,11 @@ export declare const batch: z.ZodObject<{
31404
31462
  display_name: string;
31405
31463
  workspace_id: string;
31406
31464
  created_at: string;
31465
+ errors: {
31466
+ message: string;
31467
+ created_at: string;
31468
+ error_code: "failed_to_create_on_acs_system";
31469
+ }[];
31407
31470
  connected_account_id: string;
31408
31471
  warnings: ({
31409
31472
  message: string;
@@ -32569,6 +32632,11 @@ export declare const batch: z.ZodObject<{
32569
32632
  display_name: string;
32570
32633
  workspace_id: string;
32571
32634
  created_at: string;
32635
+ errors: {
32636
+ message: string;
32637
+ created_at: string;
32638
+ error_code: "failed_to_create_on_acs_system";
32639
+ }[];
32572
32640
  connected_account_id: string;
32573
32641
  warnings: ({
32574
32642
  message: string;
@@ -1161,6 +1161,37 @@ declare const _default: {
1161
1161
  display_name: {
1162
1162
  type: string;
1163
1163
  };
1164
+ errors: {
1165
+ description: string;
1166
+ items: {
1167
+ description: string;
1168
+ discriminator: {
1169
+ propertyName: string;
1170
+ };
1171
+ oneOf: {
1172
+ description: string;
1173
+ properties: {
1174
+ created_at: {
1175
+ description: string;
1176
+ format: string;
1177
+ type: string;
1178
+ };
1179
+ error_code: {
1180
+ description: string;
1181
+ enum: string[];
1182
+ type: string;
1183
+ };
1184
+ message: {
1185
+ description: string;
1186
+ type: string;
1187
+ };
1188
+ };
1189
+ required: string[];
1190
+ type: string;
1191
+ }[];
1192
+ };
1193
+ type: string;
1194
+ };
1164
1195
  external_type: {
1165
1196
  description: string;
1166
1197
  enum: string[];
@@ -16992,6 +17023,37 @@ declare const _default: {
16992
17023
  display_name: {
16993
17024
  type: string;
16994
17025
  };
17026
+ errors: {
17027
+ description: string;
17028
+ items: {
17029
+ description: string;
17030
+ discriminator: {
17031
+ propertyName: string;
17032
+ };
17033
+ oneOf: {
17034
+ description: string;
17035
+ properties: {
17036
+ created_at: {
17037
+ description: string;
17038
+ format: string;
17039
+ type: string;
17040
+ };
17041
+ error_code: {
17042
+ description: string;
17043
+ enum: string[];
17044
+ type: string;
17045
+ };
17046
+ message: {
17047
+ description: string;
17048
+ type: string;
17049
+ };
17050
+ };
17051
+ required: string[];
17052
+ type: string;
17053
+ }[];
17054
+ };
17055
+ type: string;
17056
+ };
16995
17057
  external_type: {
16996
17058
  description: string;
16997
17059
  enum: string[];
@@ -23650,6 +23712,7 @@ declare const _default: {
23650
23712
  };
23651
23713
  access_grant_key: {
23652
23714
  description: string;
23715
+ nullable: boolean;
23653
23716
  type: string;
23654
23717
  };
23655
23718
  acs_entrance_id: {
@@ -2455,6 +2455,37 @@ export default {
2455
2455
  type: 'string',
2456
2456
  },
2457
2457
  display_name: { type: 'string' },
2458
+ errors: {
2459
+ description: 'Errors associated with the `acs_access_group`.',
2460
+ items: {
2461
+ description: 'Error associated with the `acs_access_group`.',
2462
+ discriminator: { propertyName: 'error_code' },
2463
+ oneOf: [
2464
+ {
2465
+ 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).',
2466
+ properties: {
2467
+ created_at: {
2468
+ description: 'Date and time at which Seam created the error.',
2469
+ format: 'date-time',
2470
+ type: 'string',
2471
+ },
2472
+ error_code: {
2473
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
2474
+ enum: ['failed_to_create_on_acs_system'],
2475
+ type: 'string',
2476
+ },
2477
+ message: {
2478
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
2479
+ type: 'string',
2480
+ },
2481
+ },
2482
+ required: ['created_at', 'message', 'error_code'],
2483
+ type: 'object',
2484
+ },
2485
+ ],
2486
+ },
2487
+ type: 'array',
2488
+ },
2458
2489
  external_type: {
2459
2490
  description: 'Brand-specific terminology for the access group type.',
2460
2491
  enum: [
@@ -2872,6 +2903,7 @@ export default {
2872
2903
  'external_type',
2873
2904
  'external_type_display_name',
2874
2905
  'created_at',
2906
+ 'errors',
2875
2907
  'warnings',
2876
2908
  'pending_mutations',
2877
2909
  'is_managed',
@@ -24640,6 +24672,37 @@ export default {
24640
24672
  type: 'string',
24641
24673
  },
24642
24674
  display_name: { type: 'string' },
24675
+ errors: {
24676
+ description: 'Errors associated with the `acs_access_group`.',
24677
+ items: {
24678
+ description: 'Error associated with the `acs_access_group`.',
24679
+ discriminator: { propertyName: 'error_code' },
24680
+ oneOf: [
24681
+ {
24682
+ 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).',
24683
+ properties: {
24684
+ created_at: {
24685
+ description: 'Date and time at which Seam created the error.',
24686
+ format: 'date-time',
24687
+ type: 'string',
24688
+ },
24689
+ error_code: {
24690
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24691
+ enum: ['failed_to_create_on_acs_system'],
24692
+ type: 'string',
24693
+ },
24694
+ message: {
24695
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
24696
+ type: 'string',
24697
+ },
24698
+ },
24699
+ required: ['created_at', 'message', 'error_code'],
24700
+ type: 'object',
24701
+ },
24702
+ ],
24703
+ },
24704
+ type: 'array',
24705
+ },
24643
24706
  external_type: {
24644
24707
  description: 'Brand-specific terminology for the access group type.',
24645
24708
  enum: [
@@ -25057,6 +25120,7 @@ export default {
25057
25120
  'external_type',
25058
25121
  'external_type_display_name',
25059
25122
  'created_at',
25123
+ 'errors',
25060
25124
  'warnings',
25061
25125
  'pending_mutations',
25062
25126
  'is_managed',
@@ -31412,7 +31476,8 @@ export default {
31412
31476
  in: 'query',
31413
31477
  name: 'access_grant_key',
31414
31478
  schema: {
31415
- description: 'Filter Access Grants by access_grant_key.',
31479
+ description: 'Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key.',
31480
+ nullable: true,
31416
31481
  type: 'string',
31417
31482
  },
31418
31483
  },
@@ -31477,7 +31542,8 @@ export default {
31477
31542
  type: 'array',
31478
31543
  },
31479
31544
  access_grant_key: {
31480
- description: 'Filter Access Grants by access_grant_key.',
31545
+ description: 'Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key.',
31546
+ nullable: true,
31481
31547
  type: 'string',
31482
31548
  },
31483
31549
  acs_entrance_id: {