@seamapi/types 1.946.0 → 1.948.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 +441 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1201 -24
- package/dist/index.cjs +441 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- 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 +5 -5
- package/lib/seam/connect/models/events/access-codes.d.ts +126 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +36 -0
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -0
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
- package/lib/seam/connect/models/events/common.d.ts +3 -0
- package/lib/seam/connect/models/events/common.js +4 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -0
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -0
- package/lib/seam/connect/models/events/devices.d.ts +210 -0
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +321 -0
- package/lib/seam/connect/models/events/spaces.d.ts +18 -0
- package/lib/seam/connect/openapi.js +432 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +867 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -13
- package/src/lib/seam/connect/models/events/common.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +539 -4
- package/src/lib/seam/connect/route-types.ts +867 -11
|
@@ -4,6 +4,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
10
|
acs_system_id: z.ZodString;
|
|
@@ -17,6 +18,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
|
|
|
17
18
|
occurred_at: string;
|
|
18
19
|
event_type: "acs_system.connected";
|
|
19
20
|
connected_account_id?: string | undefined;
|
|
21
|
+
event_description?: string | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
workspace_id: string;
|
|
22
24
|
created_at: string;
|
|
@@ -25,6 +27,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
|
|
|
25
27
|
occurred_at: string;
|
|
26
28
|
event_type: "acs_system.connected";
|
|
27
29
|
connected_account_id?: string | undefined;
|
|
30
|
+
event_description?: string | undefined;
|
|
28
31
|
}>;
|
|
29
32
|
export type AcsSystemConnectedEvent = z.infer<typeof acs_system_connected_event>;
|
|
30
33
|
export declare const acs_system_disconnected_event: z.ZodObject<{
|
|
@@ -32,6 +35,7 @@ export declare const acs_system_disconnected_event: z.ZodObject<{
|
|
|
32
35
|
workspace_id: z.ZodString;
|
|
33
36
|
created_at: z.ZodString;
|
|
34
37
|
occurred_at: z.ZodString;
|
|
38
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
35
39
|
} & {
|
|
36
40
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
37
41
|
acs_system_id: z.ZodString;
|
|
@@ -118,6 +122,7 @@ export declare const acs_system_disconnected_event: z.ZodObject<{
|
|
|
118
122
|
warning_code: string;
|
|
119
123
|
}[];
|
|
120
124
|
connected_account_id?: string | undefined;
|
|
125
|
+
event_description?: string | undefined;
|
|
121
126
|
}, {
|
|
122
127
|
workspace_id: string;
|
|
123
128
|
created_at: string;
|
|
@@ -146,6 +151,7 @@ export declare const acs_system_disconnected_event: z.ZodObject<{
|
|
|
146
151
|
warning_code: string;
|
|
147
152
|
}[];
|
|
148
153
|
connected_account_id?: string | undefined;
|
|
154
|
+
event_description?: string | undefined;
|
|
149
155
|
}>;
|
|
150
156
|
export type AcsSystemDisconnectedEvent = z.infer<typeof acs_system_disconnected_event>;
|
|
151
157
|
export declare const acs_system_added_event: z.ZodObject<{
|
|
@@ -153,6 +159,7 @@ export declare const acs_system_added_event: z.ZodObject<{
|
|
|
153
159
|
workspace_id: z.ZodString;
|
|
154
160
|
created_at: z.ZodString;
|
|
155
161
|
occurred_at: z.ZodString;
|
|
162
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
156
163
|
} & {
|
|
157
164
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
158
165
|
acs_system_id: z.ZodString;
|
|
@@ -166,6 +173,7 @@ export declare const acs_system_added_event: z.ZodObject<{
|
|
|
166
173
|
occurred_at: string;
|
|
167
174
|
event_type: "acs_system.added";
|
|
168
175
|
connected_account_id?: string | undefined;
|
|
176
|
+
event_description?: string | undefined;
|
|
169
177
|
}, {
|
|
170
178
|
workspace_id: string;
|
|
171
179
|
created_at: string;
|
|
@@ -174,6 +182,7 @@ export declare const acs_system_added_event: z.ZodObject<{
|
|
|
174
182
|
occurred_at: string;
|
|
175
183
|
event_type: "acs_system.added";
|
|
176
184
|
connected_account_id?: string | undefined;
|
|
185
|
+
event_description?: string | undefined;
|
|
177
186
|
}>;
|
|
178
187
|
export type AcsSystemAddedEvent = z.infer<typeof acs_system_added_event>;
|
|
179
188
|
export declare const acs_system_events: readonly [z.ZodObject<{
|
|
@@ -181,6 +190,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
181
190
|
workspace_id: z.ZodString;
|
|
182
191
|
created_at: z.ZodString;
|
|
183
192
|
occurred_at: z.ZodString;
|
|
193
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
184
194
|
} & {
|
|
185
195
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
186
196
|
acs_system_id: z.ZodString;
|
|
@@ -194,6 +204,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
194
204
|
occurred_at: string;
|
|
195
205
|
event_type: "acs_system.connected";
|
|
196
206
|
connected_account_id?: string | undefined;
|
|
207
|
+
event_description?: string | undefined;
|
|
197
208
|
}, {
|
|
198
209
|
workspace_id: string;
|
|
199
210
|
created_at: string;
|
|
@@ -202,11 +213,13 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
202
213
|
occurred_at: string;
|
|
203
214
|
event_type: "acs_system.connected";
|
|
204
215
|
connected_account_id?: string | undefined;
|
|
216
|
+
event_description?: string | undefined;
|
|
205
217
|
}>, z.ZodObject<{
|
|
206
218
|
event_id: z.ZodString;
|
|
207
219
|
workspace_id: z.ZodString;
|
|
208
220
|
created_at: z.ZodString;
|
|
209
221
|
occurred_at: z.ZodString;
|
|
222
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
210
223
|
} & {
|
|
211
224
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
212
225
|
acs_system_id: z.ZodString;
|
|
@@ -220,6 +233,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
220
233
|
occurred_at: string;
|
|
221
234
|
event_type: "acs_system.added";
|
|
222
235
|
connected_account_id?: string | undefined;
|
|
236
|
+
event_description?: string | undefined;
|
|
223
237
|
}, {
|
|
224
238
|
workspace_id: string;
|
|
225
239
|
created_at: string;
|
|
@@ -228,11 +242,13 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
228
242
|
occurred_at: string;
|
|
229
243
|
event_type: "acs_system.added";
|
|
230
244
|
connected_account_id?: string | undefined;
|
|
245
|
+
event_description?: string | undefined;
|
|
231
246
|
}>, z.ZodObject<{
|
|
232
247
|
event_id: z.ZodString;
|
|
233
248
|
workspace_id: z.ZodString;
|
|
234
249
|
created_at: z.ZodString;
|
|
235
250
|
occurred_at: z.ZodString;
|
|
251
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
236
252
|
} & {
|
|
237
253
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
238
254
|
acs_system_id: z.ZodString;
|
|
@@ -319,6 +335,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
319
335
|
warning_code: string;
|
|
320
336
|
}[];
|
|
321
337
|
connected_account_id?: string | undefined;
|
|
338
|
+
event_description?: string | undefined;
|
|
322
339
|
}, {
|
|
323
340
|
workspace_id: string;
|
|
324
341
|
created_at: string;
|
|
@@ -347,4 +364,5 @@ export declare const acs_system_events: readonly [z.ZodObject<{
|
|
|
347
364
|
warning_code: string;
|
|
348
365
|
}[];
|
|
349
366
|
connected_account_id?: string | undefined;
|
|
367
|
+
event_description?: string | undefined;
|
|
350
368
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
10
|
acs_system_id: z.ZodString;
|
|
@@ -20,6 +21,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
|
|
|
20
21
|
occurred_at: string;
|
|
21
22
|
event_type: "acs_user.deleted";
|
|
22
23
|
connected_account_id?: string | undefined;
|
|
24
|
+
event_description?: string | undefined;
|
|
23
25
|
}, {
|
|
24
26
|
workspace_id: string;
|
|
25
27
|
created_at: string;
|
|
@@ -29,6 +31,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
|
|
|
29
31
|
occurred_at: string;
|
|
30
32
|
event_type: "acs_user.deleted";
|
|
31
33
|
connected_account_id?: string | undefined;
|
|
34
|
+
event_description?: string | undefined;
|
|
32
35
|
}>;
|
|
33
36
|
export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
|
|
34
37
|
export declare const acs_user_created_event: z.ZodObject<{
|
|
@@ -36,6 +39,7 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
36
39
|
workspace_id: z.ZodString;
|
|
37
40
|
created_at: z.ZodString;
|
|
38
41
|
occurred_at: z.ZodString;
|
|
42
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
39
43
|
} & {
|
|
40
44
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
45
|
acs_system_id: z.ZodString;
|
|
@@ -52,6 +56,7 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
52
56
|
occurred_at: string;
|
|
53
57
|
event_type: "acs_user.created";
|
|
54
58
|
connected_account_id?: string | undefined;
|
|
59
|
+
event_description?: string | undefined;
|
|
55
60
|
}, {
|
|
56
61
|
workspace_id: string;
|
|
57
62
|
created_at: string;
|
|
@@ -61,6 +66,7 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
61
66
|
occurred_at: string;
|
|
62
67
|
event_type: "acs_user.created";
|
|
63
68
|
connected_account_id?: string | undefined;
|
|
69
|
+
event_description?: string | undefined;
|
|
64
70
|
}>;
|
|
65
71
|
export type AcsUserCreatedEvent = z.infer<typeof acs_user_created_event>;
|
|
66
72
|
export declare const acs_user_events: readonly [z.ZodObject<{
|
|
@@ -68,6 +74,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
68
74
|
workspace_id: z.ZodString;
|
|
69
75
|
created_at: z.ZodString;
|
|
70
76
|
occurred_at: z.ZodString;
|
|
77
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
71
78
|
} & {
|
|
72
79
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
73
80
|
acs_system_id: z.ZodString;
|
|
@@ -84,6 +91,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
84
91
|
occurred_at: string;
|
|
85
92
|
event_type: "acs_user.created";
|
|
86
93
|
connected_account_id?: string | undefined;
|
|
94
|
+
event_description?: string | undefined;
|
|
87
95
|
}, {
|
|
88
96
|
workspace_id: string;
|
|
89
97
|
created_at: string;
|
|
@@ -93,11 +101,13 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
93
101
|
occurred_at: string;
|
|
94
102
|
event_type: "acs_user.created";
|
|
95
103
|
connected_account_id?: string | undefined;
|
|
104
|
+
event_description?: string | undefined;
|
|
96
105
|
}>, z.ZodObject<{
|
|
97
106
|
event_id: z.ZodString;
|
|
98
107
|
workspace_id: z.ZodString;
|
|
99
108
|
created_at: z.ZodString;
|
|
100
109
|
occurred_at: z.ZodString;
|
|
110
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
101
111
|
} & {
|
|
102
112
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
103
113
|
acs_system_id: z.ZodString;
|
|
@@ -114,6 +124,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
114
124
|
occurred_at: string;
|
|
115
125
|
event_type: "acs_user.deleted";
|
|
116
126
|
connected_account_id?: string | undefined;
|
|
127
|
+
event_description?: string | undefined;
|
|
117
128
|
}, {
|
|
118
129
|
workspace_id: string;
|
|
119
130
|
created_at: string;
|
|
@@ -123,4 +134,5 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
123
134
|
occurred_at: string;
|
|
124
135
|
event_type: "acs_user.deleted";
|
|
125
136
|
connected_account_id?: string | undefined;
|
|
137
|
+
event_description?: string | undefined;
|
|
126
138
|
}>];
|
|
@@ -4,6 +4,7 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
action_attempt_id: z.ZodString;
|
|
9
10
|
action_type: z.ZodString;
|
|
@@ -23,6 +24,7 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
23
24
|
event_type: "action_attempt.lock_door.succeeded";
|
|
24
25
|
device_id?: string | undefined;
|
|
25
26
|
connected_account_id?: string | undefined;
|
|
27
|
+
event_description?: string | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
status: string;
|
|
28
30
|
workspace_id: string;
|
|
@@ -34,12 +36,14 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
34
36
|
event_type: "action_attempt.lock_door.succeeded";
|
|
35
37
|
device_id?: string | undefined;
|
|
36
38
|
connected_account_id?: string | undefined;
|
|
39
|
+
event_description?: string | undefined;
|
|
37
40
|
}>;
|
|
38
41
|
export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
39
42
|
event_id: z.ZodString;
|
|
40
43
|
workspace_id: z.ZodString;
|
|
41
44
|
created_at: z.ZodString;
|
|
42
45
|
occurred_at: z.ZodString;
|
|
46
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
43
47
|
} & {
|
|
44
48
|
action_attempt_id: z.ZodString;
|
|
45
49
|
action_type: z.ZodString;
|
|
@@ -59,6 +63,7 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
59
63
|
event_type: "action_attempt.lock_door.failed";
|
|
60
64
|
device_id?: string | undefined;
|
|
61
65
|
connected_account_id?: string | undefined;
|
|
66
|
+
event_description?: string | undefined;
|
|
62
67
|
}, {
|
|
63
68
|
status: string;
|
|
64
69
|
workspace_id: string;
|
|
@@ -70,12 +75,14 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
70
75
|
event_type: "action_attempt.lock_door.failed";
|
|
71
76
|
device_id?: string | undefined;
|
|
72
77
|
connected_account_id?: string | undefined;
|
|
78
|
+
event_description?: string | undefined;
|
|
73
79
|
}>;
|
|
74
80
|
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
75
81
|
event_id: z.ZodString;
|
|
76
82
|
workspace_id: z.ZodString;
|
|
77
83
|
created_at: z.ZodString;
|
|
78
84
|
occurred_at: z.ZodString;
|
|
85
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
79
86
|
} & {
|
|
80
87
|
action_attempt_id: z.ZodString;
|
|
81
88
|
action_type: z.ZodString;
|
|
@@ -95,6 +102,7 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
95
102
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
96
103
|
device_id?: string | undefined;
|
|
97
104
|
connected_account_id?: string | undefined;
|
|
105
|
+
event_description?: string | undefined;
|
|
98
106
|
}, {
|
|
99
107
|
status: string;
|
|
100
108
|
workspace_id: string;
|
|
@@ -106,12 +114,14 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
106
114
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
107
115
|
device_id?: string | undefined;
|
|
108
116
|
connected_account_id?: string | undefined;
|
|
117
|
+
event_description?: string | undefined;
|
|
109
118
|
}>;
|
|
110
119
|
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
111
120
|
event_id: z.ZodString;
|
|
112
121
|
workspace_id: z.ZodString;
|
|
113
122
|
created_at: z.ZodString;
|
|
114
123
|
occurred_at: z.ZodString;
|
|
124
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
115
125
|
} & {
|
|
116
126
|
action_attempt_id: z.ZodString;
|
|
117
127
|
action_type: z.ZodString;
|
|
@@ -131,6 +141,7 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
131
141
|
event_type: "action_attempt.unlock_door.failed";
|
|
132
142
|
device_id?: string | undefined;
|
|
133
143
|
connected_account_id?: string | undefined;
|
|
144
|
+
event_description?: string | undefined;
|
|
134
145
|
}, {
|
|
135
146
|
status: string;
|
|
136
147
|
workspace_id: string;
|
|
@@ -142,12 +153,14 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
142
153
|
event_type: "action_attempt.unlock_door.failed";
|
|
143
154
|
device_id?: string | undefined;
|
|
144
155
|
connected_account_id?: string | undefined;
|
|
156
|
+
event_description?: string | undefined;
|
|
145
157
|
}>;
|
|
146
158
|
export declare const action_attempt_simulate_keypad_code_entry_succeeded_event: z.ZodObject<{
|
|
147
159
|
event_id: z.ZodString;
|
|
148
160
|
workspace_id: z.ZodString;
|
|
149
161
|
created_at: z.ZodString;
|
|
150
162
|
occurred_at: z.ZodString;
|
|
163
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
151
164
|
} & {
|
|
152
165
|
action_attempt_id: z.ZodString;
|
|
153
166
|
action_type: z.ZodString;
|
|
@@ -167,6 +180,7 @@ export declare const action_attempt_simulate_keypad_code_entry_succeeded_event:
|
|
|
167
180
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
168
181
|
device_id?: string | undefined;
|
|
169
182
|
connected_account_id?: string | undefined;
|
|
183
|
+
event_description?: string | undefined;
|
|
170
184
|
}, {
|
|
171
185
|
status: string;
|
|
172
186
|
workspace_id: string;
|
|
@@ -178,12 +192,14 @@ export declare const action_attempt_simulate_keypad_code_entry_succeeded_event:
|
|
|
178
192
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
179
193
|
device_id?: string | undefined;
|
|
180
194
|
connected_account_id?: string | undefined;
|
|
195
|
+
event_description?: string | undefined;
|
|
181
196
|
}>;
|
|
182
197
|
export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.ZodObject<{
|
|
183
198
|
event_id: z.ZodString;
|
|
184
199
|
workspace_id: z.ZodString;
|
|
185
200
|
created_at: z.ZodString;
|
|
186
201
|
occurred_at: z.ZodString;
|
|
202
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
187
203
|
} & {
|
|
188
204
|
action_attempt_id: z.ZodString;
|
|
189
205
|
action_type: z.ZodString;
|
|
@@ -203,6 +219,7 @@ export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.Z
|
|
|
203
219
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
204
220
|
device_id?: string | undefined;
|
|
205
221
|
connected_account_id?: string | undefined;
|
|
222
|
+
event_description?: string | undefined;
|
|
206
223
|
}, {
|
|
207
224
|
status: string;
|
|
208
225
|
workspace_id: string;
|
|
@@ -214,12 +231,14 @@ export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.Z
|
|
|
214
231
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
215
232
|
device_id?: string | undefined;
|
|
216
233
|
connected_account_id?: string | undefined;
|
|
234
|
+
event_description?: string | undefined;
|
|
217
235
|
}>;
|
|
218
236
|
export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_event: z.ZodObject<{
|
|
219
237
|
event_id: z.ZodString;
|
|
220
238
|
workspace_id: z.ZodString;
|
|
221
239
|
created_at: z.ZodString;
|
|
222
240
|
occurred_at: z.ZodString;
|
|
241
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
223
242
|
} & {
|
|
224
243
|
action_attempt_id: z.ZodString;
|
|
225
244
|
action_type: z.ZodString;
|
|
@@ -239,6 +258,7 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_ev
|
|
|
239
258
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
240
259
|
device_id?: string | undefined;
|
|
241
260
|
connected_account_id?: string | undefined;
|
|
261
|
+
event_description?: string | undefined;
|
|
242
262
|
}, {
|
|
243
263
|
status: string;
|
|
244
264
|
workspace_id: string;
|
|
@@ -250,12 +270,14 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_ev
|
|
|
250
270
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
251
271
|
device_id?: string | undefined;
|
|
252
272
|
connected_account_id?: string | undefined;
|
|
273
|
+
event_description?: string | undefined;
|
|
253
274
|
}>;
|
|
254
275
|
export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event: z.ZodObject<{
|
|
255
276
|
event_id: z.ZodString;
|
|
256
277
|
workspace_id: z.ZodString;
|
|
257
278
|
created_at: z.ZodString;
|
|
258
279
|
occurred_at: z.ZodString;
|
|
280
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
259
281
|
} & {
|
|
260
282
|
action_attempt_id: z.ZodString;
|
|
261
283
|
action_type: z.ZodString;
|
|
@@ -275,6 +297,7 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event
|
|
|
275
297
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
276
298
|
device_id?: string | undefined;
|
|
277
299
|
connected_account_id?: string | undefined;
|
|
300
|
+
event_description?: string | undefined;
|
|
278
301
|
}, {
|
|
279
302
|
status: string;
|
|
280
303
|
workspace_id: string;
|
|
@@ -286,12 +309,14 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event
|
|
|
286
309
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
287
310
|
device_id?: string | undefined;
|
|
288
311
|
connected_account_id?: string | undefined;
|
|
312
|
+
event_description?: string | undefined;
|
|
289
313
|
}>;
|
|
290
314
|
export declare const action_attempt_events: (z.ZodObject<{
|
|
291
315
|
event_id: z.ZodString;
|
|
292
316
|
workspace_id: z.ZodString;
|
|
293
317
|
created_at: z.ZodString;
|
|
294
318
|
occurred_at: z.ZodString;
|
|
319
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
295
320
|
} & {
|
|
296
321
|
action_attempt_id: z.ZodString;
|
|
297
322
|
action_type: z.ZodString;
|
|
@@ -311,6 +336,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
311
336
|
event_type: "action_attempt.lock_door.succeeded";
|
|
312
337
|
device_id?: string | undefined;
|
|
313
338
|
connected_account_id?: string | undefined;
|
|
339
|
+
event_description?: string | undefined;
|
|
314
340
|
}, {
|
|
315
341
|
status: string;
|
|
316
342
|
workspace_id: string;
|
|
@@ -322,11 +348,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
322
348
|
event_type: "action_attempt.lock_door.succeeded";
|
|
323
349
|
device_id?: string | undefined;
|
|
324
350
|
connected_account_id?: string | undefined;
|
|
351
|
+
event_description?: string | undefined;
|
|
325
352
|
}> | z.ZodObject<{
|
|
326
353
|
event_id: z.ZodString;
|
|
327
354
|
workspace_id: z.ZodString;
|
|
328
355
|
created_at: z.ZodString;
|
|
329
356
|
occurred_at: z.ZodString;
|
|
357
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
330
358
|
} & {
|
|
331
359
|
action_attempt_id: z.ZodString;
|
|
332
360
|
action_type: z.ZodString;
|
|
@@ -346,6 +374,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
346
374
|
event_type: "action_attempt.lock_door.failed";
|
|
347
375
|
device_id?: string | undefined;
|
|
348
376
|
connected_account_id?: string | undefined;
|
|
377
|
+
event_description?: string | undefined;
|
|
349
378
|
}, {
|
|
350
379
|
status: string;
|
|
351
380
|
workspace_id: string;
|
|
@@ -357,11 +386,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
357
386
|
event_type: "action_attempt.lock_door.failed";
|
|
358
387
|
device_id?: string | undefined;
|
|
359
388
|
connected_account_id?: string | undefined;
|
|
389
|
+
event_description?: string | undefined;
|
|
360
390
|
}> | z.ZodObject<{
|
|
361
391
|
event_id: z.ZodString;
|
|
362
392
|
workspace_id: z.ZodString;
|
|
363
393
|
created_at: z.ZodString;
|
|
364
394
|
occurred_at: z.ZodString;
|
|
395
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
365
396
|
} & {
|
|
366
397
|
action_attempt_id: z.ZodString;
|
|
367
398
|
action_type: z.ZodString;
|
|
@@ -381,6 +412,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
381
412
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
382
413
|
device_id?: string | undefined;
|
|
383
414
|
connected_account_id?: string | undefined;
|
|
415
|
+
event_description?: string | undefined;
|
|
384
416
|
}, {
|
|
385
417
|
status: string;
|
|
386
418
|
workspace_id: string;
|
|
@@ -392,11 +424,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
392
424
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
393
425
|
device_id?: string | undefined;
|
|
394
426
|
connected_account_id?: string | undefined;
|
|
427
|
+
event_description?: string | undefined;
|
|
395
428
|
}> | z.ZodObject<{
|
|
396
429
|
event_id: z.ZodString;
|
|
397
430
|
workspace_id: z.ZodString;
|
|
398
431
|
created_at: z.ZodString;
|
|
399
432
|
occurred_at: z.ZodString;
|
|
433
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
400
434
|
} & {
|
|
401
435
|
action_attempt_id: z.ZodString;
|
|
402
436
|
action_type: z.ZodString;
|
|
@@ -416,6 +450,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
416
450
|
event_type: "action_attempt.unlock_door.failed";
|
|
417
451
|
device_id?: string | undefined;
|
|
418
452
|
connected_account_id?: string | undefined;
|
|
453
|
+
event_description?: string | undefined;
|
|
419
454
|
}, {
|
|
420
455
|
status: string;
|
|
421
456
|
workspace_id: string;
|
|
@@ -427,11 +462,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
427
462
|
event_type: "action_attempt.unlock_door.failed";
|
|
428
463
|
device_id?: string | undefined;
|
|
429
464
|
connected_account_id?: string | undefined;
|
|
465
|
+
event_description?: string | undefined;
|
|
430
466
|
}> | z.ZodObject<{
|
|
431
467
|
event_id: z.ZodString;
|
|
432
468
|
workspace_id: z.ZodString;
|
|
433
469
|
created_at: z.ZodString;
|
|
434
470
|
occurred_at: z.ZodString;
|
|
471
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
435
472
|
} & {
|
|
436
473
|
action_attempt_id: z.ZodString;
|
|
437
474
|
action_type: z.ZodString;
|
|
@@ -451,6 +488,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
451
488
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
452
489
|
device_id?: string | undefined;
|
|
453
490
|
connected_account_id?: string | undefined;
|
|
491
|
+
event_description?: string | undefined;
|
|
454
492
|
}, {
|
|
455
493
|
status: string;
|
|
456
494
|
workspace_id: string;
|
|
@@ -462,11 +500,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
462
500
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
463
501
|
device_id?: string | undefined;
|
|
464
502
|
connected_account_id?: string | undefined;
|
|
503
|
+
event_description?: string | undefined;
|
|
465
504
|
}> | z.ZodObject<{
|
|
466
505
|
event_id: z.ZodString;
|
|
467
506
|
workspace_id: z.ZodString;
|
|
468
507
|
created_at: z.ZodString;
|
|
469
508
|
occurred_at: z.ZodString;
|
|
509
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
470
510
|
} & {
|
|
471
511
|
action_attempt_id: z.ZodString;
|
|
472
512
|
action_type: z.ZodString;
|
|
@@ -486,6 +526,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
486
526
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
487
527
|
device_id?: string | undefined;
|
|
488
528
|
connected_account_id?: string | undefined;
|
|
529
|
+
event_description?: string | undefined;
|
|
489
530
|
}, {
|
|
490
531
|
status: string;
|
|
491
532
|
workspace_id: string;
|
|
@@ -497,11 +538,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
497
538
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
498
539
|
device_id?: string | undefined;
|
|
499
540
|
connected_account_id?: string | undefined;
|
|
541
|
+
event_description?: string | undefined;
|
|
500
542
|
}> | z.ZodObject<{
|
|
501
543
|
event_id: z.ZodString;
|
|
502
544
|
workspace_id: z.ZodString;
|
|
503
545
|
created_at: z.ZodString;
|
|
504
546
|
occurred_at: z.ZodString;
|
|
547
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
505
548
|
} & {
|
|
506
549
|
action_attempt_id: z.ZodString;
|
|
507
550
|
action_type: z.ZodString;
|
|
@@ -521,6 +564,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
521
564
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
522
565
|
device_id?: string | undefined;
|
|
523
566
|
connected_account_id?: string | undefined;
|
|
567
|
+
event_description?: string | undefined;
|
|
524
568
|
}, {
|
|
525
569
|
status: string;
|
|
526
570
|
workspace_id: string;
|
|
@@ -532,11 +576,13 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
532
576
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
533
577
|
device_id?: string | undefined;
|
|
534
578
|
connected_account_id?: string | undefined;
|
|
579
|
+
event_description?: string | undefined;
|
|
535
580
|
}> | z.ZodObject<{
|
|
536
581
|
event_id: z.ZodString;
|
|
537
582
|
workspace_id: z.ZodString;
|
|
538
583
|
created_at: z.ZodString;
|
|
539
584
|
occurred_at: z.ZodString;
|
|
585
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
540
586
|
} & {
|
|
541
587
|
action_attempt_id: z.ZodString;
|
|
542
588
|
action_type: z.ZodString;
|
|
@@ -556,6 +602,7 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
556
602
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
557
603
|
device_id?: string | undefined;
|
|
558
604
|
connected_account_id?: string | undefined;
|
|
605
|
+
event_description?: string | undefined;
|
|
559
606
|
}, {
|
|
560
607
|
status: string;
|
|
561
608
|
workspace_id: string;
|
|
@@ -567,4 +614,5 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
567
614
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
568
615
|
device_id?: string | undefined;
|
|
569
616
|
connected_account_id?: string | undefined;
|
|
617
|
+
event_description?: string | undefined;
|
|
570
618
|
}>)[];
|
|
@@ -4,6 +4,7 @@ export declare const client_session_deleted_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
} & {
|
|
8
9
|
client_session_id: z.ZodString;
|
|
9
10
|
} & {
|
|
@@ -15,6 +16,7 @@ export declare const client_session_deleted_event: z.ZodObject<{
|
|
|
15
16
|
event_id: string;
|
|
16
17
|
occurred_at: string;
|
|
17
18
|
event_type: "client_session.deleted";
|
|
19
|
+
event_description?: string | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
workspace_id: string;
|
|
20
22
|
created_at: string;
|
|
@@ -22,6 +24,7 @@ export declare const client_session_deleted_event: z.ZodObject<{
|
|
|
22
24
|
event_id: string;
|
|
23
25
|
occurred_at: string;
|
|
24
26
|
event_type: "client_session.deleted";
|
|
27
|
+
event_description?: string | undefined;
|
|
25
28
|
}>;
|
|
26
29
|
export type ClientSessionDeletedEvent = z.infer<typeof client_session_deleted_event>;
|
|
27
30
|
export declare const client_session_events: readonly [z.ZodObject<{
|
|
@@ -29,6 +32,7 @@ export declare const client_session_events: readonly [z.ZodObject<{
|
|
|
29
32
|
workspace_id: z.ZodString;
|
|
30
33
|
created_at: z.ZodString;
|
|
31
34
|
occurred_at: z.ZodString;
|
|
35
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
32
36
|
} & {
|
|
33
37
|
client_session_id: z.ZodString;
|
|
34
38
|
} & {
|
|
@@ -40,6 +44,7 @@ export declare const client_session_events: readonly [z.ZodObject<{
|
|
|
40
44
|
event_id: string;
|
|
41
45
|
occurred_at: string;
|
|
42
46
|
event_type: "client_session.deleted";
|
|
47
|
+
event_description?: string | undefined;
|
|
43
48
|
}, {
|
|
44
49
|
workspace_id: string;
|
|
45
50
|
created_at: string;
|
|
@@ -47,4 +52,5 @@ export declare const client_session_events: readonly [z.ZodObject<{
|
|
|
47
52
|
event_id: string;
|
|
48
53
|
occurred_at: string;
|
|
49
54
|
event_type: "client_session.deleted";
|
|
55
|
+
event_description?: string | undefined;
|
|
50
56
|
}>];
|
|
@@ -4,16 +4,19 @@ export declare const common_event: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
8
9
|
workspace_id: string;
|
|
9
10
|
created_at: string;
|
|
10
11
|
event_id: string;
|
|
11
12
|
occurred_at: string;
|
|
13
|
+
event_description?: string | undefined;
|
|
12
14
|
}, {
|
|
13
15
|
workspace_id: string;
|
|
14
16
|
created_at: string;
|
|
15
17
|
event_id: string;
|
|
16
18
|
occurred_at: string;
|
|
19
|
+
event_description?: string | undefined;
|
|
17
20
|
}>;
|
|
18
21
|
export declare const common_event_error: z.ZodObject<{
|
|
19
22
|
created_at: z.ZodString;
|
|
@@ -13,6 +13,10 @@ export const common_event = z.object({
|
|
|
13
13
|
.string()
|
|
14
14
|
.datetime()
|
|
15
15
|
.describe('Date and time at which the event occurred.'),
|
|
16
|
+
event_description: z
|
|
17
|
+
.string()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.'),
|
|
16
20
|
});
|
|
17
21
|
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|
|
18
22
|
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
@@ -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,CAAC,gDAAgD,CAAC;IAC7D,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;
|
|
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,CAAC,gDAAgD,CAAC;IAC7D,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;IACzD,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oMAAoM,CACrM;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AACtG,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,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;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACxD,CAAC;KACD,QAAQ,CACP,gGAAgG,CACjG,CAAA;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,MAAM,CAAC;IACN,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;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5D,CAAC;KACD,QAAQ,CACP,oGAAoG,CACrG,CAAA"}
|