@seamapi/types 1.1210.0 → 1.1212.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/lib/seam/connect/models/events/access-codes.d.ts +156 -156
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -42
- package/lib/seam/connect/models/events/access-methods.d.ts +48 -48
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -42
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -18
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -48
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/common.d.ts +3 -3
- package/lib/seam/connect/models/events/common.js +0 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -12
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -48
- package/lib/seam/connect/models/events/devices.d.ts +523 -228
- package/lib/seam/connect/models/events/devices.js +64 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -6
- package/lib/seam/connect/models/events/phones.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +496 -352
- package/lib/seam/connect/models/events/spaces.d.ts +18 -18
- package/lib/seam/connect/openapi.js +411 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1081 -591
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +0 -1
- package/src/lib/seam/connect/models/events/devices.ts +100 -0
- package/src/lib/seam/connect/openapi.ts +439 -0
- package/src/lib/seam/connect/route-types.ts +1168 -585
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10
10
|
acs_system_id: z.ZodString;
|
|
@@ -19,9 +19,9 @@ export declare const acs_user_deleted_event: z.ZodObject<{
|
|
|
19
19
|
acs_system_id: string;
|
|
20
20
|
event_id: string;
|
|
21
21
|
occurred_at: string;
|
|
22
|
+
event_description: string;
|
|
22
23
|
event_type: "acs_user.deleted";
|
|
23
24
|
connected_account_id?: string | undefined;
|
|
24
|
-
event_description?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
created_at: string;
|
|
@@ -29,9 +29,9 @@ export declare const acs_user_deleted_event: z.ZodObject<{
|
|
|
29
29
|
acs_system_id: string;
|
|
30
30
|
event_id: string;
|
|
31
31
|
occurred_at: string;
|
|
32
|
+
event_description: string;
|
|
32
33
|
event_type: "acs_user.deleted";
|
|
33
34
|
connected_account_id?: string | undefined;
|
|
34
|
-
event_description?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
|
|
37
37
|
export declare const acs_user_created_event: z.ZodObject<{
|
|
@@ -39,7 +39,7 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
39
39
|
workspace_id: z.ZodString;
|
|
40
40
|
created_at: z.ZodString;
|
|
41
41
|
occurred_at: z.ZodString;
|
|
42
|
-
event_description: z.
|
|
42
|
+
event_description: z.ZodString;
|
|
43
43
|
} & {
|
|
44
44
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
45
45
|
acs_system_id: z.ZodString;
|
|
@@ -54,9 +54,9 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
54
54
|
acs_system_id: string;
|
|
55
55
|
event_id: string;
|
|
56
56
|
occurred_at: string;
|
|
57
|
+
event_description: string;
|
|
57
58
|
event_type: "acs_user.created";
|
|
58
59
|
connected_account_id?: string | undefined;
|
|
59
|
-
event_description?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
workspace_id: string;
|
|
62
62
|
created_at: string;
|
|
@@ -64,9 +64,9 @@ export declare const acs_user_created_event: z.ZodObject<{
|
|
|
64
64
|
acs_system_id: string;
|
|
65
65
|
event_id: string;
|
|
66
66
|
occurred_at: string;
|
|
67
|
+
event_description: string;
|
|
67
68
|
event_type: "acs_user.created";
|
|
68
69
|
connected_account_id?: string | undefined;
|
|
69
|
-
event_description?: string | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
export type AcsUserCreatedEvent = z.infer<typeof acs_user_created_event>;
|
|
72
72
|
export declare const acs_user_events: readonly [z.ZodObject<{
|
|
@@ -74,7 +74,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
74
74
|
workspace_id: z.ZodString;
|
|
75
75
|
created_at: z.ZodString;
|
|
76
76
|
occurred_at: z.ZodString;
|
|
77
|
-
event_description: z.
|
|
77
|
+
event_description: z.ZodString;
|
|
78
78
|
} & {
|
|
79
79
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
80
80
|
acs_system_id: z.ZodString;
|
|
@@ -89,9 +89,9 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
89
89
|
acs_system_id: string;
|
|
90
90
|
event_id: string;
|
|
91
91
|
occurred_at: string;
|
|
92
|
+
event_description: string;
|
|
92
93
|
event_type: "acs_user.created";
|
|
93
94
|
connected_account_id?: string | undefined;
|
|
94
|
-
event_description?: string | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
workspace_id: string;
|
|
97
97
|
created_at: string;
|
|
@@ -99,15 +99,15 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
99
99
|
acs_system_id: string;
|
|
100
100
|
event_id: string;
|
|
101
101
|
occurred_at: string;
|
|
102
|
+
event_description: string;
|
|
102
103
|
event_type: "acs_user.created";
|
|
103
104
|
connected_account_id?: string | undefined;
|
|
104
|
-
event_description?: string | undefined;
|
|
105
105
|
}>, z.ZodObject<{
|
|
106
106
|
event_id: z.ZodString;
|
|
107
107
|
workspace_id: z.ZodString;
|
|
108
108
|
created_at: z.ZodString;
|
|
109
109
|
occurred_at: z.ZodString;
|
|
110
|
-
event_description: z.
|
|
110
|
+
event_description: z.ZodString;
|
|
111
111
|
} & {
|
|
112
112
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
113
113
|
acs_system_id: z.ZodString;
|
|
@@ -122,9 +122,9 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
122
122
|
acs_system_id: string;
|
|
123
123
|
event_id: string;
|
|
124
124
|
occurred_at: string;
|
|
125
|
+
event_description: string;
|
|
125
126
|
event_type: "acs_user.deleted";
|
|
126
127
|
connected_account_id?: string | undefined;
|
|
127
|
-
event_description?: string | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
workspace_id: string;
|
|
130
130
|
created_at: string;
|
|
@@ -132,7 +132,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
|
|
|
132
132
|
acs_system_id: string;
|
|
133
133
|
event_id: string;
|
|
134
134
|
occurred_at: string;
|
|
135
|
+
event_description: string;
|
|
135
136
|
event_type: "acs_user.deleted";
|
|
136
137
|
connected_account_id?: string | undefined;
|
|
137
|
-
event_description?: string | undefined;
|
|
138
138
|
}>];
|
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
action_attempt_id: z.ZodString;
|
|
10
10
|
action_type: z.ZodString;
|
|
@@ -21,10 +21,10 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
21
21
|
action_type: string;
|
|
22
22
|
event_id: string;
|
|
23
23
|
occurred_at: string;
|
|
24
|
+
event_description: string;
|
|
24
25
|
event_type: "action_attempt.lock_door.succeeded";
|
|
25
26
|
device_id?: string | undefined;
|
|
26
27
|
connected_account_id?: string | undefined;
|
|
27
|
-
event_description?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
status: string;
|
|
30
30
|
workspace_id: string;
|
|
@@ -33,17 +33,17 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
|
33
33
|
action_type: string;
|
|
34
34
|
event_id: string;
|
|
35
35
|
occurred_at: string;
|
|
36
|
+
event_description: string;
|
|
36
37
|
event_type: "action_attempt.lock_door.succeeded";
|
|
37
38
|
device_id?: string | undefined;
|
|
38
39
|
connected_account_id?: string | undefined;
|
|
39
|
-
event_description?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
42
42
|
event_id: z.ZodString;
|
|
43
43
|
workspace_id: z.ZodString;
|
|
44
44
|
created_at: z.ZodString;
|
|
45
45
|
occurred_at: z.ZodString;
|
|
46
|
-
event_description: z.
|
|
46
|
+
event_description: z.ZodString;
|
|
47
47
|
} & {
|
|
48
48
|
action_attempt_id: z.ZodString;
|
|
49
49
|
action_type: z.ZodString;
|
|
@@ -60,10 +60,10 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
60
60
|
action_type: string;
|
|
61
61
|
event_id: string;
|
|
62
62
|
occurred_at: string;
|
|
63
|
+
event_description: string;
|
|
63
64
|
event_type: "action_attempt.lock_door.failed";
|
|
64
65
|
device_id?: string | undefined;
|
|
65
66
|
connected_account_id?: string | undefined;
|
|
66
|
-
event_description?: string | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
status: string;
|
|
69
69
|
workspace_id: string;
|
|
@@ -72,17 +72,17 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
|
72
72
|
action_type: string;
|
|
73
73
|
event_id: string;
|
|
74
74
|
occurred_at: string;
|
|
75
|
+
event_description: string;
|
|
75
76
|
event_type: "action_attempt.lock_door.failed";
|
|
76
77
|
device_id?: string | undefined;
|
|
77
78
|
connected_account_id?: string | undefined;
|
|
78
|
-
event_description?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
81
81
|
event_id: z.ZodString;
|
|
82
82
|
workspace_id: z.ZodString;
|
|
83
83
|
created_at: z.ZodString;
|
|
84
84
|
occurred_at: z.ZodString;
|
|
85
|
-
event_description: z.
|
|
85
|
+
event_description: z.ZodString;
|
|
86
86
|
} & {
|
|
87
87
|
action_attempt_id: z.ZodString;
|
|
88
88
|
action_type: z.ZodString;
|
|
@@ -99,10 +99,10 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
99
99
|
action_type: string;
|
|
100
100
|
event_id: string;
|
|
101
101
|
occurred_at: string;
|
|
102
|
+
event_description: string;
|
|
102
103
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
103
104
|
device_id?: string | undefined;
|
|
104
105
|
connected_account_id?: string | undefined;
|
|
105
|
-
event_description?: string | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
status: string;
|
|
108
108
|
workspace_id: string;
|
|
@@ -111,17 +111,17 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
|
111
111
|
action_type: string;
|
|
112
112
|
event_id: string;
|
|
113
113
|
occurred_at: string;
|
|
114
|
+
event_description: string;
|
|
114
115
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
115
116
|
device_id?: string | undefined;
|
|
116
117
|
connected_account_id?: string | undefined;
|
|
117
|
-
event_description?: string | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
120
120
|
event_id: z.ZodString;
|
|
121
121
|
workspace_id: z.ZodString;
|
|
122
122
|
created_at: z.ZodString;
|
|
123
123
|
occurred_at: z.ZodString;
|
|
124
|
-
event_description: z.
|
|
124
|
+
event_description: z.ZodString;
|
|
125
125
|
} & {
|
|
126
126
|
action_attempt_id: z.ZodString;
|
|
127
127
|
action_type: z.ZodString;
|
|
@@ -138,10 +138,10 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
138
138
|
action_type: string;
|
|
139
139
|
event_id: string;
|
|
140
140
|
occurred_at: string;
|
|
141
|
+
event_description: string;
|
|
141
142
|
event_type: "action_attempt.unlock_door.failed";
|
|
142
143
|
device_id?: string | undefined;
|
|
143
144
|
connected_account_id?: string | undefined;
|
|
144
|
-
event_description?: string | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
status: string;
|
|
147
147
|
workspace_id: string;
|
|
@@ -150,17 +150,17 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
|
150
150
|
action_type: string;
|
|
151
151
|
event_id: string;
|
|
152
152
|
occurred_at: string;
|
|
153
|
+
event_description: string;
|
|
153
154
|
event_type: "action_attempt.unlock_door.failed";
|
|
154
155
|
device_id?: string | undefined;
|
|
155
156
|
connected_account_id?: string | undefined;
|
|
156
|
-
event_description?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
export declare const action_attempt_simulate_keypad_code_entry_succeeded_event: z.ZodObject<{
|
|
159
159
|
event_id: z.ZodString;
|
|
160
160
|
workspace_id: z.ZodString;
|
|
161
161
|
created_at: z.ZodString;
|
|
162
162
|
occurred_at: z.ZodString;
|
|
163
|
-
event_description: z.
|
|
163
|
+
event_description: z.ZodString;
|
|
164
164
|
} & {
|
|
165
165
|
action_attempt_id: z.ZodString;
|
|
166
166
|
action_type: z.ZodString;
|
|
@@ -177,10 +177,10 @@ export declare const action_attempt_simulate_keypad_code_entry_succeeded_event:
|
|
|
177
177
|
action_type: string;
|
|
178
178
|
event_id: string;
|
|
179
179
|
occurred_at: string;
|
|
180
|
+
event_description: string;
|
|
180
181
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
181
182
|
device_id?: string | undefined;
|
|
182
183
|
connected_account_id?: string | undefined;
|
|
183
|
-
event_description?: string | undefined;
|
|
184
184
|
}, {
|
|
185
185
|
status: string;
|
|
186
186
|
workspace_id: string;
|
|
@@ -189,17 +189,17 @@ export declare const action_attempt_simulate_keypad_code_entry_succeeded_event:
|
|
|
189
189
|
action_type: string;
|
|
190
190
|
event_id: string;
|
|
191
191
|
occurred_at: string;
|
|
192
|
+
event_description: string;
|
|
192
193
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
193
194
|
device_id?: string | undefined;
|
|
194
195
|
connected_account_id?: string | undefined;
|
|
195
|
-
event_description?: string | undefined;
|
|
196
196
|
}>;
|
|
197
197
|
export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.ZodObject<{
|
|
198
198
|
event_id: z.ZodString;
|
|
199
199
|
workspace_id: z.ZodString;
|
|
200
200
|
created_at: z.ZodString;
|
|
201
201
|
occurred_at: z.ZodString;
|
|
202
|
-
event_description: z.
|
|
202
|
+
event_description: z.ZodString;
|
|
203
203
|
} & {
|
|
204
204
|
action_attempt_id: z.ZodString;
|
|
205
205
|
action_type: z.ZodString;
|
|
@@ -216,10 +216,10 @@ export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.Z
|
|
|
216
216
|
action_type: string;
|
|
217
217
|
event_id: string;
|
|
218
218
|
occurred_at: string;
|
|
219
|
+
event_description: string;
|
|
219
220
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
220
221
|
device_id?: string | undefined;
|
|
221
222
|
connected_account_id?: string | undefined;
|
|
222
|
-
event_description?: string | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
status: string;
|
|
225
225
|
workspace_id: string;
|
|
@@ -228,17 +228,17 @@ export declare const action_attempt_simulate_keypad_code_entry_failed_event: z.Z
|
|
|
228
228
|
action_type: string;
|
|
229
229
|
event_id: string;
|
|
230
230
|
occurred_at: string;
|
|
231
|
+
event_description: string;
|
|
231
232
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
232
233
|
device_id?: string | undefined;
|
|
233
234
|
connected_account_id?: string | undefined;
|
|
234
|
-
event_description?: string | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_event: z.ZodObject<{
|
|
237
237
|
event_id: z.ZodString;
|
|
238
238
|
workspace_id: z.ZodString;
|
|
239
239
|
created_at: z.ZodString;
|
|
240
240
|
occurred_at: z.ZodString;
|
|
241
|
-
event_description: z.
|
|
241
|
+
event_description: z.ZodString;
|
|
242
242
|
} & {
|
|
243
243
|
action_attempt_id: z.ZodString;
|
|
244
244
|
action_type: z.ZodString;
|
|
@@ -255,10 +255,10 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_ev
|
|
|
255
255
|
action_type: string;
|
|
256
256
|
event_id: string;
|
|
257
257
|
occurred_at: string;
|
|
258
|
+
event_description: string;
|
|
258
259
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
259
260
|
device_id?: string | undefined;
|
|
260
261
|
connected_account_id?: string | undefined;
|
|
261
|
-
event_description?: string | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
status: string;
|
|
264
264
|
workspace_id: string;
|
|
@@ -267,17 +267,17 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_succeeded_ev
|
|
|
267
267
|
action_type: string;
|
|
268
268
|
event_id: string;
|
|
269
269
|
occurred_at: string;
|
|
270
|
+
event_description: string;
|
|
270
271
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
271
272
|
device_id?: string | undefined;
|
|
272
273
|
connected_account_id?: string | undefined;
|
|
273
|
-
event_description?: string | undefined;
|
|
274
274
|
}>;
|
|
275
275
|
export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event: z.ZodObject<{
|
|
276
276
|
event_id: z.ZodString;
|
|
277
277
|
workspace_id: z.ZodString;
|
|
278
278
|
created_at: z.ZodString;
|
|
279
279
|
occurred_at: z.ZodString;
|
|
280
|
-
event_description: z.
|
|
280
|
+
event_description: z.ZodString;
|
|
281
281
|
} & {
|
|
282
282
|
action_attempt_id: z.ZodString;
|
|
283
283
|
action_type: z.ZodString;
|
|
@@ -294,10 +294,10 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event
|
|
|
294
294
|
action_type: string;
|
|
295
295
|
event_id: string;
|
|
296
296
|
occurred_at: string;
|
|
297
|
+
event_description: string;
|
|
297
298
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
298
299
|
device_id?: string | undefined;
|
|
299
300
|
connected_account_id?: string | undefined;
|
|
300
|
-
event_description?: string | undefined;
|
|
301
301
|
}, {
|
|
302
302
|
status: string;
|
|
303
303
|
workspace_id: string;
|
|
@@ -306,17 +306,17 @@ export declare const action_attempt_simulate_manual_lock_via_keypad_failed_event
|
|
|
306
306
|
action_type: string;
|
|
307
307
|
event_id: string;
|
|
308
308
|
occurred_at: string;
|
|
309
|
+
event_description: string;
|
|
309
310
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
310
311
|
device_id?: string | undefined;
|
|
311
312
|
connected_account_id?: string | undefined;
|
|
312
|
-
event_description?: string | undefined;
|
|
313
313
|
}>;
|
|
314
314
|
export declare const action_attempt_events: (z.ZodObject<{
|
|
315
315
|
event_id: z.ZodString;
|
|
316
316
|
workspace_id: z.ZodString;
|
|
317
317
|
created_at: z.ZodString;
|
|
318
318
|
occurred_at: z.ZodString;
|
|
319
|
-
event_description: z.
|
|
319
|
+
event_description: z.ZodString;
|
|
320
320
|
} & {
|
|
321
321
|
action_attempt_id: z.ZodString;
|
|
322
322
|
action_type: z.ZodString;
|
|
@@ -333,10 +333,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
333
333
|
action_type: string;
|
|
334
334
|
event_id: string;
|
|
335
335
|
occurred_at: string;
|
|
336
|
+
event_description: string;
|
|
336
337
|
event_type: "action_attempt.lock_door.succeeded";
|
|
337
338
|
device_id?: string | undefined;
|
|
338
339
|
connected_account_id?: string | undefined;
|
|
339
|
-
event_description?: string | undefined;
|
|
340
340
|
}, {
|
|
341
341
|
status: string;
|
|
342
342
|
workspace_id: string;
|
|
@@ -345,16 +345,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
345
345
|
action_type: string;
|
|
346
346
|
event_id: string;
|
|
347
347
|
occurred_at: string;
|
|
348
|
+
event_description: string;
|
|
348
349
|
event_type: "action_attempt.lock_door.succeeded";
|
|
349
350
|
device_id?: string | undefined;
|
|
350
351
|
connected_account_id?: string | undefined;
|
|
351
|
-
event_description?: string | undefined;
|
|
352
352
|
}> | z.ZodObject<{
|
|
353
353
|
event_id: z.ZodString;
|
|
354
354
|
workspace_id: z.ZodString;
|
|
355
355
|
created_at: z.ZodString;
|
|
356
356
|
occurred_at: z.ZodString;
|
|
357
|
-
event_description: z.
|
|
357
|
+
event_description: z.ZodString;
|
|
358
358
|
} & {
|
|
359
359
|
action_attempt_id: z.ZodString;
|
|
360
360
|
action_type: z.ZodString;
|
|
@@ -371,10 +371,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
371
371
|
action_type: string;
|
|
372
372
|
event_id: string;
|
|
373
373
|
occurred_at: string;
|
|
374
|
+
event_description: string;
|
|
374
375
|
event_type: "action_attempt.lock_door.failed";
|
|
375
376
|
device_id?: string | undefined;
|
|
376
377
|
connected_account_id?: string | undefined;
|
|
377
|
-
event_description?: string | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
status: string;
|
|
380
380
|
workspace_id: string;
|
|
@@ -383,16 +383,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
383
383
|
action_type: string;
|
|
384
384
|
event_id: string;
|
|
385
385
|
occurred_at: string;
|
|
386
|
+
event_description: string;
|
|
386
387
|
event_type: "action_attempt.lock_door.failed";
|
|
387
388
|
device_id?: string | undefined;
|
|
388
389
|
connected_account_id?: string | undefined;
|
|
389
|
-
event_description?: string | undefined;
|
|
390
390
|
}> | z.ZodObject<{
|
|
391
391
|
event_id: z.ZodString;
|
|
392
392
|
workspace_id: z.ZodString;
|
|
393
393
|
created_at: z.ZodString;
|
|
394
394
|
occurred_at: z.ZodString;
|
|
395
|
-
event_description: z.
|
|
395
|
+
event_description: z.ZodString;
|
|
396
396
|
} & {
|
|
397
397
|
action_attempt_id: z.ZodString;
|
|
398
398
|
action_type: z.ZodString;
|
|
@@ -409,10 +409,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
409
409
|
action_type: string;
|
|
410
410
|
event_id: string;
|
|
411
411
|
occurred_at: string;
|
|
412
|
+
event_description: string;
|
|
412
413
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
413
414
|
device_id?: string | undefined;
|
|
414
415
|
connected_account_id?: string | undefined;
|
|
415
|
-
event_description?: string | undefined;
|
|
416
416
|
}, {
|
|
417
417
|
status: string;
|
|
418
418
|
workspace_id: string;
|
|
@@ -421,16 +421,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
421
421
|
action_type: string;
|
|
422
422
|
event_id: string;
|
|
423
423
|
occurred_at: string;
|
|
424
|
+
event_description: string;
|
|
424
425
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
425
426
|
device_id?: string | undefined;
|
|
426
427
|
connected_account_id?: string | undefined;
|
|
427
|
-
event_description?: string | undefined;
|
|
428
428
|
}> | z.ZodObject<{
|
|
429
429
|
event_id: z.ZodString;
|
|
430
430
|
workspace_id: z.ZodString;
|
|
431
431
|
created_at: z.ZodString;
|
|
432
432
|
occurred_at: z.ZodString;
|
|
433
|
-
event_description: z.
|
|
433
|
+
event_description: z.ZodString;
|
|
434
434
|
} & {
|
|
435
435
|
action_attempt_id: z.ZodString;
|
|
436
436
|
action_type: z.ZodString;
|
|
@@ -447,10 +447,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
447
447
|
action_type: string;
|
|
448
448
|
event_id: string;
|
|
449
449
|
occurred_at: string;
|
|
450
|
+
event_description: string;
|
|
450
451
|
event_type: "action_attempt.unlock_door.failed";
|
|
451
452
|
device_id?: string | undefined;
|
|
452
453
|
connected_account_id?: string | undefined;
|
|
453
|
-
event_description?: string | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
status: string;
|
|
456
456
|
workspace_id: string;
|
|
@@ -459,16 +459,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
459
459
|
action_type: string;
|
|
460
460
|
event_id: string;
|
|
461
461
|
occurred_at: string;
|
|
462
|
+
event_description: string;
|
|
462
463
|
event_type: "action_attempt.unlock_door.failed";
|
|
463
464
|
device_id?: string | undefined;
|
|
464
465
|
connected_account_id?: string | undefined;
|
|
465
|
-
event_description?: string | undefined;
|
|
466
466
|
}> | z.ZodObject<{
|
|
467
467
|
event_id: z.ZodString;
|
|
468
468
|
workspace_id: z.ZodString;
|
|
469
469
|
created_at: z.ZodString;
|
|
470
470
|
occurred_at: z.ZodString;
|
|
471
|
-
event_description: z.
|
|
471
|
+
event_description: z.ZodString;
|
|
472
472
|
} & {
|
|
473
473
|
action_attempt_id: z.ZodString;
|
|
474
474
|
action_type: z.ZodString;
|
|
@@ -485,10 +485,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
485
485
|
action_type: string;
|
|
486
486
|
event_id: string;
|
|
487
487
|
occurred_at: string;
|
|
488
|
+
event_description: string;
|
|
488
489
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
489
490
|
device_id?: string | undefined;
|
|
490
491
|
connected_account_id?: string | undefined;
|
|
491
|
-
event_description?: string | undefined;
|
|
492
492
|
}, {
|
|
493
493
|
status: string;
|
|
494
494
|
workspace_id: string;
|
|
@@ -497,16 +497,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
497
497
|
action_type: string;
|
|
498
498
|
event_id: string;
|
|
499
499
|
occurred_at: string;
|
|
500
|
+
event_description: string;
|
|
500
501
|
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
501
502
|
device_id?: string | undefined;
|
|
502
503
|
connected_account_id?: string | undefined;
|
|
503
|
-
event_description?: string | undefined;
|
|
504
504
|
}> | z.ZodObject<{
|
|
505
505
|
event_id: z.ZodString;
|
|
506
506
|
workspace_id: z.ZodString;
|
|
507
507
|
created_at: z.ZodString;
|
|
508
508
|
occurred_at: z.ZodString;
|
|
509
|
-
event_description: z.
|
|
509
|
+
event_description: z.ZodString;
|
|
510
510
|
} & {
|
|
511
511
|
action_attempt_id: z.ZodString;
|
|
512
512
|
action_type: z.ZodString;
|
|
@@ -523,10 +523,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
523
523
|
action_type: string;
|
|
524
524
|
event_id: string;
|
|
525
525
|
occurred_at: string;
|
|
526
|
+
event_description: string;
|
|
526
527
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
527
528
|
device_id?: string | undefined;
|
|
528
529
|
connected_account_id?: string | undefined;
|
|
529
|
-
event_description?: string | undefined;
|
|
530
530
|
}, {
|
|
531
531
|
status: string;
|
|
532
532
|
workspace_id: string;
|
|
@@ -535,16 +535,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
535
535
|
action_type: string;
|
|
536
536
|
event_id: string;
|
|
537
537
|
occurred_at: string;
|
|
538
|
+
event_description: string;
|
|
538
539
|
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
539
540
|
device_id?: string | undefined;
|
|
540
541
|
connected_account_id?: string | undefined;
|
|
541
|
-
event_description?: string | undefined;
|
|
542
542
|
}> | z.ZodObject<{
|
|
543
543
|
event_id: z.ZodString;
|
|
544
544
|
workspace_id: z.ZodString;
|
|
545
545
|
created_at: z.ZodString;
|
|
546
546
|
occurred_at: z.ZodString;
|
|
547
|
-
event_description: z.
|
|
547
|
+
event_description: z.ZodString;
|
|
548
548
|
} & {
|
|
549
549
|
action_attempt_id: z.ZodString;
|
|
550
550
|
action_type: z.ZodString;
|
|
@@ -561,10 +561,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
561
561
|
action_type: string;
|
|
562
562
|
event_id: string;
|
|
563
563
|
occurred_at: string;
|
|
564
|
+
event_description: string;
|
|
564
565
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
565
566
|
device_id?: string | undefined;
|
|
566
567
|
connected_account_id?: string | undefined;
|
|
567
|
-
event_description?: string | undefined;
|
|
568
568
|
}, {
|
|
569
569
|
status: string;
|
|
570
570
|
workspace_id: string;
|
|
@@ -573,16 +573,16 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
573
573
|
action_type: string;
|
|
574
574
|
event_id: string;
|
|
575
575
|
occurred_at: string;
|
|
576
|
+
event_description: string;
|
|
576
577
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
577
578
|
device_id?: string | undefined;
|
|
578
579
|
connected_account_id?: string | undefined;
|
|
579
|
-
event_description?: string | undefined;
|
|
580
580
|
}> | z.ZodObject<{
|
|
581
581
|
event_id: z.ZodString;
|
|
582
582
|
workspace_id: z.ZodString;
|
|
583
583
|
created_at: z.ZodString;
|
|
584
584
|
occurred_at: z.ZodString;
|
|
585
|
-
event_description: z.
|
|
585
|
+
event_description: z.ZodString;
|
|
586
586
|
} & {
|
|
587
587
|
action_attempt_id: z.ZodString;
|
|
588
588
|
action_type: z.ZodString;
|
|
@@ -599,10 +599,10 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
599
599
|
action_type: string;
|
|
600
600
|
event_id: string;
|
|
601
601
|
occurred_at: string;
|
|
602
|
+
event_description: string;
|
|
602
603
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
603
604
|
device_id?: string | undefined;
|
|
604
605
|
connected_account_id?: string | undefined;
|
|
605
|
-
event_description?: string | undefined;
|
|
606
606
|
}, {
|
|
607
607
|
status: string;
|
|
608
608
|
workspace_id: string;
|
|
@@ -611,8 +611,8 @@ export declare const action_attempt_events: (z.ZodObject<{
|
|
|
611
611
|
action_type: string;
|
|
612
612
|
event_id: string;
|
|
613
613
|
occurred_at: string;
|
|
614
|
+
event_description: string;
|
|
614
615
|
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
615
616
|
device_id?: string | undefined;
|
|
616
617
|
connected_account_id?: string | undefined;
|
|
617
|
-
event_description?: string | undefined;
|
|
618
618
|
}>)[];
|
|
@@ -4,7 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
} & {
|
|
9
9
|
client_session_id: z.ZodString;
|
|
10
10
|
} & {
|
|
@@ -15,16 +15,16 @@ export declare const client_session_deleted_event: z.ZodObject<{
|
|
|
15
15
|
client_session_id: string;
|
|
16
16
|
event_id: string;
|
|
17
17
|
occurred_at: string;
|
|
18
|
+
event_description: string;
|
|
18
19
|
event_type: "client_session.deleted";
|
|
19
|
-
event_description?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
workspace_id: string;
|
|
22
22
|
created_at: string;
|
|
23
23
|
client_session_id: string;
|
|
24
24
|
event_id: string;
|
|
25
25
|
occurred_at: string;
|
|
26
|
+
event_description: string;
|
|
26
27
|
event_type: "client_session.deleted";
|
|
27
|
-
event_description?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export type ClientSessionDeletedEvent = z.infer<typeof client_session_deleted_event>;
|
|
30
30
|
export declare const client_session_events: readonly [z.ZodObject<{
|
|
@@ -32,7 +32,7 @@ export declare const client_session_events: readonly [z.ZodObject<{
|
|
|
32
32
|
workspace_id: z.ZodString;
|
|
33
33
|
created_at: z.ZodString;
|
|
34
34
|
occurred_at: z.ZodString;
|
|
35
|
-
event_description: z.
|
|
35
|
+
event_description: z.ZodString;
|
|
36
36
|
} & {
|
|
37
37
|
client_session_id: z.ZodString;
|
|
38
38
|
} & {
|
|
@@ -43,14 +43,14 @@ export declare const client_session_events: readonly [z.ZodObject<{
|
|
|
43
43
|
client_session_id: string;
|
|
44
44
|
event_id: string;
|
|
45
45
|
occurred_at: string;
|
|
46
|
+
event_description: string;
|
|
46
47
|
event_type: "client_session.deleted";
|
|
47
|
-
event_description?: string | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
workspace_id: string;
|
|
50
50
|
created_at: string;
|
|
51
51
|
client_session_id: string;
|
|
52
52
|
event_id: string;
|
|
53
53
|
occurred_at: string;
|
|
54
|
+
event_description: string;
|
|
54
55
|
event_type: "client_session.deleted";
|
|
55
|
-
event_description?: string | undefined;
|
|
56
56
|
}>];
|
|
@@ -4,19 +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.
|
|
7
|
+
event_description: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
workspace_id: string;
|
|
10
10
|
created_at: string;
|
|
11
11
|
event_id: string;
|
|
12
12
|
occurred_at: string;
|
|
13
|
-
event_description
|
|
13
|
+
event_description: string;
|
|
14
14
|
}, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
event_id: string;
|
|
18
18
|
occurred_at: string;
|
|
19
|
-
event_description
|
|
19
|
+
event_description: string;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const common_event_error: z.ZodObject<{
|
|
22
22
|
created_at: z.ZodString;
|
|
@@ -10,7 +10,6 @@ export const common_event = z.object({
|
|
|
10
10
|
occurred_at: datetime.describe('Date and time at which the event occurred.'),
|
|
11
11
|
event_description: z
|
|
12
12
|
.string()
|
|
13
|
-
.optional()
|
|
14
13
|
.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.'),
|
|
15
14
|
});
|
|
16
15
|
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|