@seamapi/types 1.289.1 → 1.291.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 +1 @@
1
- {"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qUAAqU,CACtU;IACH,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oXAAoX,CACrX;IACH,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uaAAua,CACxa;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8ZAA8Z,CAC/Z;CACJ,CAAC,CAAA;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,eAAe;IACf,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,sCAAsC;CACvC,CAAC,CAAA;AAIF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1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AAC,gBAAgB,CAAC;SACvB,QAAQ,CAAC,0CAA0C,CAAC;IACvD,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC;KAClC,QAAQ,CACP,sGAAsG,CACvG,CAAA"}
1
+ {"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qUAAqU,CACtU;IACH,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oXAAoX,CACrX;IACH,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uaAAua,CACxa;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8ZAA8Z,CAC/Z;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;CAC/D,CAAC,CAAA;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,eAAe;IACf,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,sCAAs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,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,iIAAiI,CAClI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,qDAAqD,CAAC;IAClE,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,CAAC,0CAA0C,CAAC;IACvD,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC;KAClC,QAAQ,CACP,sGAAsG,CACvG,CAAA"}
@@ -0,0 +1,126 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_encoder_added_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
+ occurred_at: z.ZodString;
7
+ }, {
8
+ connected_account_id: z.ZodOptional<z.ZodString>;
9
+ acs_system_id: z.ZodString;
10
+ }>, {
11
+ acs_encoder_id: z.ZodString;
12
+ }>, {
13
+ event_type: z.ZodLiteral<"acs_encoder.added">;
14
+ }>, "strip", z.ZodTypeAny, {
15
+ created_at: string;
16
+ workspace_id: string;
17
+ acs_system_id: string;
18
+ acs_encoder_id: string;
19
+ event_id: string;
20
+ occurred_at: string;
21
+ event_type: "acs_encoder.added";
22
+ connected_account_id?: string | undefined;
23
+ }, {
24
+ created_at: string;
25
+ workspace_id: string;
26
+ acs_system_id: string;
27
+ acs_encoder_id: string;
28
+ event_id: string;
29
+ occurred_at: string;
30
+ event_type: "acs_encoder.added";
31
+ connected_account_id?: string | undefined;
32
+ }>;
33
+ export type AcsEncoderAddedEvent = z.infer<typeof acs_encoder_added_event>;
34
+ export declare const acs_encoder_removed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
35
+ event_id: z.ZodString;
36
+ workspace_id: z.ZodString;
37
+ created_at: z.ZodString;
38
+ occurred_at: z.ZodString;
39
+ }, {
40
+ connected_account_id: z.ZodOptional<z.ZodString>;
41
+ acs_system_id: z.ZodString;
42
+ }>, {
43
+ acs_encoder_id: z.ZodString;
44
+ }>, {
45
+ event_type: z.ZodLiteral<"acs_encoder.removed">;
46
+ }>, "strip", z.ZodTypeAny, {
47
+ created_at: string;
48
+ workspace_id: string;
49
+ acs_system_id: string;
50
+ acs_encoder_id: string;
51
+ event_id: string;
52
+ occurred_at: string;
53
+ event_type: "acs_encoder.removed";
54
+ connected_account_id?: string | undefined;
55
+ }, {
56
+ created_at: string;
57
+ workspace_id: string;
58
+ acs_system_id: string;
59
+ acs_encoder_id: string;
60
+ event_id: string;
61
+ occurred_at: string;
62
+ event_type: "acs_encoder.removed";
63
+ connected_account_id?: string | undefined;
64
+ }>;
65
+ export type AcsEncoderRemovedEvent = z.infer<typeof acs_encoder_removed_event>;
66
+ export declare const acs_encoder_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
67
+ event_id: z.ZodString;
68
+ workspace_id: z.ZodString;
69
+ created_at: z.ZodString;
70
+ occurred_at: z.ZodString;
71
+ }, {
72
+ connected_account_id: z.ZodOptional<z.ZodString>;
73
+ acs_system_id: z.ZodString;
74
+ }>, {
75
+ acs_encoder_id: z.ZodString;
76
+ }>, {
77
+ event_type: z.ZodLiteral<"acs_encoder.added">;
78
+ }>, "strip", z.ZodTypeAny, {
79
+ created_at: string;
80
+ workspace_id: string;
81
+ acs_system_id: string;
82
+ acs_encoder_id: string;
83
+ event_id: string;
84
+ occurred_at: string;
85
+ event_type: "acs_encoder.added";
86
+ connected_account_id?: string | undefined;
87
+ }, {
88
+ created_at: string;
89
+ workspace_id: string;
90
+ acs_system_id: string;
91
+ acs_encoder_id: string;
92
+ event_id: string;
93
+ occurred_at: string;
94
+ event_type: "acs_encoder.added";
95
+ connected_account_id?: string | undefined;
96
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
97
+ event_id: z.ZodString;
98
+ workspace_id: z.ZodString;
99
+ created_at: z.ZodString;
100
+ occurred_at: z.ZodString;
101
+ }, {
102
+ connected_account_id: z.ZodOptional<z.ZodString>;
103
+ acs_system_id: z.ZodString;
104
+ }>, {
105
+ acs_encoder_id: z.ZodString;
106
+ }>, {
107
+ event_type: z.ZodLiteral<"acs_encoder.removed">;
108
+ }>, "strip", z.ZodTypeAny, {
109
+ created_at: string;
110
+ workspace_id: string;
111
+ acs_system_id: string;
112
+ acs_encoder_id: string;
113
+ event_id: string;
114
+ occurred_at: string;
115
+ event_type: "acs_encoder.removed";
116
+ connected_account_id?: string | undefined;
117
+ }, {
118
+ created_at: string;
119
+ workspace_id: string;
120
+ acs_system_id: string;
121
+ acs_encoder_id: string;
122
+ event_id: string;
123
+ occurred_at: string;
124
+ event_type: "acs_encoder.removed";
125
+ connected_account_id?: string | undefined;
126
+ }>];
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { common_acs_event } from './common.js';
3
+ const acs_encoder_event = common_acs_event.extend({
4
+ acs_encoder_id: z.string().uuid().describe('ID of the ACS encoder.'),
5
+ });
6
+ export const acs_encoder_added_event = acs_encoder_event
7
+ .extend({
8
+ event_type: z.literal('acs_encoder.added'),
9
+ })
10
+ .describe('An ACS encoder was added.');
11
+ export const acs_encoder_removed_event = acs_encoder_event
12
+ .extend({
13
+ event_type: z.literal('acs_encoder.removed'),
14
+ })
15
+ .describe('An ACS encoder was removed.');
16
+ export const acs_encoder_events = [
17
+ acs_encoder_added_event,
18
+ acs_encoder_removed_event,
19
+ ];
20
+ //# sourceMappingURL=encoders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encoders.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/encoders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CACrE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB;KACrD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;CAC3C,CAAC;KACD,QAAQ,CAAC,2BAA2B,CAAC,CAAA;AAIxC,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC7C,CAAC;KACD,QAAQ,CAAC,6BAA6B,CAAC,CAAA;AAI1C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,uBAAuB;IACvB,yBAAyB;CACjB,CAAA"}
@@ -140,4 +140,64 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
140
140
  occurred_at: string;
141
141
  event_type: "acs_user.deleted";
142
142
  connected_account_id?: string | undefined;
143
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
144
+ event_id: import("zod").ZodString;
145
+ workspace_id: import("zod").ZodString;
146
+ created_at: import("zod").ZodString;
147
+ occurred_at: import("zod").ZodString;
148
+ }, {
149
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
150
+ acs_system_id: import("zod").ZodString;
151
+ }>, {
152
+ acs_encoder_id: import("zod").ZodString;
153
+ }>, {
154
+ event_type: import("zod").ZodLiteral<"acs_encoder.added">;
155
+ }>, "strip", import("zod").ZodTypeAny, {
156
+ created_at: string;
157
+ workspace_id: string;
158
+ acs_system_id: string;
159
+ acs_encoder_id: string;
160
+ event_id: string;
161
+ occurred_at: string;
162
+ event_type: "acs_encoder.added";
163
+ connected_account_id?: string | undefined;
164
+ }, {
165
+ created_at: string;
166
+ workspace_id: string;
167
+ acs_system_id: string;
168
+ acs_encoder_id: string;
169
+ event_id: string;
170
+ occurred_at: string;
171
+ event_type: "acs_encoder.added";
172
+ connected_account_id?: string | undefined;
173
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
174
+ event_id: import("zod").ZodString;
175
+ workspace_id: import("zod").ZodString;
176
+ created_at: import("zod").ZodString;
177
+ occurred_at: import("zod").ZodString;
178
+ }, {
179
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
180
+ acs_system_id: import("zod").ZodString;
181
+ }>, {
182
+ acs_encoder_id: import("zod").ZodString;
183
+ }>, {
184
+ event_type: import("zod").ZodLiteral<"acs_encoder.removed">;
185
+ }>, "strip", import("zod").ZodTypeAny, {
186
+ created_at: string;
187
+ workspace_id: string;
188
+ acs_system_id: string;
189
+ acs_encoder_id: string;
190
+ event_id: string;
191
+ occurred_at: string;
192
+ event_type: "acs_encoder.removed";
193
+ connected_account_id?: string | undefined;
194
+ }, {
195
+ created_at: string;
196
+ workspace_id: string;
197
+ acs_system_id: string;
198
+ acs_encoder_id: string;
199
+ event_id: string;
200
+ occurred_at: string;
201
+ event_type: "acs_encoder.removed";
202
+ connected_account_id?: string | undefined;
143
203
  }>];
@@ -1,9 +1,11 @@
1
1
  import { acs_credential_events } from './credentials.js';
2
+ import { acs_encoder_events } from './encoders.js';
2
3
  import { acs_system_events } from './systems.js';
3
4
  import { acs_user_events } from './users.js';
4
5
  export const acs_events = [
5
6
  ...acs_system_events,
6
7
  ...acs_credential_events,
7
8
  ...acs_user_events,
9
+ ...acs_encoder_events,
8
10
  ];
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,GAAG,iBAAiB;IACpB,GAAG,qBAAqB;IACxB,GAAG,eAAe;CACV,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,GAAG,iBAAiB;IACpB,GAAG,qBAAqB;IACxB,GAAG,eAAe;IAClB,GAAG,kBAAkB;CACb,CAAA"}
@@ -646,6 +646,66 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
646
646
  occurred_at: string;
647
647
  event_type: "acs_user.deleted";
648
648
  connected_account_id?: string | undefined;
649
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
650
+ event_id: z.ZodString;
651
+ workspace_id: z.ZodString;
652
+ created_at: z.ZodString;
653
+ occurred_at: z.ZodString;
654
+ }, {
655
+ connected_account_id: z.ZodOptional<z.ZodString>;
656
+ acs_system_id: z.ZodString;
657
+ }>, {
658
+ acs_encoder_id: z.ZodString;
659
+ }>, {
660
+ event_type: z.ZodLiteral<"acs_encoder.added">;
661
+ }>, "strip", z.ZodTypeAny, {
662
+ created_at: string;
663
+ workspace_id: string;
664
+ acs_system_id: string;
665
+ acs_encoder_id: string;
666
+ event_id: string;
667
+ occurred_at: string;
668
+ event_type: "acs_encoder.added";
669
+ connected_account_id?: string | undefined;
670
+ }, {
671
+ created_at: string;
672
+ workspace_id: string;
673
+ acs_system_id: string;
674
+ acs_encoder_id: string;
675
+ event_id: string;
676
+ occurred_at: string;
677
+ event_type: "acs_encoder.added";
678
+ connected_account_id?: string | undefined;
679
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
680
+ event_id: z.ZodString;
681
+ workspace_id: z.ZodString;
682
+ created_at: z.ZodString;
683
+ occurred_at: z.ZodString;
684
+ }, {
685
+ connected_account_id: z.ZodOptional<z.ZodString>;
686
+ acs_system_id: z.ZodString;
687
+ }>, {
688
+ acs_encoder_id: z.ZodString;
689
+ }>, {
690
+ event_type: z.ZodLiteral<"acs_encoder.removed">;
691
+ }>, "strip", z.ZodTypeAny, {
692
+ created_at: string;
693
+ workspace_id: string;
694
+ acs_system_id: string;
695
+ acs_encoder_id: string;
696
+ event_id: string;
697
+ occurred_at: string;
698
+ event_type: "acs_encoder.removed";
699
+ connected_account_id?: string | undefined;
700
+ }, {
701
+ created_at: string;
702
+ workspace_id: string;
703
+ acs_system_id: string;
704
+ acs_encoder_id: string;
705
+ event_id: string;
706
+ occurred_at: string;
707
+ event_type: "acs_encoder.removed";
708
+ connected_account_id?: string | undefined;
649
709
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
650
710
  event_id: z.ZodString;
651
711
  workspace_id: z.ZodString;
@@ -663,7 +663,7 @@ declare const _default: {
663
663
  description: string;
664
664
  items: {
665
665
  description: string;
666
- oneOf: ({
666
+ oneOf: {
667
667
  description: string;
668
668
  properties: {
669
669
  created_at: {
@@ -683,27 +683,7 @@ declare const _default: {
683
683
  };
684
684
  required: string[];
685
685
  type: string;
686
- } | {
687
- properties: {
688
- created_at: {
689
- description: string;
690
- format: string;
691
- type: string;
692
- };
693
- error_code: {
694
- description: string;
695
- enum: string[];
696
- type: string;
697
- };
698
- message: {
699
- description: string;
700
- type: string;
701
- };
702
- };
703
- required: string[];
704
- type: string;
705
- description?: never;
706
- })[];
686
+ }[];
707
687
  };
708
688
  type: string;
709
689
  };
@@ -728,6 +708,17 @@ declare const _default: {
728
708
  description: string;
729
709
  type: string;
730
710
  };
711
+ location: {
712
+ properties: {
713
+ time_zone: {
714
+ description: string;
715
+ nullable: boolean;
716
+ type: string;
717
+ };
718
+ };
719
+ required: string[];
720
+ type: string;
721
+ };
731
722
  name: {
732
723
  description: string;
733
724
  type: string;
@@ -649,6 +649,7 @@ export default {
649
649
  type: 'object',
650
650
  },
651
651
  {
652
+ description: '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.',
652
653
  properties: {
653
654
  created_at: {
654
655
  description: 'Date and time at which Seam created the error.',
@@ -656,7 +657,7 @@ export default {
656
657
  type: 'string',
657
658
  },
658
659
  error_code: {
659
- description: '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.',
660
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
660
661
  enum: ['salto_ks_subscription_limit_exceeded'],
661
662
  type: 'string',
662
663
  },
@@ -669,6 +670,7 @@ export default {
669
670
  type: 'object',
670
671
  },
671
672
  {
673
+ description: 'Indicates that the access system has been disconnected. See [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.',
672
674
  properties: {
673
675
  created_at: {
674
676
  description: 'Date and time at which Seam created the error.',
@@ -676,7 +678,7 @@ export default {
676
678
  type: 'string',
677
679
  },
678
680
  error_code: {
679
- description: 'Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.',
681
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
680
682
  enum: ['acs_system_disconnected'],
681
683
  type: 'string',
682
684
  },
@@ -689,6 +691,7 @@ export default {
689
691
  type: 'object',
690
692
  },
691
693
  {
694
+ description: 'Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access.',
692
695
  properties: {
693
696
  created_at: {
694
697
  description: 'Date and time at which Seam created the error.',
@@ -696,7 +699,7 @@ export default {
696
699
  type: 'string',
697
700
  },
698
701
  error_code: {
699
- description: 'Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.',
702
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
700
703
  enum: ['account_disconnected'],
701
704
  type: 'string',
702
705
  },
@@ -746,6 +749,17 @@ export default {
746
749
  description: 'Indicates if the `acs_system` is a credential manager.',
747
750
  type: 'boolean',
748
751
  },
752
+ location: {
753
+ properties: {
754
+ time_zone: {
755
+ description: 'Time zone in which the `acs_system` is located.',
756
+ nullable: true,
757
+ type: 'string',
758
+ },
759
+ },
760
+ required: ['time_zone'],
761
+ type: 'object',
762
+ },
749
763
  name: { description: 'Name of the `acs_system`.', type: 'string' },
750
764
  system_type: {
751
765
  deprecated: true,
@@ -823,6 +837,7 @@ export default {
823
837
  required: [
824
838
  'acs_system_id',
825
839
  'is_credential_manager',
840
+ 'location',
826
841
  'name',
827
842
  'created_at',
828
843
  'workspace_id',
@@ -13328,6 +13343,8 @@ export default {
13328
13343
  'acs_user.deleted',
13329
13344
  'acs_credential.deleted',
13330
13345
  'acs_credential.issued',
13346
+ 'acs_encoder.added',
13347
+ 'acs_encoder.removed',
13331
13348
  'enrollment_automation.deleted',
13332
13349
  'client_session.deleted',
13333
13350
  'action_attempt.lock_door.succeeded',
@@ -13402,6 +13419,8 @@ export default {
13402
13419
  'acs_user.deleted',
13403
13420
  'acs_credential.deleted',
13404
13421
  'acs_credential.issued',
13422
+ 'acs_encoder.added',
13423
+ 'acs_encoder.removed',
13405
13424
  'enrollment_automation.deleted',
13406
13425
  'client_session.deleted',
13407
13426
  'action_attempt.lock_door.succeeded',