@seamapi/types 1.723.0 → 1.725.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 +8098 -2279
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +21305 -5507
- package/dist/index.cjs +8098 -2279
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +205 -142
- package/lib/seam/connect/models/access-codes/managed-access-code.js +57 -22
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +95 -52
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +5 -2
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +721 -12
- package/lib/seam/connect/models/access-grants/access-grant.js +75 -1
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +825 -8
- package/lib/seam/connect/models/access-grants/access-method.js +123 -1
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/access-grants/index.d.ts +1 -0
- package/lib/seam/connect/models/access-grants/index.js +1 -0
- package/lib/seam/connect/models/access-grants/index.js.map +1 -1
- package/lib/seam/connect/models/access-grants/pending-mutations.d.ts +255 -0
- package/lib/seam/connect/models/access-grants/pending-mutations.js +78 -0
- package/lib/seam/connect/models/access-grants/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +6 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -5
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +80 -80
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +0 -3
- package/lib/seam/connect/models/acs/metadata/salto-space.js +0 -5
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +36 -16
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/encode-credential.js +5 -5
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +13 -3
- package/lib/seam/connect/models/action-attempts/lock-door.js +8 -1
- package/lib/seam/connect/models/action-attempts/lock-door.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/scan-credential.js +5 -5
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +13 -3
- package/lib/seam/connect/models/action-attempts/unlock-door.js +8 -1
- package/lib/seam/connect/models/action-attempts/unlock-door.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +3952 -752
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +7 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +6 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +4 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +5 -0
- package/lib/seam/connect/models/customer/customer-portal.d.ts +169 -10
- package/lib/seam/connect/models/customer/customer-portal.js +46 -4
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +45 -38
- package/lib/seam/connect/models/devices/device-metadata.js +26 -9
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -5
- package/lib/seam/connect/models/devices/device-provider.js +2 -3
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +0 -2
- package/lib/seam/connect/models/devices/device-type.js +0 -2
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +203 -52
- package/lib/seam/connect/models/devices/device.js +31 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +97 -38
- package/lib/seam/connect/models/events/access-codes.d.ts +1390 -0
- package/lib/seam/connect/models/events/access-codes.js +41 -11
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +60 -0
- package/lib/seam/connect/models/events/access-methods.js +9 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +93 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +186 -0
- package/lib/seam/connect/models/events/acs/systems.js +19 -2
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.d.ts +332 -0
- package/lib/seam/connect/models/events/action-attempts.js +46 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +26 -0
- package/lib/seam/connect/models/events/common.js +22 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +140 -272
- package/lib/seam/connect/models/events/connected-accounts.js +17 -9
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +1128 -0
- package/lib/seam/connect/models/events/devices.js +39 -11
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +1675 -196
- package/lib/seam/connect/models/events/spaces.d.ts +12 -12
- package/lib/seam/connect/models/phones/phone-session.d.ts +0 -20
- package/lib/seam/connect/openapi.d.ts +6484 -2215
- package/lib/seam/connect/openapi.js +8922 -3442
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7211 -1139
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +1 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +76 -24
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +10 -2
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +92 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +162 -1
- package/src/lib/seam/connect/models/access-grants/index.ts +1 -0
- package/src/lib/seam/connect/models/access-grants/pending-mutations.ts +101 -0
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +8 -0
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +0 -5
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +5 -5
- package/src/lib/seam/connect/models/action-attempts/lock-door.ts +10 -1
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +5 -5
- package/src/lib/seam/connect/models/action-attempts/unlock-door.ts +10 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +10 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +7 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +66 -6
- package/src/lib/seam/connect/models/devices/device-metadata.ts +36 -10
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -3
- package/src/lib/seam/connect/models/devices/device-type.ts +0 -2
- package/src/lib/seam/connect/models/devices/device.ts +37 -0
- package/src/lib/seam/connect/models/events/access-codes.ts +49 -16
- package/src/lib/seam/connect/models/events/access-methods.ts +14 -0
- package/src/lib/seam/connect/models/events/acs/systems.ts +21 -3
- package/src/lib/seam/connect/models/events/action-attempts.ts +64 -0
- package/src/lib/seam/connect/models/events/common.ts +31 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +23 -11
- package/src/lib/seam/connect/models/events/devices.ts +51 -18
- package/src/lib/seam/connect/openapi.ts +8974 -2885
- package/src/lib/seam/connect/route-types.ts +8121 -1686
|
@@ -8,6 +8,8 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
8
8
|
action_attempt_id: z.ZodString;
|
|
9
9
|
action_type: z.ZodString;
|
|
10
10
|
status: z.ZodString;
|
|
11
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
11
13
|
} & {
|
|
12
14
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
13
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,6 +21,8 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
19
21
|
event_id: string;
|
|
20
22
|
occurred_at: string;
|
|
21
23
|
event_type: "action_attempt.lock_door.succeeded";
|
|
24
|
+
device_id?: string | undefined;
|
|
25
|
+
connected_account_id?: string | undefined;
|
|
22
26
|
}, {
|
|
23
27
|
status: string;
|
|
24
28
|
workspace_id: string;
|
|
@@ -28,6 +32,8 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
28
32
|
event_id: string;
|
|
29
33
|
occurred_at: string;
|
|
30
34
|
event_type: "action_attempt.lock_door.succeeded";
|
|
35
|
+
device_id?: string | undefined;
|
|
36
|
+
connected_account_id?: string | undefined;
|
|
31
37
|
}>;
|
|
32
38
|
export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
33
39
|
event_id: z.ZodString;
|
|
@@ -38,6 +44,8 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
38
44
|
action_attempt_id: z.ZodString;
|
|
39
45
|
action_type: z.ZodString;
|
|
40
46
|
status: z.ZodString;
|
|
47
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
48
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
49
|
} & {
|
|
42
50
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
43
51
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -49,6 +57,8 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
49
57
|
event_id: string;
|
|
50
58
|
occurred_at: string;
|
|
51
59
|
event_type: "action_attempt.lock_door.failed";
|
|
60
|
+
device_id?: string | undefined;
|
|
61
|
+
connected_account_id?: string | undefined;
|
|
52
62
|
}, {
|
|
53
63
|
status: string;
|
|
54
64
|
workspace_id: string;
|
|
@@ -58,6 +68,8 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
58
68
|
event_id: string;
|
|
59
69
|
occurred_at: string;
|
|
60
70
|
event_type: "action_attempt.lock_door.failed";
|
|
71
|
+
device_id?: string | undefined;
|
|
72
|
+
connected_account_id?: string | undefined;
|
|
61
73
|
}>;
|
|
62
74
|
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
63
75
|
event_id: z.ZodString;
|
|
@@ -68,6 +80,8 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
68
80
|
action_attempt_id: z.ZodString;
|
|
69
81
|
action_type: z.ZodString;
|
|
70
82
|
status: z.ZodString;
|
|
83
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
84
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
71
85
|
} & {
|
|
72
86
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
73
87
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -79,6 +93,8 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
79
93
|
event_id: string;
|
|
80
94
|
occurred_at: string;
|
|
81
95
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
96
|
+
device_id?: string | undefined;
|
|
97
|
+
connected_account_id?: string | undefined;
|
|
82
98
|
}, {
|
|
83
99
|
status: string;
|
|
84
100
|
workspace_id: string;
|
|
@@ -88,6 +104,8 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
88
104
|
event_id: string;
|
|
89
105
|
occurred_at: string;
|
|
90
106
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
107
|
+
device_id?: string | undefined;
|
|
108
|
+
connected_account_id?: string | undefined;
|
|
91
109
|
}>;
|
|
92
110
|
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
93
111
|
event_id: z.ZodString;
|
|
@@ -98,6 +116,8 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
98
116
|
action_attempt_id: z.ZodString;
|
|
99
117
|
action_type: z.ZodString;
|
|
100
118
|
status: z.ZodString;
|
|
119
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
120
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
101
121
|
} & {
|
|
102
122
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
103
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -109,6 +129,8 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
109
129
|
event_id: string;
|
|
110
130
|
occurred_at: string;
|
|
111
131
|
event_type: "action_attempt.unlock_door.failed";
|
|
132
|
+
device_id?: string | undefined;
|
|
133
|
+
connected_account_id?: string | undefined;
|
|
112
134
|
}, {
|
|
113
135
|
status: string;
|
|
114
136
|
workspace_id: string;
|
|
@@ -118,6 +140,152 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
118
140
|
event_id: string;
|
|
119
141
|
occurred_at: string;
|
|
120
142
|
event_type: "action_attempt.unlock_door.failed";
|
|
143
|
+
device_id?: string | undefined;
|
|
144
|
+
connected_account_id?: string | undefined;
|
|
145
|
+
}>;
|
|
146
|
+
export declare const action_attempt_simulate_keypad_code_entry_succeeded_event: z.ZodObject<{
|
|
147
|
+
event_id: z.ZodString;
|
|
148
|
+
workspace_id: z.ZodString;
|
|
149
|
+
created_at: z.ZodString;
|
|
150
|
+
occurred_at: z.ZodString;
|
|
151
|
+
} & {
|
|
152
|
+
action_attempt_id: z.ZodString;
|
|
153
|
+
action_type: z.ZodString;
|
|
154
|
+
status: z.ZodString;
|
|
155
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
156
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
157
|
+
} & {
|
|
158
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.succeeded">;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
status: string;
|
|
161
|
+
workspace_id: string;
|
|
162
|
+
created_at: string;
|
|
163
|
+
action_attempt_id: string;
|
|
164
|
+
action_type: string;
|
|
165
|
+
event_id: string;
|
|
166
|
+
occurred_at: string;
|
|
167
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
168
|
+
device_id?: string | undefined;
|
|
169
|
+
connected_account_id?: string | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
status: string;
|
|
172
|
+
workspace_id: string;
|
|
173
|
+
created_at: string;
|
|
174
|
+
action_attempt_id: string;
|
|
175
|
+
action_type: string;
|
|
176
|
+
event_id: string;
|
|
177
|
+
occurred_at: string;
|
|
178
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
179
|
+
device_id?: string | undefined;
|
|
180
|
+
connected_account_id?: string | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.ZodObject<{
|
|
183
|
+
event_id: z.ZodString;
|
|
184
|
+
workspace_id: z.ZodString;
|
|
185
|
+
created_at: z.ZodString;
|
|
186
|
+
occurred_at: z.ZodString;
|
|
187
|
+
} & {
|
|
188
|
+
action_attempt_id: z.ZodString;
|
|
189
|
+
action_type: z.ZodString;
|
|
190
|
+
status: z.ZodString;
|
|
191
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
192
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
193
|
+
} & {
|
|
194
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.failed">;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
status: string;
|
|
197
|
+
workspace_id: string;
|
|
198
|
+
created_at: string;
|
|
199
|
+
action_attempt_id: string;
|
|
200
|
+
action_type: string;
|
|
201
|
+
event_id: string;
|
|
202
|
+
occurred_at: string;
|
|
203
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
204
|
+
device_id?: string | undefined;
|
|
205
|
+
connected_account_id?: string | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
status: string;
|
|
208
|
+
workspace_id: string;
|
|
209
|
+
created_at: string;
|
|
210
|
+
action_attempt_id: string;
|
|
211
|
+
action_type: string;
|
|
212
|
+
event_id: string;
|
|
213
|
+
occurred_at: string;
|
|
214
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
215
|
+
device_id?: string | undefined;
|
|
216
|
+
connected_account_id?: string | undefined;
|
|
217
|
+
}>;
|
|
218
|
+
export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_event: z.ZodObject<{
|
|
219
|
+
event_id: z.ZodString;
|
|
220
|
+
workspace_id: z.ZodString;
|
|
221
|
+
created_at: z.ZodString;
|
|
222
|
+
occurred_at: z.ZodString;
|
|
223
|
+
} & {
|
|
224
|
+
action_attempt_id: z.ZodString;
|
|
225
|
+
action_type: z.ZodString;
|
|
226
|
+
status: z.ZodString;
|
|
227
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
228
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
229
|
+
} & {
|
|
230
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.succeeded">;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
status: string;
|
|
233
|
+
workspace_id: string;
|
|
234
|
+
created_at: string;
|
|
235
|
+
action_attempt_id: string;
|
|
236
|
+
action_type: string;
|
|
237
|
+
event_id: string;
|
|
238
|
+
occurred_at: string;
|
|
239
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
240
|
+
device_id?: string | undefined;
|
|
241
|
+
connected_account_id?: string | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
status: string;
|
|
244
|
+
workspace_id: string;
|
|
245
|
+
created_at: string;
|
|
246
|
+
action_attempt_id: string;
|
|
247
|
+
action_type: string;
|
|
248
|
+
event_id: string;
|
|
249
|
+
occurred_at: string;
|
|
250
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
251
|
+
device_id?: string | undefined;
|
|
252
|
+
connected_account_id?: string | undefined;
|
|
253
|
+
}>;
|
|
254
|
+
export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event: z.ZodObject<{
|
|
255
|
+
event_id: z.ZodString;
|
|
256
|
+
workspace_id: z.ZodString;
|
|
257
|
+
created_at: z.ZodString;
|
|
258
|
+
occurred_at: z.ZodString;
|
|
259
|
+
} & {
|
|
260
|
+
action_attempt_id: z.ZodString;
|
|
261
|
+
action_type: z.ZodString;
|
|
262
|
+
status: z.ZodString;
|
|
263
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
264
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
265
|
+
} & {
|
|
266
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.failed">;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
status: string;
|
|
269
|
+
workspace_id: string;
|
|
270
|
+
created_at: string;
|
|
271
|
+
action_attempt_id: string;
|
|
272
|
+
action_type: string;
|
|
273
|
+
event_id: string;
|
|
274
|
+
occurred_at: string;
|
|
275
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
276
|
+
device_id?: string | undefined;
|
|
277
|
+
connected_account_id?: string | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
status: string;
|
|
280
|
+
workspace_id: string;
|
|
281
|
+
created_at: string;
|
|
282
|
+
action_attempt_id: string;
|
|
283
|
+
action_type: string;
|
|
284
|
+
event_id: string;
|
|
285
|
+
occurred_at: string;
|
|
286
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
287
|
+
device_id?: string | undefined;
|
|
288
|
+
connected_account_id?: string | undefined;
|
|
121
289
|
}>;
|
|
122
290
|
export declare const action_attempt_events: (z.ZodObject<{
|
|
123
291
|
event_id: z.ZodString;
|
|
@@ -128,6 +296,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
128
296
|
action_attempt_id: z.ZodString;
|
|
129
297
|
action_type: z.ZodString;
|
|
130
298
|
status: z.ZodString;
|
|
299
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
300
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
131
301
|
} & {
|
|
132
302
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
133
303
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -139,6 +309,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
139
309
|
event_id: string;
|
|
140
310
|
occurred_at: string;
|
|
141
311
|
event_type: "action_attempt.lock_door.succeeded";
|
|
312
|
+
device_id?: string | undefined;
|
|
313
|
+
connected_account_id?: string | undefined;
|
|
142
314
|
}, {
|
|
143
315
|
status: string;
|
|
144
316
|
workspace_id: string;
|
|
@@ -148,6 +320,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
148
320
|
event_id: string;
|
|
149
321
|
occurred_at: string;
|
|
150
322
|
event_type: "action_attempt.lock_door.succeeded";
|
|
323
|
+
device_id?: string | undefined;
|
|
324
|
+
connected_account_id?: string | undefined;
|
|
151
325
|
}> | z.ZodObject<{
|
|
152
326
|
event_id: z.ZodString;
|
|
153
327
|
workspace_id: z.ZodString;
|
|
@@ -157,6 +331,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
157
331
|
action_attempt_id: z.ZodString;
|
|
158
332
|
action_type: z.ZodString;
|
|
159
333
|
status: z.ZodString;
|
|
334
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
335
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
160
336
|
} & {
|
|
161
337
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
162
338
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -168,6 +344,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
168
344
|
event_id: string;
|
|
169
345
|
occurred_at: string;
|
|
170
346
|
event_type: "action_attempt.lock_door.failed";
|
|
347
|
+
device_id?: string | undefined;
|
|
348
|
+
connected_account_id?: string | undefined;
|
|
171
349
|
}, {
|
|
172
350
|
status: string;
|
|
173
351
|
workspace_id: string;
|
|
@@ -177,6 +355,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
177
355
|
event_id: string;
|
|
178
356
|
occurred_at: string;
|
|
179
357
|
event_type: "action_attempt.lock_door.failed";
|
|
358
|
+
device_id?: string | undefined;
|
|
359
|
+
connected_account_id?: string | undefined;
|
|
180
360
|
}> | z.ZodObject<{
|
|
181
361
|
event_id: z.ZodString;
|
|
182
362
|
workspace_id: z.ZodString;
|
|
@@ -186,6 +366,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
186
366
|
action_attempt_id: z.ZodString;
|
|
187
367
|
action_type: z.ZodString;
|
|
188
368
|
status: z.ZodString;
|
|
369
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
370
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
189
371
|
} & {
|
|
190
372
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
191
373
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -197,6 +379,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
197
379
|
event_id: string;
|
|
198
380
|
occurred_at: string;
|
|
199
381
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
382
|
+
device_id?: string | undefined;
|
|
383
|
+
connected_account_id?: string | undefined;
|
|
200
384
|
}, {
|
|
201
385
|
status: string;
|
|
202
386
|
workspace_id: string;
|
|
@@ -206,6 +390,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
206
390
|
event_id: string;
|
|
207
391
|
occurred_at: string;
|
|
208
392
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
393
|
+
device_id?: string | undefined;
|
|
394
|
+
connected_account_id?: string | undefined;
|
|
209
395
|
}> | z.ZodObject<{
|
|
210
396
|
event_id: z.ZodString;
|
|
211
397
|
workspace_id: z.ZodString;
|
|
@@ -215,6 +401,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
215
401
|
action_attempt_id: z.ZodString;
|
|
216
402
|
action_type: z.ZodString;
|
|
217
403
|
status: z.ZodString;
|
|
404
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
405
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
218
406
|
} & {
|
|
219
407
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
220
408
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -226,6 +414,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
226
414
|
event_id: string;
|
|
227
415
|
occurred_at: string;
|
|
228
416
|
event_type: "action_attempt.unlock_door.failed";
|
|
417
|
+
device_id?: string | undefined;
|
|
418
|
+
connected_account_id?: string | undefined;
|
|
229
419
|
}, {
|
|
230
420
|
status: string;
|
|
231
421
|
workspace_id: string;
|
|
@@ -235,4 +425,146 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
235
425
|
event_id: string;
|
|
236
426
|
occurred_at: string;
|
|
237
427
|
event_type: "action_attempt.unlock_door.failed";
|
|
428
|
+
device_id?: string | undefined;
|
|
429
|
+
connected_account_id?: string | undefined;
|
|
430
|
+
}> | z.ZodObject<{
|
|
431
|
+
event_id: z.ZodString;
|
|
432
|
+
workspace_id: z.ZodString;
|
|
433
|
+
created_at: z.ZodString;
|
|
434
|
+
occurred_at: z.ZodString;
|
|
435
|
+
} & {
|
|
436
|
+
action_attempt_id: z.ZodString;
|
|
437
|
+
action_type: z.ZodString;
|
|
438
|
+
status: z.ZodString;
|
|
439
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
440
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
441
|
+
} & {
|
|
442
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.succeeded">;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
status: string;
|
|
445
|
+
workspace_id: string;
|
|
446
|
+
created_at: string;
|
|
447
|
+
action_attempt_id: string;
|
|
448
|
+
action_type: string;
|
|
449
|
+
event_id: string;
|
|
450
|
+
occurred_at: string;
|
|
451
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
452
|
+
device_id?: string | undefined;
|
|
453
|
+
connected_account_id?: string | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
status: string;
|
|
456
|
+
workspace_id: string;
|
|
457
|
+
created_at: string;
|
|
458
|
+
action_attempt_id: string;
|
|
459
|
+
action_type: string;
|
|
460
|
+
event_id: string;
|
|
461
|
+
occurred_at: string;
|
|
462
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
463
|
+
device_id?: string | undefined;
|
|
464
|
+
connected_account_id?: string | undefined;
|
|
465
|
+
}> | z.ZodObject<{
|
|
466
|
+
event_id: z.ZodString;
|
|
467
|
+
workspace_id: z.ZodString;
|
|
468
|
+
created_at: z.ZodString;
|
|
469
|
+
occurred_at: z.ZodString;
|
|
470
|
+
} & {
|
|
471
|
+
action_attempt_id: z.ZodString;
|
|
472
|
+
action_type: z.ZodString;
|
|
473
|
+
status: z.ZodString;
|
|
474
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
475
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
476
|
+
} & {
|
|
477
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.failed">;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
status: string;
|
|
480
|
+
workspace_id: string;
|
|
481
|
+
created_at: string;
|
|
482
|
+
action_attempt_id: string;
|
|
483
|
+
action_type: string;
|
|
484
|
+
event_id: string;
|
|
485
|
+
occurred_at: string;
|
|
486
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
487
|
+
device_id?: string | undefined;
|
|
488
|
+
connected_account_id?: string | undefined;
|
|
489
|
+
}, {
|
|
490
|
+
status: string;
|
|
491
|
+
workspace_id: string;
|
|
492
|
+
created_at: string;
|
|
493
|
+
action_attempt_id: string;
|
|
494
|
+
action_type: string;
|
|
495
|
+
event_id: string;
|
|
496
|
+
occurred_at: string;
|
|
497
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
498
|
+
device_id?: string | undefined;
|
|
499
|
+
connected_account_id?: string | undefined;
|
|
500
|
+
}> | z.ZodObject<{
|
|
501
|
+
event_id: z.ZodString;
|
|
502
|
+
workspace_id: z.ZodString;
|
|
503
|
+
created_at: z.ZodString;
|
|
504
|
+
occurred_at: z.ZodString;
|
|
505
|
+
} & {
|
|
506
|
+
action_attempt_id: z.ZodString;
|
|
507
|
+
action_type: z.ZodString;
|
|
508
|
+
status: z.ZodString;
|
|
509
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
510
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
511
|
+
} & {
|
|
512
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.succeeded">;
|
|
513
|
+
}, "strip", z.ZodTypeAny, {
|
|
514
|
+
status: string;
|
|
515
|
+
workspace_id: string;
|
|
516
|
+
created_at: string;
|
|
517
|
+
action_attempt_id: string;
|
|
518
|
+
action_type: string;
|
|
519
|
+
event_id: string;
|
|
520
|
+
occurred_at: string;
|
|
521
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
522
|
+
device_id?: string | undefined;
|
|
523
|
+
connected_account_id?: string | undefined;
|
|
524
|
+
}, {
|
|
525
|
+
status: string;
|
|
526
|
+
workspace_id: string;
|
|
527
|
+
created_at: string;
|
|
528
|
+
action_attempt_id: string;
|
|
529
|
+
action_type: string;
|
|
530
|
+
event_id: string;
|
|
531
|
+
occurred_at: string;
|
|
532
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
533
|
+
device_id?: string | undefined;
|
|
534
|
+
connected_account_id?: string | undefined;
|
|
535
|
+
}> | z.ZodObject<{
|
|
536
|
+
event_id: z.ZodString;
|
|
537
|
+
workspace_id: z.ZodString;
|
|
538
|
+
created_at: z.ZodString;
|
|
539
|
+
occurred_at: z.ZodString;
|
|
540
|
+
} & {
|
|
541
|
+
action_attempt_id: z.ZodString;
|
|
542
|
+
action_type: z.ZodString;
|
|
543
|
+
status: z.ZodString;
|
|
544
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
545
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
546
|
+
} & {
|
|
547
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.failed">;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
status: string;
|
|
550
|
+
workspace_id: string;
|
|
551
|
+
created_at: string;
|
|
552
|
+
action_attempt_id: string;
|
|
553
|
+
action_type: string;
|
|
554
|
+
event_id: string;
|
|
555
|
+
occurred_at: string;
|
|
556
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
557
|
+
device_id?: string | undefined;
|
|
558
|
+
connected_account_id?: string | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
status: string;
|
|
561
|
+
workspace_id: string;
|
|
562
|
+
created_at: string;
|
|
563
|
+
action_attempt_id: string;
|
|
564
|
+
action_type: string;
|
|
565
|
+
event_id: string;
|
|
566
|
+
occurred_at: string;
|
|
567
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
568
|
+
device_id?: string | undefined;
|
|
569
|
+
connected_account_id?: string | undefined;
|
|
238
570
|
}>)[];
|
|
@@ -7,6 +7,16 @@ const action_attempt_event = common_event.extend({
|
|
|
7
7
|
.describe('ID of the affected action attempt.'),
|
|
8
8
|
action_type: z.string().describe('Type of the action.'),
|
|
9
9
|
status: z.string().describe('Status of the action.'),
|
|
10
|
+
device_id: z
|
|
11
|
+
.string()
|
|
12
|
+
.uuid()
|
|
13
|
+
.optional()
|
|
14
|
+
.describe('ID of the device associated with the action attempt, if applicable.'),
|
|
15
|
+
connected_account_id: z
|
|
16
|
+
.string()
|
|
17
|
+
.uuid()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('ID of the connected account associated with the action attempt, if applicable.'),
|
|
10
20
|
});
|
|
11
21
|
export const action_attempt_lock_door_succeeded_event = action_attempt_event.extend({
|
|
12
22
|
event_type: z.literal('action_attempt.lock_door.succeeded'),
|
|
@@ -40,10 +50,46 @@ export const action_attempt_unlock_door_failed_event = action_attempt_event.exte
|
|
|
40
50
|
---
|
|
41
51
|
An unlock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.
|
|
42
52
|
`);
|
|
53
|
+
export const action_attempt_simulate_keypad_code_entry_succeeded_event = action_attempt_event.extend({
|
|
54
|
+
event_type: z.literal('action_attempt.simulate_keypad_code_entry.succeeded'),
|
|
55
|
+
}).describe(`
|
|
56
|
+
---
|
|
57
|
+
route_path: /action_attempts
|
|
58
|
+
---
|
|
59
|
+
A simulate keypad code entry [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.
|
|
60
|
+
`);
|
|
61
|
+
export const action_attempt_simulate_keypad_code_entry_failed_event = action_attempt_event.extend({
|
|
62
|
+
event_type: z.literal('action_attempt.simulate_keypad_code_entry.failed'),
|
|
63
|
+
}).describe(`
|
|
64
|
+
---
|
|
65
|
+
route_path: /action_attempts
|
|
66
|
+
---
|
|
67
|
+
A simulate keypad code entry [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.
|
|
68
|
+
`);
|
|
69
|
+
export const action_attempt_simulate_manual_lock_via_keypad_succeeded_event = action_attempt_event.extend({
|
|
70
|
+
event_type: z.literal('action_attempt.simulate_manual_lock_via_keypad.succeeded'),
|
|
71
|
+
}).describe(`
|
|
72
|
+
---
|
|
73
|
+
route_path: /action_attempts
|
|
74
|
+
---
|
|
75
|
+
A simulate manual lock via keypad [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.
|
|
76
|
+
`);
|
|
77
|
+
export const action_attempt_simulate_manual_lock_via_keypad_failed_event = action_attempt_event.extend({
|
|
78
|
+
event_type: z.literal('action_attempt.simulate_manual_lock_via_keypad.failed'),
|
|
79
|
+
}).describe(`
|
|
80
|
+
---
|
|
81
|
+
route_path: /action_attempts
|
|
82
|
+
---
|
|
83
|
+
A simulate manual lock via keypad [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.
|
|
84
|
+
`);
|
|
43
85
|
export const action_attempt_events = [
|
|
44
86
|
action_attempt_lock_door_succeeded_event,
|
|
45
87
|
action_attempt_lock_door_failed_event,
|
|
46
88
|
action_attempt_unlock_door_succeeded_event,
|
|
47
89
|
action_attempt_unlock_door_failed_event,
|
|
90
|
+
action_attempt_simulate_keypad_code_entry_succeeded_event,
|
|
91
|
+
action_attempt_simulate_keypad_code_entry_failed_event,
|
|
92
|
+
action_attempt_simulate_manual_lock_via_keypad_succeeded_event,
|
|
93
|
+
action_attempt_simulate_manual_lock_via_keypad_failed_event,
|
|
48
94
|
];
|
|
49
95
|
//# sourceMappingURL=action-attempts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-attempts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/action-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,oCAAoC,CAAC;IACjD,WAAW,EAAE,CAAC,CA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15,3 +15,29 @@ export declare const common_event: z.ZodObject<{
|
|
|
15
15
|
event_id: string;
|
|
16
16
|
occurred_at: string;
|
|
17
17
|
}>;
|
|
18
|
+
export declare const common_event_error: z.ZodObject<{
|
|
19
|
+
created_at: z.ZodString;
|
|
20
|
+
message: z.ZodString;
|
|
21
|
+
error_code: z.ZodString;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
message: string;
|
|
24
|
+
created_at: string;
|
|
25
|
+
error_code: string;
|
|
26
|
+
}, {
|
|
27
|
+
message: string;
|
|
28
|
+
created_at: string;
|
|
29
|
+
error_code: string;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const common_event_warning: z.ZodObject<{
|
|
32
|
+
created_at: z.ZodString;
|
|
33
|
+
message: z.ZodString;
|
|
34
|
+
warning_code: z.ZodString;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
message: string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
warning_code: string;
|
|
39
|
+
}, {
|
|
40
|
+
message: string;
|
|
41
|
+
created_at: string;
|
|
42
|
+
warning_code: string;
|
|
43
|
+
}>;
|
|
@@ -14,4 +14,26 @@ export const common_event = z.object({
|
|
|
14
14
|
.datetime()
|
|
15
15
|
.describe('Date and time at which the event occurred.'),
|
|
16
16
|
});
|
|
17
|
+
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|
|
18
|
+
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
19
|
+
export const common_event_error = z.object({
|
|
20
|
+
created_at: z
|
|
21
|
+
.string()
|
|
22
|
+
.datetime()
|
|
23
|
+
.describe('Date and time at which Seam created the error.'),
|
|
24
|
+
message: z
|
|
25
|
+
.string()
|
|
26
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
27
|
+
error_code: z.string().describe(error_code_description),
|
|
28
|
+
});
|
|
29
|
+
export const common_event_warning = z.object({
|
|
30
|
+
created_at: z
|
|
31
|
+
.string()
|
|
32
|
+
.datetime()
|
|
33
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
34
|
+
message: z
|
|
35
|
+
.string()
|
|
36
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
37
|
+
warning_code: z.string().describe(warning_code_description),
|
|
38
|
+
});
|
|
17
39
|
//# sourceMappingURL=common.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,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