@seamapi/types 1.362.0 → 1.363.1
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 +228 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +940 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +1097 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +67 -0
- 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 +155 -0
- package/lib/seam/connect/models/events/acs/entrances.d.ts +125 -0
- package/lib/seam/connect/models/events/acs/entrances.js +28 -0
- package/lib/seam/connect/models/events/acs/entrances.js.map +1 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +60 -0
- package/lib/seam/connect/models/events/acs/index.js +2 -0
- package/lib/seam/connect/models/events/acs/index.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +61 -1
- package/lib/seam/connect/openapi.d.ts +136 -2
- package/lib/seam/connect/openapi.js +162 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +341 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +79 -0
- package/src/lib/seam/connect/models/events/acs/entrances.ts +36 -0
- package/src/lib/seam/connect/models/events/acs/index.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +170 -0
- package/src/lib/seam/connect/route-types.ts +347 -0
|
@@ -12,250 +12,307 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
12
12
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
13
13
|
message: z.ZodString;
|
|
14
14
|
is_access_code_error: z.ZodLiteral<true>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
15
16
|
}, {
|
|
16
17
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
17
18
|
}>, "strip", z.ZodTypeAny, {
|
|
18
19
|
message: string;
|
|
19
20
|
error_code: "smartthings_failed_to_set_access_code";
|
|
20
21
|
is_access_code_error: true;
|
|
22
|
+
created_at?: string | undefined;
|
|
21
23
|
}, {
|
|
22
24
|
message: string;
|
|
23
25
|
error_code: "smartthings_failed_to_set_access_code";
|
|
24
26
|
is_access_code_error: true;
|
|
27
|
+
created_at?: string | undefined;
|
|
25
28
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
26
29
|
message: z.ZodString;
|
|
27
30
|
is_access_code_error: z.ZodLiteral<true>;
|
|
31
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
28
32
|
}, {
|
|
29
33
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
30
34
|
}>, "strip", z.ZodTypeAny, {
|
|
31
35
|
message: string;
|
|
32
36
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
33
37
|
is_access_code_error: true;
|
|
38
|
+
created_at?: string | undefined;
|
|
34
39
|
}, {
|
|
35
40
|
message: string;
|
|
36
41
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
37
42
|
is_access_code_error: true;
|
|
43
|
+
created_at?: string | undefined;
|
|
38
44
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
39
45
|
message: z.ZodString;
|
|
40
46
|
is_access_code_error: z.ZodLiteral<true>;
|
|
47
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
41
48
|
}, {
|
|
42
49
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
43
50
|
}>, "strip", z.ZodTypeAny, {
|
|
44
51
|
message: string;
|
|
45
52
|
error_code: "failed_to_set_on_device";
|
|
46
53
|
is_access_code_error: true;
|
|
54
|
+
created_at?: string | undefined;
|
|
47
55
|
}, {
|
|
48
56
|
message: string;
|
|
49
57
|
error_code: "failed_to_set_on_device";
|
|
50
58
|
is_access_code_error: true;
|
|
59
|
+
created_at?: string | undefined;
|
|
51
60
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
52
61
|
message: z.ZodString;
|
|
53
62
|
is_access_code_error: z.ZodLiteral<true>;
|
|
63
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
54
64
|
}, {
|
|
55
65
|
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
56
66
|
}>, "strip", z.ZodTypeAny, {
|
|
57
67
|
message: string;
|
|
58
68
|
error_code: "failed_to_remove_from_device";
|
|
59
69
|
is_access_code_error: true;
|
|
70
|
+
created_at?: string | undefined;
|
|
60
71
|
}, {
|
|
61
72
|
message: string;
|
|
62
73
|
error_code: "failed_to_remove_from_device";
|
|
63
74
|
is_access_code_error: true;
|
|
75
|
+
created_at?: string | undefined;
|
|
64
76
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
65
77
|
message: z.ZodString;
|
|
66
78
|
is_access_code_error: z.ZodLiteral<true>;
|
|
79
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
67
80
|
}, {
|
|
68
81
|
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
69
82
|
}>, "strip", z.ZodTypeAny, {
|
|
70
83
|
message: string;
|
|
71
84
|
error_code: "duplicate_code_on_device";
|
|
72
85
|
is_access_code_error: true;
|
|
86
|
+
created_at?: string | undefined;
|
|
73
87
|
}, {
|
|
74
88
|
message: string;
|
|
75
89
|
error_code: "duplicate_code_on_device";
|
|
76
90
|
is_access_code_error: true;
|
|
91
|
+
created_at?: string | undefined;
|
|
77
92
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
78
93
|
message: z.ZodString;
|
|
79
94
|
is_access_code_error: z.ZodLiteral<true>;
|
|
95
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
80
96
|
}, {
|
|
81
97
|
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
82
98
|
}>, "strip", z.ZodTypeAny, {
|
|
83
99
|
message: string;
|
|
84
100
|
error_code: "duplicate_code_attempt_prevented";
|
|
85
101
|
is_access_code_error: true;
|
|
102
|
+
created_at?: string | undefined;
|
|
86
103
|
}, {
|
|
87
104
|
message: string;
|
|
88
105
|
error_code: "duplicate_code_attempt_prevented";
|
|
89
106
|
is_access_code_error: true;
|
|
107
|
+
created_at?: string | undefined;
|
|
90
108
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
91
109
|
message: z.ZodString;
|
|
92
110
|
is_access_code_error: z.ZodLiteral<true>;
|
|
111
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
93
112
|
}, {
|
|
94
113
|
error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
|
|
95
114
|
}>, "strip", z.ZodTypeAny, {
|
|
96
115
|
message: string;
|
|
97
116
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
98
117
|
is_access_code_error: true;
|
|
118
|
+
created_at?: string | undefined;
|
|
99
119
|
}, {
|
|
100
120
|
message: string;
|
|
101
121
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
102
122
|
is_access_code_error: true;
|
|
123
|
+
created_at?: string | undefined;
|
|
103
124
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
104
125
|
message: z.ZodString;
|
|
105
126
|
is_access_code_error: z.ZodLiteral<true>;
|
|
127
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
106
128
|
}, {
|
|
107
129
|
error_code: z.ZodLiteral<"igloohome_bridge_offline">;
|
|
108
130
|
}>, "strip", z.ZodTypeAny, {
|
|
109
131
|
message: string;
|
|
110
132
|
error_code: "igloohome_bridge_offline";
|
|
111
133
|
is_access_code_error: true;
|
|
134
|
+
created_at?: string | undefined;
|
|
112
135
|
}, {
|
|
113
136
|
message: string;
|
|
114
137
|
error_code: "igloohome_bridge_offline";
|
|
115
138
|
is_access_code_error: true;
|
|
139
|
+
created_at?: string | undefined;
|
|
116
140
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
117
141
|
message: z.ZodString;
|
|
118
142
|
is_access_code_error: z.ZodLiteral<true>;
|
|
143
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
119
144
|
}, {
|
|
120
145
|
error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
|
|
121
146
|
}>, "strip", z.ZodTypeAny, {
|
|
122
147
|
message: string;
|
|
123
148
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
124
149
|
is_access_code_error: true;
|
|
150
|
+
created_at?: string | undefined;
|
|
125
151
|
}, {
|
|
126
152
|
message: string;
|
|
127
153
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
128
154
|
is_access_code_error: true;
|
|
155
|
+
created_at?: string | undefined;
|
|
129
156
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
130
157
|
message: z.ZodString;
|
|
131
158
|
is_access_code_error: z.ZodLiteral<true>;
|
|
159
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
132
160
|
}, {
|
|
133
161
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
134
162
|
}>, "strip", z.ZodTypeAny, {
|
|
135
163
|
message: string;
|
|
136
164
|
error_code: "kwikset_unable_to_confirm_code";
|
|
137
165
|
is_access_code_error: true;
|
|
166
|
+
created_at?: string | undefined;
|
|
138
167
|
}, {
|
|
139
168
|
message: string;
|
|
140
169
|
error_code: "kwikset_unable_to_confirm_code";
|
|
141
170
|
is_access_code_error: true;
|
|
171
|
+
created_at?: string | undefined;
|
|
142
172
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
143
173
|
message: z.ZodString;
|
|
144
174
|
is_access_code_error: z.ZodLiteral<true>;
|
|
175
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
145
176
|
}, {
|
|
146
177
|
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
147
178
|
}>, "strip", z.ZodTypeAny, {
|
|
148
179
|
message: string;
|
|
149
180
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
150
181
|
is_access_code_error: true;
|
|
182
|
+
created_at?: string | undefined;
|
|
151
183
|
}, {
|
|
152
184
|
message: string;
|
|
153
185
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
154
186
|
is_access_code_error: true;
|
|
187
|
+
created_at?: string | undefined;
|
|
155
188
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
156
189
|
message: z.ZodString;
|
|
157
190
|
is_access_code_error: z.ZodLiteral<true>;
|
|
191
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
158
192
|
}, {
|
|
159
193
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
160
194
|
}>, "strip", z.ZodTypeAny, {
|
|
161
195
|
message: string;
|
|
162
196
|
error_code: "code_modified_external_to_seam";
|
|
163
197
|
is_access_code_error: true;
|
|
198
|
+
created_at?: string | undefined;
|
|
164
199
|
}, {
|
|
165
200
|
message: string;
|
|
166
201
|
error_code: "code_modified_external_to_seam";
|
|
167
202
|
is_access_code_error: true;
|
|
203
|
+
created_at?: string | undefined;
|
|
168
204
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
169
205
|
message: z.ZodString;
|
|
170
206
|
is_access_code_error: z.ZodLiteral<true>;
|
|
207
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
171
208
|
}, {
|
|
172
209
|
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
173
210
|
}>, "strip", z.ZodTypeAny, {
|
|
174
211
|
message: string;
|
|
175
212
|
error_code: "august_lock_invalid_code_length";
|
|
176
213
|
is_access_code_error: true;
|
|
214
|
+
created_at?: string | undefined;
|
|
177
215
|
}, {
|
|
178
216
|
message: string;
|
|
179
217
|
error_code: "august_lock_invalid_code_length";
|
|
180
218
|
is_access_code_error: true;
|
|
219
|
+
created_at?: string | undefined;
|
|
181
220
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
182
221
|
message: z.ZodString;
|
|
183
222
|
is_access_code_error: z.ZodLiteral<true>;
|
|
223
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
184
224
|
}, {
|
|
185
225
|
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
186
226
|
}>, "strip", z.ZodTypeAny, {
|
|
187
227
|
message: string;
|
|
188
228
|
error_code: "august_device_programming_delay";
|
|
189
229
|
is_access_code_error: true;
|
|
230
|
+
created_at?: string | undefined;
|
|
190
231
|
}, {
|
|
191
232
|
message: string;
|
|
192
233
|
error_code: "august_device_programming_delay";
|
|
193
234
|
is_access_code_error: true;
|
|
235
|
+
created_at?: string | undefined;
|
|
194
236
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
195
237
|
message: z.ZodString;
|
|
196
238
|
is_access_code_error: z.ZodLiteral<true>;
|
|
239
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
197
240
|
}, {
|
|
198
241
|
error_code: z.ZodLiteral<"august_device_slots_full">;
|
|
199
242
|
}>, "strip", z.ZodTypeAny, {
|
|
200
243
|
message: string;
|
|
201
244
|
error_code: "august_device_slots_full";
|
|
202
245
|
is_access_code_error: true;
|
|
246
|
+
created_at?: string | undefined;
|
|
203
247
|
}, {
|
|
204
248
|
message: string;
|
|
205
249
|
error_code: "august_device_slots_full";
|
|
206
250
|
is_access_code_error: true;
|
|
251
|
+
created_at?: string | undefined;
|
|
207
252
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
208
253
|
message: z.ZodString;
|
|
209
254
|
is_access_code_error: z.ZodLiteral<true>;
|
|
255
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
210
256
|
}, {
|
|
211
257
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
212
258
|
}>, "strip", z.ZodTypeAny, {
|
|
213
259
|
message: string;
|
|
214
260
|
error_code: "august_lock_missing_keypad";
|
|
215
261
|
is_access_code_error: true;
|
|
262
|
+
created_at?: string | undefined;
|
|
216
263
|
}, {
|
|
217
264
|
message: string;
|
|
218
265
|
error_code: "august_lock_missing_keypad";
|
|
219
266
|
is_access_code_error: true;
|
|
267
|
+
created_at?: string | undefined;
|
|
220
268
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
221
269
|
message: z.ZodString;
|
|
222
270
|
is_access_code_error: z.ZodLiteral<true>;
|
|
271
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
223
272
|
}, {
|
|
224
273
|
error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
|
|
225
274
|
}>, "strip", z.ZodTypeAny, {
|
|
226
275
|
message: string;
|
|
227
276
|
error_code: "salto_site_user_not_subscribed";
|
|
228
277
|
is_access_code_error: true;
|
|
278
|
+
created_at?: string | undefined;
|
|
229
279
|
}, {
|
|
230
280
|
message: string;
|
|
231
281
|
error_code: "salto_site_user_not_subscribed";
|
|
232
282
|
is_access_code_error: true;
|
|
283
|
+
created_at?: string | undefined;
|
|
233
284
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
234
285
|
message: z.ZodString;
|
|
235
286
|
is_access_code_error: z.ZodLiteral<true>;
|
|
287
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
236
288
|
}, {
|
|
237
289
|
error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
|
|
238
290
|
}>, "strip", z.ZodTypeAny, {
|
|
239
291
|
message: string;
|
|
240
292
|
error_code: "hubitat_device_programming_delay";
|
|
241
293
|
is_access_code_error: true;
|
|
294
|
+
created_at?: string | undefined;
|
|
242
295
|
}, {
|
|
243
296
|
message: string;
|
|
244
297
|
error_code: "hubitat_device_programming_delay";
|
|
245
298
|
is_access_code_error: true;
|
|
299
|
+
created_at?: string | undefined;
|
|
246
300
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
247
301
|
message: z.ZodString;
|
|
248
302
|
is_access_code_error: z.ZodLiteral<true>;
|
|
303
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
249
304
|
}, {
|
|
250
305
|
error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
|
|
251
306
|
}>, "strip", z.ZodTypeAny, {
|
|
252
307
|
message: string;
|
|
253
308
|
error_code: "hubitat_no_free_positions_available";
|
|
254
309
|
is_access_code_error: true;
|
|
310
|
+
created_at?: string | undefined;
|
|
255
311
|
}, {
|
|
256
312
|
message: string;
|
|
257
313
|
error_code: "hubitat_no_free_positions_available";
|
|
258
314
|
is_access_code_error: true;
|
|
315
|
+
created_at?: string | undefined;
|
|
259
316
|
}>, ...(z.ZodObject<z.objectUtil.extendShape<{
|
|
260
317
|
created_at: z.ZodString;
|
|
261
318
|
message: z.ZodString;
|
|
@@ -551,124 +608,160 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
551
608
|
}>)[]]>, "many">;
|
|
552
609
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
553
610
|
message: z.ZodString;
|
|
611
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
554
612
|
}, {
|
|
555
613
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
556
614
|
}>, "strip", z.ZodTypeAny, {
|
|
557
615
|
message: string;
|
|
558
616
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
617
|
+
created_at?: string | undefined;
|
|
559
618
|
}, {
|
|
560
619
|
message: string;
|
|
561
620
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
621
|
+
created_at?: string | undefined;
|
|
562
622
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
563
623
|
message: z.ZodString;
|
|
624
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
564
625
|
}, {
|
|
565
626
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
566
627
|
}>, "strip", z.ZodTypeAny, {
|
|
567
628
|
message: string;
|
|
568
629
|
warning_code: "schlage_detected_duplicate";
|
|
630
|
+
created_at?: string | undefined;
|
|
569
631
|
}, {
|
|
570
632
|
message: string;
|
|
571
633
|
warning_code: "schlage_detected_duplicate";
|
|
634
|
+
created_at?: string | undefined;
|
|
572
635
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
573
636
|
message: z.ZodString;
|
|
637
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
574
638
|
}, {
|
|
575
639
|
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
576
640
|
}>, "strip", z.ZodTypeAny, {
|
|
577
641
|
message: string;
|
|
578
642
|
warning_code: "schlage_creation_outage";
|
|
643
|
+
created_at?: string | undefined;
|
|
579
644
|
}, {
|
|
580
645
|
message: string;
|
|
581
646
|
warning_code: "schlage_creation_outage";
|
|
647
|
+
created_at?: string | undefined;
|
|
582
648
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
583
649
|
message: z.ZodString;
|
|
650
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
584
651
|
}, {
|
|
585
652
|
warning_code: z.ZodLiteral<"salto_office_mode">;
|
|
586
653
|
}>, "strip", z.ZodTypeAny, {
|
|
587
654
|
message: string;
|
|
588
655
|
warning_code: "salto_office_mode";
|
|
656
|
+
created_at?: string | undefined;
|
|
589
657
|
}, {
|
|
590
658
|
message: string;
|
|
591
659
|
warning_code: "salto_office_mode";
|
|
660
|
+
created_at?: string | undefined;
|
|
592
661
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
593
662
|
message: z.ZodString;
|
|
663
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
594
664
|
}, {
|
|
595
665
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
596
666
|
}>, "strip", z.ZodTypeAny, {
|
|
597
667
|
message: string;
|
|
598
668
|
warning_code: "code_modified_external_to_seam";
|
|
669
|
+
created_at?: string | undefined;
|
|
599
670
|
}, {
|
|
600
671
|
message: string;
|
|
601
672
|
warning_code: "code_modified_external_to_seam";
|
|
673
|
+
created_at?: string | undefined;
|
|
602
674
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
603
675
|
message: z.ZodString;
|
|
676
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
604
677
|
}, {
|
|
605
678
|
warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
|
|
606
679
|
}>, "strip", z.ZodTypeAny, {
|
|
607
680
|
message: string;
|
|
608
681
|
warning_code: "delay_in_setting_on_device";
|
|
682
|
+
created_at?: string | undefined;
|
|
609
683
|
}, {
|
|
610
684
|
message: string;
|
|
611
685
|
warning_code: "delay_in_setting_on_device";
|
|
686
|
+
created_at?: string | undefined;
|
|
612
687
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
613
688
|
message: z.ZodString;
|
|
689
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
614
690
|
}, {
|
|
615
691
|
warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
|
|
616
692
|
}>, "strip", z.ZodTypeAny, {
|
|
617
693
|
message: string;
|
|
618
694
|
warning_code: "delay_in_removing_from_device";
|
|
695
|
+
created_at?: string | undefined;
|
|
619
696
|
}, {
|
|
620
697
|
message: string;
|
|
621
698
|
warning_code: "delay_in_removing_from_device";
|
|
699
|
+
created_at?: string | undefined;
|
|
622
700
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
623
701
|
message: z.ZodString;
|
|
702
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
624
703
|
}, {
|
|
625
704
|
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
626
705
|
}>, "strip", z.ZodTypeAny, {
|
|
627
706
|
message: string;
|
|
628
707
|
warning_code: "third_party_integration_detected";
|
|
708
|
+
created_at?: string | undefined;
|
|
629
709
|
}, {
|
|
630
710
|
message: string;
|
|
631
711
|
warning_code: "third_party_integration_detected";
|
|
712
|
+
created_at?: string | undefined;
|
|
632
713
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
633
714
|
message: z.ZodString;
|
|
715
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
634
716
|
}, {
|
|
635
717
|
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
636
718
|
}>, "strip", z.ZodTypeAny, {
|
|
637
719
|
message: string;
|
|
638
720
|
warning_code: "august_device_programming_delay";
|
|
721
|
+
created_at?: string | undefined;
|
|
639
722
|
}, {
|
|
640
723
|
message: string;
|
|
641
724
|
warning_code: "august_device_programming_delay";
|
|
725
|
+
created_at?: string | undefined;
|
|
642
726
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
643
727
|
message: z.ZodString;
|
|
728
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
644
729
|
}, {
|
|
645
730
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
646
731
|
}>, "strip", z.ZodTypeAny, {
|
|
647
732
|
message: string;
|
|
648
733
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
734
|
+
created_at?: string | undefined;
|
|
649
735
|
}, {
|
|
650
736
|
message: string;
|
|
651
737
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
738
|
+
created_at?: string | undefined;
|
|
652
739
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
653
740
|
message: z.ZodString;
|
|
741
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
654
742
|
}, {
|
|
655
743
|
warning_code: z.ZodLiteral<"management_transferred">;
|
|
656
744
|
}>, "strip", z.ZodTypeAny, {
|
|
657
745
|
message: string;
|
|
658
746
|
warning_code: "management_transferred";
|
|
747
|
+
created_at?: string | undefined;
|
|
659
748
|
}, {
|
|
660
749
|
message: string;
|
|
661
750
|
warning_code: "management_transferred";
|
|
751
|
+
created_at?: string | undefined;
|
|
662
752
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
663
753
|
message: z.ZodString;
|
|
754
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
664
755
|
}, {
|
|
665
756
|
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
666
757
|
}>, "strip", z.ZodTypeAny, {
|
|
667
758
|
message: string;
|
|
668
759
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
760
|
+
created_at?: string | undefined;
|
|
669
761
|
}, {
|
|
670
762
|
message: string;
|
|
671
763
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
764
|
+
created_at?: string | undefined;
|
|
672
765
|
}>]>, "many">;
|
|
673
766
|
is_managed: z.ZodLiteral<true>;
|
|
674
767
|
starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -778,115 +871,146 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
778
871
|
message: string;
|
|
779
872
|
error_code: "smartthings_failed_to_set_access_code";
|
|
780
873
|
is_access_code_error: true;
|
|
874
|
+
created_at?: string | undefined;
|
|
781
875
|
} | {
|
|
782
876
|
message: string;
|
|
783
877
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
784
878
|
is_access_code_error: true;
|
|
879
|
+
created_at?: string | undefined;
|
|
785
880
|
} | {
|
|
786
881
|
message: string;
|
|
787
882
|
error_code: "code_modified_external_to_seam";
|
|
788
883
|
is_access_code_error: true;
|
|
884
|
+
created_at?: string | undefined;
|
|
789
885
|
} | {
|
|
790
886
|
message: string;
|
|
791
887
|
error_code: "failed_to_set_on_device";
|
|
792
888
|
is_access_code_error: true;
|
|
889
|
+
created_at?: string | undefined;
|
|
793
890
|
} | {
|
|
794
891
|
message: string;
|
|
795
892
|
error_code: "failed_to_remove_from_device";
|
|
796
893
|
is_access_code_error: true;
|
|
894
|
+
created_at?: string | undefined;
|
|
797
895
|
} | {
|
|
798
896
|
message: string;
|
|
799
897
|
error_code: "duplicate_code_on_device";
|
|
800
898
|
is_access_code_error: true;
|
|
899
|
+
created_at?: string | undefined;
|
|
801
900
|
} | {
|
|
802
901
|
message: string;
|
|
803
902
|
error_code: "duplicate_code_attempt_prevented";
|
|
804
903
|
is_access_code_error: true;
|
|
904
|
+
created_at?: string | undefined;
|
|
805
905
|
} | {
|
|
806
906
|
message: string;
|
|
807
907
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
808
908
|
is_access_code_error: true;
|
|
909
|
+
created_at?: string | undefined;
|
|
809
910
|
} | {
|
|
810
911
|
message: string;
|
|
811
912
|
error_code: "igloohome_bridge_offline";
|
|
812
913
|
is_access_code_error: true;
|
|
914
|
+
created_at?: string | undefined;
|
|
813
915
|
} | {
|
|
814
916
|
message: string;
|
|
815
917
|
error_code: "kwikset_unable_to_confirm_code";
|
|
816
918
|
is_access_code_error: true;
|
|
919
|
+
created_at?: string | undefined;
|
|
817
920
|
} | {
|
|
818
921
|
message: string;
|
|
819
922
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
820
923
|
is_access_code_error: true;
|
|
924
|
+
created_at?: string | undefined;
|
|
821
925
|
} | {
|
|
822
926
|
message: string;
|
|
823
927
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
824
928
|
is_access_code_error: true;
|
|
929
|
+
created_at?: string | undefined;
|
|
825
930
|
} | {
|
|
826
931
|
message: string;
|
|
827
932
|
error_code: "august_lock_invalid_code_length";
|
|
828
933
|
is_access_code_error: true;
|
|
934
|
+
created_at?: string | undefined;
|
|
829
935
|
} | {
|
|
830
936
|
message: string;
|
|
831
937
|
error_code: "august_device_programming_delay";
|
|
832
938
|
is_access_code_error: true;
|
|
939
|
+
created_at?: string | undefined;
|
|
833
940
|
} | {
|
|
834
941
|
message: string;
|
|
835
942
|
error_code: "august_device_slots_full";
|
|
836
943
|
is_access_code_error: true;
|
|
944
|
+
created_at?: string | undefined;
|
|
837
945
|
} | {
|
|
838
946
|
message: string;
|
|
839
947
|
error_code: "august_lock_missing_keypad";
|
|
840
948
|
is_access_code_error: true;
|
|
949
|
+
created_at?: string | undefined;
|
|
841
950
|
} | {
|
|
842
951
|
message: string;
|
|
843
952
|
error_code: "salto_site_user_not_subscribed";
|
|
844
953
|
is_access_code_error: true;
|
|
954
|
+
created_at?: string | undefined;
|
|
845
955
|
} | {
|
|
846
956
|
message: string;
|
|
847
957
|
error_code: "hubitat_device_programming_delay";
|
|
848
958
|
is_access_code_error: true;
|
|
959
|
+
created_at?: string | undefined;
|
|
849
960
|
} | {
|
|
850
961
|
message: string;
|
|
851
962
|
error_code: "hubitat_no_free_positions_available";
|
|
852
963
|
is_access_code_error: true;
|
|
964
|
+
created_at?: string | undefined;
|
|
853
965
|
})[];
|
|
854
966
|
warnings: ({
|
|
855
967
|
message: string;
|
|
856
968
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
969
|
+
created_at?: string | undefined;
|
|
857
970
|
} | {
|
|
858
971
|
message: string;
|
|
859
972
|
warning_code: "august_device_programming_delay";
|
|
973
|
+
created_at?: string | undefined;
|
|
860
974
|
} | {
|
|
861
975
|
message: string;
|
|
862
976
|
warning_code: "code_modified_external_to_seam";
|
|
977
|
+
created_at?: string | undefined;
|
|
863
978
|
} | {
|
|
864
979
|
message: string;
|
|
865
980
|
warning_code: "schlage_detected_duplicate";
|
|
981
|
+
created_at?: string | undefined;
|
|
866
982
|
} | {
|
|
867
983
|
message: string;
|
|
868
984
|
warning_code: "schlage_creation_outage";
|
|
985
|
+
created_at?: string | undefined;
|
|
869
986
|
} | {
|
|
870
987
|
message: string;
|
|
871
988
|
warning_code: "salto_office_mode";
|
|
989
|
+
created_at?: string | undefined;
|
|
872
990
|
} | {
|
|
873
991
|
message: string;
|
|
874
992
|
warning_code: "delay_in_setting_on_device";
|
|
993
|
+
created_at?: string | undefined;
|
|
875
994
|
} | {
|
|
876
995
|
message: string;
|
|
877
996
|
warning_code: "delay_in_removing_from_device";
|
|
997
|
+
created_at?: string | undefined;
|
|
878
998
|
} | {
|
|
879
999
|
message: string;
|
|
880
1000
|
warning_code: "third_party_integration_detected";
|
|
1001
|
+
created_at?: string | undefined;
|
|
881
1002
|
} | {
|
|
882
1003
|
message: string;
|
|
883
1004
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1005
|
+
created_at?: string | undefined;
|
|
884
1006
|
} | {
|
|
885
1007
|
message: string;
|
|
886
1008
|
warning_code: "management_transferred";
|
|
1009
|
+
created_at?: string | undefined;
|
|
887
1010
|
} | {
|
|
888
1011
|
message: string;
|
|
889
1012
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
1013
|
+
created_at?: string | undefined;
|
|
890
1014
|
})[];
|
|
891
1015
|
is_managed: false;
|
|
892
1016
|
access_code_id: string;
|
|
@@ -987,115 +1111,146 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
987
1111
|
message: string;
|
|
988
1112
|
error_code: "smartthings_failed_to_set_access_code";
|
|
989
1113
|
is_access_code_error: true;
|
|
1114
|
+
created_at?: string | undefined;
|
|
990
1115
|
} | {
|
|
991
1116
|
message: string;
|
|
992
1117
|
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
993
1118
|
is_access_code_error: true;
|
|
1119
|
+
created_at?: string | undefined;
|
|
994
1120
|
} | {
|
|
995
1121
|
message: string;
|
|
996
1122
|
error_code: "code_modified_external_to_seam";
|
|
997
1123
|
is_access_code_error: true;
|
|
1124
|
+
created_at?: string | undefined;
|
|
998
1125
|
} | {
|
|
999
1126
|
message: string;
|
|
1000
1127
|
error_code: "failed_to_set_on_device";
|
|
1001
1128
|
is_access_code_error: true;
|
|
1129
|
+
created_at?: string | undefined;
|
|
1002
1130
|
} | {
|
|
1003
1131
|
message: string;
|
|
1004
1132
|
error_code: "failed_to_remove_from_device";
|
|
1005
1133
|
is_access_code_error: true;
|
|
1134
|
+
created_at?: string | undefined;
|
|
1006
1135
|
} | {
|
|
1007
1136
|
message: string;
|
|
1008
1137
|
error_code: "duplicate_code_on_device";
|
|
1009
1138
|
is_access_code_error: true;
|
|
1139
|
+
created_at?: string | undefined;
|
|
1010
1140
|
} | {
|
|
1011
1141
|
message: string;
|
|
1012
1142
|
error_code: "duplicate_code_attempt_prevented";
|
|
1013
1143
|
is_access_code_error: true;
|
|
1144
|
+
created_at?: string | undefined;
|
|
1014
1145
|
} | {
|
|
1015
1146
|
message: string;
|
|
1016
1147
|
error_code: "igloohome_bridge_too_many_pending_jobs";
|
|
1017
1148
|
is_access_code_error: true;
|
|
1149
|
+
created_at?: string | undefined;
|
|
1018
1150
|
} | {
|
|
1019
1151
|
message: string;
|
|
1020
1152
|
error_code: "igloohome_bridge_offline";
|
|
1021
1153
|
is_access_code_error: true;
|
|
1154
|
+
created_at?: string | undefined;
|
|
1022
1155
|
} | {
|
|
1023
1156
|
message: string;
|
|
1024
1157
|
error_code: "kwikset_unable_to_confirm_code";
|
|
1025
1158
|
is_access_code_error: true;
|
|
1159
|
+
created_at?: string | undefined;
|
|
1026
1160
|
} | {
|
|
1027
1161
|
message: string;
|
|
1028
1162
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1029
1163
|
is_access_code_error: true;
|
|
1164
|
+
created_at?: string | undefined;
|
|
1030
1165
|
} | {
|
|
1031
1166
|
message: string;
|
|
1032
1167
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
1033
1168
|
is_access_code_error: true;
|
|
1169
|
+
created_at?: string | undefined;
|
|
1034
1170
|
} | {
|
|
1035
1171
|
message: string;
|
|
1036
1172
|
error_code: "august_lock_invalid_code_length";
|
|
1037
1173
|
is_access_code_error: true;
|
|
1174
|
+
created_at?: string | undefined;
|
|
1038
1175
|
} | {
|
|
1039
1176
|
message: string;
|
|
1040
1177
|
error_code: "august_device_programming_delay";
|
|
1041
1178
|
is_access_code_error: true;
|
|
1179
|
+
created_at?: string | undefined;
|
|
1042
1180
|
} | {
|
|
1043
1181
|
message: string;
|
|
1044
1182
|
error_code: "august_device_slots_full";
|
|
1045
1183
|
is_access_code_error: true;
|
|
1184
|
+
created_at?: string | undefined;
|
|
1046
1185
|
} | {
|
|
1047
1186
|
message: string;
|
|
1048
1187
|
error_code: "august_lock_missing_keypad";
|
|
1049
1188
|
is_access_code_error: true;
|
|
1189
|
+
created_at?: string | undefined;
|
|
1050
1190
|
} | {
|
|
1051
1191
|
message: string;
|
|
1052
1192
|
error_code: "salto_site_user_not_subscribed";
|
|
1053
1193
|
is_access_code_error: true;
|
|
1194
|
+
created_at?: string | undefined;
|
|
1054
1195
|
} | {
|
|
1055
1196
|
message: string;
|
|
1056
1197
|
error_code: "hubitat_device_programming_delay";
|
|
1057
1198
|
is_access_code_error: true;
|
|
1199
|
+
created_at?: string | undefined;
|
|
1058
1200
|
} | {
|
|
1059
1201
|
message: string;
|
|
1060
1202
|
error_code: "hubitat_no_free_positions_available";
|
|
1061
1203
|
is_access_code_error: true;
|
|
1204
|
+
created_at?: string | undefined;
|
|
1062
1205
|
})[];
|
|
1063
1206
|
warnings: ({
|
|
1064
1207
|
message: string;
|
|
1065
1208
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
1209
|
+
created_at?: string | undefined;
|
|
1066
1210
|
} | {
|
|
1067
1211
|
message: string;
|
|
1068
1212
|
warning_code: "august_device_programming_delay";
|
|
1213
|
+
created_at?: string | undefined;
|
|
1069
1214
|
} | {
|
|
1070
1215
|
message: string;
|
|
1071
1216
|
warning_code: "code_modified_external_to_seam";
|
|
1217
|
+
created_at?: string | undefined;
|
|
1072
1218
|
} | {
|
|
1073
1219
|
message: string;
|
|
1074
1220
|
warning_code: "schlage_detected_duplicate";
|
|
1221
|
+
created_at?: string | undefined;
|
|
1075
1222
|
} | {
|
|
1076
1223
|
message: string;
|
|
1077
1224
|
warning_code: "schlage_creation_outage";
|
|
1225
|
+
created_at?: string | undefined;
|
|
1078
1226
|
} | {
|
|
1079
1227
|
message: string;
|
|
1080
1228
|
warning_code: "salto_office_mode";
|
|
1229
|
+
created_at?: string | undefined;
|
|
1081
1230
|
} | {
|
|
1082
1231
|
message: string;
|
|
1083
1232
|
warning_code: "delay_in_setting_on_device";
|
|
1233
|
+
created_at?: string | undefined;
|
|
1084
1234
|
} | {
|
|
1085
1235
|
message: string;
|
|
1086
1236
|
warning_code: "delay_in_removing_from_device";
|
|
1237
|
+
created_at?: string | undefined;
|
|
1087
1238
|
} | {
|
|
1088
1239
|
message: string;
|
|
1089
1240
|
warning_code: "third_party_integration_detected";
|
|
1241
|
+
created_at?: string | undefined;
|
|
1090
1242
|
} | {
|
|
1091
1243
|
message: string;
|
|
1092
1244
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1245
|
+
created_at?: string | undefined;
|
|
1093
1246
|
} | {
|
|
1094
1247
|
message: string;
|
|
1095
1248
|
warning_code: "management_transferred";
|
|
1249
|
+
created_at?: string | undefined;
|
|
1096
1250
|
} | {
|
|
1097
1251
|
message: string;
|
|
1098
1252
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
1253
|
+
created_at?: string | undefined;
|
|
1099
1254
|
})[];
|
|
1100
1255
|
is_managed: false;
|
|
1101
1256
|
access_code_id: string;
|