@seamapi/types 1.344.1 → 1.344.3

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.
Files changed (40) hide show
  1. package/dist/connect.cjs +1781 -1992
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +532 -633
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +33 -28
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +15 -3
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +21 -26
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
  9. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +5 -5
  15. package/lib/seam/connect/models/acs/acs-user.js +2 -2
  16. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
  18. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +2 -2
  19. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +2 -2
  20. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  21. package/lib/seam/connect/models/connected-accounts/connected-account.js +6 -3
  22. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  23. package/lib/seam/connect/models/devices/device.d.ts +6 -40
  24. package/lib/seam/connect/models/devices/device.js +6 -11
  25. package/lib/seam/connect/models/devices/device.js.map +1 -1
  26. package/lib/seam/connect/models/devices/phone.d.ts +4 -25
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -25
  28. package/lib/seam/connect/openapi.d.ts +271 -223
  29. package/lib/seam/connect/openapi.js +1495 -1720
  30. package/lib/seam/connect/openapi.js.map +1 -1
  31. package/lib/seam/connect/route-types.d.ts +181 -275
  32. package/package.json +1 -1
  33. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +18 -3
  34. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
  35. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  36. package/src/lib/seam/connect/models/acs/acs-user.ts +2 -2
  37. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +6 -3
  38. package/src/lib/seam/connect/models/devices/device.ts +8 -12
  39. package/src/lib/seam/connect/openapi.ts +1599 -1832
  40. package/src/lib/seam/connect/route-types.ts +3261 -3494
@@ -37,589 +37,487 @@ export default {
37
37
  errors: {
38
38
  description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
39
39
  items: {
40
+ discriminator: { propertyName: 'error_code' },
40
41
  oneOf: [
41
42
  {
42
- oneOf: [
43
- {
44
- description: 'Failed to set code on Smart Things device.',
45
- properties: {
46
- error_code: {
47
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
48
- enum: ['smartthings_failed_to_set_access_code'],
49
- type: 'string',
50
- },
51
- is_access_code_error: { enum: [true], type: 'boolean' },
52
- message: { type: 'string' },
53
- },
54
- required: [
55
- 'message',
56
- 'is_access_code_error',
57
- 'error_code',
58
- ],
59
- type: 'object',
43
+ description: 'Failed to set code on Smart Things device.',
44
+ properties: {
45
+ error_code: {
46
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
47
+ enum: ['smartthings_failed_to_set_access_code'],
48
+ type: 'string',
60
49
  },
61
- {
62
- description: 'Failed to set code after multiple retries.',
63
- properties: {
64
- error_code: {
65
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
66
- enum: [
67
- 'smartthings_failed_to_set_after_multiple_retries',
68
- ],
69
- type: 'string',
70
- },
71
- is_access_code_error: { enum: [true], type: 'boolean' },
72
- message: { type: 'string' },
73
- },
74
- required: [
75
- 'message',
76
- 'is_access_code_error',
77
- 'error_code',
50
+ is_access_code_error: { enum: [true], type: 'boolean' },
51
+ message: { type: 'string' },
52
+ },
53
+ required: ['message', 'is_access_code_error', 'error_code'],
54
+ type: 'object',
55
+ },
56
+ {
57
+ description: 'Failed to set code after multiple retries.',
58
+ properties: {
59
+ error_code: {
60
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
61
+ enum: [
62
+ 'smartthings_failed_to_set_after_multiple_retries',
78
63
  ],
79
- type: 'object',
64
+ type: 'string',
80
65
  },
81
- {
82
- description: 'Failed to set code on device.',
83
- properties: {
84
- error_code: {
85
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
86
- enum: ['failed_to_set_on_device'],
87
- type: 'string',
88
- },
89
- is_access_code_error: { enum: [true], type: 'boolean' },
90
- message: { type: 'string' },
91
- },
92
- required: [
93
- 'message',
94
- 'is_access_code_error',
95
- 'error_code',
96
- ],
97
- type: 'object',
66
+ is_access_code_error: { enum: [true], type: 'boolean' },
67
+ message: { type: 'string' },
68
+ },
69
+ required: ['message', 'is_access_code_error', 'error_code'],
70
+ type: 'object',
71
+ },
72
+ {
73
+ description: 'Failed to set code on device.',
74
+ properties: {
75
+ error_code: {
76
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
77
+ enum: ['failed_to_set_on_device'],
78
+ type: 'string',
98
79
  },
99
- {
100
- description: 'Failed to remove code from device.',
101
- properties: {
102
- error_code: {
103
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
104
- enum: ['failed_to_remove_from_device'],
105
- type: 'string',
106
- },
107
- is_access_code_error: { enum: [true], type: 'boolean' },
108
- message: { type: 'string' },
109
- },
110
- required: [
111
- 'message',
112
- 'is_access_code_error',
113
- 'error_code',
114
- ],
115
- type: 'object',
80
+ is_access_code_error: { enum: [true], type: 'boolean' },
81
+ message: { type: 'string' },
82
+ },
83
+ required: ['message', 'is_access_code_error', 'error_code'],
84
+ type: 'object',
85
+ },
86
+ {
87
+ description: 'Failed to remove code from device.',
88
+ properties: {
89
+ error_code: {
90
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
91
+ enum: ['failed_to_remove_from_device'],
92
+ type: 'string',
116
93
  },
117
- {
118
- description: 'Duplicate access code detected on device.',
119
- properties: {
120
- error_code: {
121
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
122
- enum: ['duplicate_code_on_device'],
123
- type: 'string',
124
- },
125
- is_access_code_error: { enum: [true], type: 'boolean' },
126
- message: { type: 'string' },
127
- },
128
- required: [
129
- 'message',
130
- 'is_access_code_error',
131
- 'error_code',
132
- ],
133
- type: 'object',
94
+ is_access_code_error: { enum: [true], type: 'boolean' },
95
+ message: { type: 'string' },
96
+ },
97
+ required: ['message', 'is_access_code_error', 'error_code'],
98
+ type: 'object',
99
+ },
100
+ {
101
+ description: 'Duplicate access code detected on device.',
102
+ properties: {
103
+ error_code: {
104
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
105
+ enum: ['duplicate_code_on_device'],
106
+ type: 'string',
134
107
  },
135
- {
136
- description: 'An attempt to modify this access code was prevented.',
137
- properties: {
138
- error_code: {
139
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
140
- enum: ['duplicate_code_attempt_prevented'],
141
- type: 'string',
142
- },
143
- is_access_code_error: { enum: [true], type: 'boolean' },
144
- message: { type: 'string' },
145
- },
146
- required: [
147
- 'message',
148
- 'is_access_code_error',
149
- 'error_code',
150
- ],
151
- type: 'object',
108
+ is_access_code_error: { enum: [true], type: 'boolean' },
109
+ message: { type: 'string' },
110
+ },
111
+ required: ['message', 'is_access_code_error', 'error_code'],
112
+ type: 'object',
113
+ },
114
+ {
115
+ description: 'An attempt to modify this access code was prevented.',
116
+ properties: {
117
+ error_code: {
118
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
119
+ enum: ['duplicate_code_attempt_prevented'],
120
+ type: 'string',
152
121
  },
153
- {
154
- description: 'Igloohome bridge has too many pending jobs in the queue.',
155
- properties: {
156
- error_code: {
157
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
158
- enum: ['igloohome_bridge_too_many_pending_jobs'],
159
- type: 'string',
160
- },
161
- is_access_code_error: { enum: [true], type: 'boolean' },
162
- message: { type: 'string' },
163
- },
164
- required: [
165
- 'message',
166
- 'is_access_code_error',
167
- 'error_code',
168
- ],
169
- type: 'object',
122
+ is_access_code_error: { enum: [true], type: 'boolean' },
123
+ message: { type: 'string' },
124
+ },
125
+ required: ['message', 'is_access_code_error', 'error_code'],
126
+ type: 'object',
127
+ },
128
+ {
129
+ description: 'Igloohome bridge has too many pending jobs in the queue.',
130
+ properties: {
131
+ error_code: {
132
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
133
+ enum: ['igloohome_bridge_too_many_pending_jobs'],
134
+ type: 'string',
170
135
  },
171
- {
172
- description: 'Igloohome bridge is offline.',
173
- properties: {
174
- error_code: {
175
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
176
- enum: ['igloohome_bridge_offline'],
177
- type: 'string',
178
- },
179
- is_access_code_error: { enum: [true], type: 'boolean' },
180
- message: { type: 'string' },
181
- },
182
- required: [
183
- 'message',
184
- 'is_access_code_error',
185
- 'error_code',
186
- ],
187
- type: 'object',
136
+ is_access_code_error: { enum: [true], type: 'boolean' },
137
+ message: { type: 'string' },
138
+ },
139
+ required: ['message', 'is_access_code_error', 'error_code'],
140
+ type: 'object',
141
+ },
142
+ {
143
+ description: 'Igloohome bridge is offline.',
144
+ properties: {
145
+ error_code: {
146
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
147
+ enum: ['igloohome_bridge_offline'],
148
+ type: 'string',
188
149
  },
189
- {
190
- description: 'Lock as reached max amount of codes.',
191
- properties: {
192
- error_code: {
193
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
194
- enum: [
195
- 'igloohome_offline_access_code_no_variance_available',
196
- ],
197
- type: 'string',
198
- },
199
- is_access_code_error: { enum: [true], type: 'boolean' },
200
- message: { type: 'string' },
201
- },
202
- required: [
203
- 'message',
204
- 'is_access_code_error',
205
- 'error_code',
150
+ is_access_code_error: { enum: [true], type: 'boolean' },
151
+ message: { type: 'string' },
152
+ },
153
+ required: ['message', 'is_access_code_error', 'error_code'],
154
+ type: 'object',
155
+ },
156
+ {
157
+ description: 'Lock as reached max amount of codes.',
158
+ properties: {
159
+ error_code: {
160
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
161
+ enum: [
162
+ 'igloohome_offline_access_code_no_variance_available',
206
163
  ],
207
- type: 'object',
164
+ type: 'string',
208
165
  },
209
- {
210
- description: 'Unable to confirm the access code is set on Kwikset device.',
211
- properties: {
212
- error_code: {
213
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
214
- enum: ['kwikset_unable_to_confirm_code'],
215
- type: 'string',
216
- },
217
- is_access_code_error: { enum: [true], type: 'boolean' },
218
- message: { type: 'string' },
219
- },
220
- required: [
221
- 'message',
222
- 'is_access_code_error',
223
- 'error_code',
224
- ],
225
- type: 'object',
166
+ is_access_code_error: { enum: [true], type: 'boolean' },
167
+ message: { type: 'string' },
168
+ },
169
+ required: ['message', 'is_access_code_error', 'error_code'],
170
+ type: 'object',
171
+ },
172
+ {
173
+ description: 'Unable to confirm the access code is set on Kwikset device.',
174
+ properties: {
175
+ error_code: {
176
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
177
+ enum: ['kwikset_unable_to_confirm_code'],
178
+ type: 'string',
226
179
  },
227
- {
228
- description: 'Unable to confirm the deletion of the access code on Kwikset device.',
229
- properties: {
230
- error_code: {
231
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
232
- enum: ['kwikset_unable_to_confirm_deletion'],
233
- type: 'string',
234
- },
235
- is_access_code_error: { enum: [true], type: 'boolean' },
236
- message: { type: 'string' },
237
- },
238
- required: [
239
- 'message',
240
- 'is_access_code_error',
241
- 'error_code',
242
- ],
243
- type: 'object',
180
+ is_access_code_error: { enum: [true], type: 'boolean' },
181
+ message: { type: 'string' },
182
+ },
183
+ required: ['message', 'is_access_code_error', 'error_code'],
184
+ type: 'object',
185
+ },
186
+ {
187
+ description: 'Unable to confirm the deletion of the access code on Kwikset device.',
188
+ properties: {
189
+ error_code: {
190
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
191
+ enum: ['kwikset_unable_to_confirm_deletion'],
192
+ type: 'string',
244
193
  },
245
- {
246
- description: 'Code was modified or removed externally after Seam successfully set it on the device.',
247
- properties: {
248
- error_code: {
249
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
250
- enum: ['code_modified_external_to_seam'],
251
- type: 'string',
252
- },
253
- is_access_code_error: { enum: [true], type: 'boolean' },
254
- message: { type: 'string' },
255
- },
256
- required: [
257
- 'message',
258
- 'is_access_code_error',
259
- 'error_code',
260
- ],
261
- type: 'object',
194
+ is_access_code_error: { enum: [true], type: 'boolean' },
195
+ message: { type: 'string' },
196
+ },
197
+ required: ['message', 'is_access_code_error', 'error_code'],
198
+ type: 'object',
199
+ },
200
+ {
201
+ description: 'Code was modified or removed externally after Seam successfully set it on the device.',
202
+ properties: {
203
+ error_code: {
204
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
205
+ enum: ['code_modified_external_to_seam'],
206
+ type: 'string',
262
207
  },
263
- {
264
- description: 'Invalid code length for August lock.',
265
- properties: {
266
- error_code: {
267
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
268
- enum: ['august_lock_invalid_code_length'],
269
- type: 'string',
270
- },
271
- is_access_code_error: { enum: [true], type: 'boolean' },
272
- message: { type: 'string' },
273
- },
274
- required: [
275
- 'message',
276
- 'is_access_code_error',
277
- 'error_code',
278
- ],
279
- type: 'object',
208
+ is_access_code_error: { enum: [true], type: 'boolean' },
209
+ message: { type: 'string' },
210
+ },
211
+ required: ['message', 'is_access_code_error', 'error_code'],
212
+ type: 'object',
213
+ },
214
+ {
215
+ description: 'Invalid code length for August lock.',
216
+ properties: {
217
+ error_code: {
218
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
219
+ enum: ['august_lock_invalid_code_length'],
220
+ type: 'string',
280
221
  },
281
- {
282
- description: 'Access code has not yet been fully moved to the device.',
283
- properties: {
284
- error_code: {
285
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
286
- enum: ['august_device_programming_delay'],
287
- type: 'string',
288
- },
289
- is_access_code_error: { enum: [true], type: 'boolean' },
290
- message: { type: 'string' },
291
- },
292
- required: [
293
- 'message',
294
- 'is_access_code_error',
295
- 'error_code',
296
- ],
297
- type: 'object',
222
+ is_access_code_error: { enum: [true], type: 'boolean' },
223
+ message: { type: 'string' },
224
+ },
225
+ required: ['message', 'is_access_code_error', 'error_code'],
226
+ type: 'object',
227
+ },
228
+ {
229
+ description: 'Access code has not yet been fully moved to the device.',
230
+ properties: {
231
+ error_code: {
232
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
233
+ enum: ['august_device_programming_delay'],
234
+ type: 'string',
298
235
  },
299
- {
300
- description: 'All access code slots on the device are full.',
301
- properties: {
302
- error_code: {
303
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
304
- enum: ['august_device_slots_full'],
305
- type: 'string',
306
- },
307
- is_access_code_error: { enum: [true], type: 'boolean' },
308
- message: { type: 'string' },
309
- },
310
- required: [
311
- 'message',
312
- 'is_access_code_error',
313
- 'error_code',
314
- ],
315
- type: 'object',
236
+ is_access_code_error: { enum: [true], type: 'boolean' },
237
+ message: { type: 'string' },
238
+ },
239
+ required: ['message', 'is_access_code_error', 'error_code'],
240
+ type: 'object',
241
+ },
242
+ {
243
+ description: 'All access code slots on the device are full.',
244
+ properties: {
245
+ error_code: {
246
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
247
+ enum: ['august_device_slots_full'],
248
+ type: 'string',
316
249
  },
317
- {
318
- description: 'August lock is missing a keypad.',
319
- properties: {
320
- error_code: {
321
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
322
- enum: ['august_lock_missing_keypad'],
323
- type: 'string',
324
- },
325
- is_access_code_error: { enum: [true], type: 'boolean' },
326
- message: { type: 'string' },
327
- },
328
- required: [
329
- 'message',
330
- 'is_access_code_error',
331
- 'error_code',
332
- ],
333
- type: 'object',
250
+ is_access_code_error: { enum: [true], type: 'boolean' },
251
+ message: { type: 'string' },
252
+ },
253
+ required: ['message', 'is_access_code_error', 'error_code'],
254
+ type: 'object',
255
+ },
256
+ {
257
+ description: 'August lock is missing a keypad.',
258
+ properties: {
259
+ error_code: {
260
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
261
+ enum: ['august_lock_missing_keypad'],
262
+ type: 'string',
334
263
  },
335
- {
336
- description: 'Salto site user is not subscribed.',
337
- properties: {
338
- error_code: {
339
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
340
- enum: ['salto_site_user_not_subscribed'],
341
- type: 'string',
342
- },
343
- is_access_code_error: { enum: [true], type: 'boolean' },
344
- message: { type: 'string' },
345
- },
346
- required: [
347
- 'message',
348
- 'is_access_code_error',
349
- 'error_code',
350
- ],
351
- type: 'object',
264
+ is_access_code_error: { enum: [true], type: 'boolean' },
265
+ message: { type: 'string' },
266
+ },
267
+ required: ['message', 'is_access_code_error', 'error_code'],
268
+ type: 'object',
269
+ },
270
+ {
271
+ description: 'Salto site user is not subscribed.',
272
+ properties: {
273
+ error_code: {
274
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
275
+ enum: ['salto_site_user_not_subscribed'],
276
+ type: 'string',
352
277
  },
353
- {
354
- description: 'Access code has not yet been fully moved to the device.',
355
- properties: {
356
- error_code: {
357
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
358
- enum: ['hubitat_device_programming_delay'],
359
- type: 'string',
360
- },
361
- is_access_code_error: { enum: [true], type: 'boolean' },
362
- message: { type: 'string' },
363
- },
364
- required: [
365
- 'message',
366
- 'is_access_code_error',
367
- 'error_code',
368
- ],
369
- type: 'object',
278
+ is_access_code_error: { enum: [true], type: 'boolean' },
279
+ message: { type: 'string' },
280
+ },
281
+ required: ['message', 'is_access_code_error', 'error_code'],
282
+ type: 'object',
283
+ },
284
+ {
285
+ description: 'Access code has not yet been fully moved to the device.',
286
+ properties: {
287
+ error_code: {
288
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
289
+ enum: ['hubitat_device_programming_delay'],
290
+ type: 'string',
370
291
  },
371
- {
372
- description: 'No free positions available on the device.',
373
- properties: {
374
- error_code: {
375
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
376
- enum: ['hubitat_no_free_positions_available'],
377
- type: 'string',
378
- },
379
- is_access_code_error: { enum: [true], type: 'boolean' },
380
- message: { type: 'string' },
381
- },
382
- required: [
383
- 'message',
384
- 'is_access_code_error',
385
- 'error_code',
386
- ],
387
- type: 'object',
292
+ is_access_code_error: { enum: [true], type: 'boolean' },
293
+ message: { type: 'string' },
294
+ },
295
+ required: ['message', 'is_access_code_error', 'error_code'],
296
+ type: 'object',
297
+ },
298
+ {
299
+ description: 'No free positions available on the device.',
300
+ properties: {
301
+ error_code: {
302
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
303
+ enum: ['hubitat_no_free_positions_available'],
304
+ type: 'string',
388
305
  },
389
- ],
306
+ is_access_code_error: { enum: [true], type: 'boolean' },
307
+ message: { type: 'string' },
308
+ },
309
+ required: ['message', 'is_access_code_error', 'error_code'],
310
+ type: 'object',
390
311
  },
391
312
  {
392
- description: 'Error associated with the `device`.',
393
- oneOf: [
394
- {
395
- description: 'Device is offline',
396
- properties: {
397
- error_code: {
398
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
399
- enum: ['device_offline'],
400
- type: 'string',
401
- },
402
- is_device_error: { enum: [true], type: 'boolean' },
403
- message: { type: 'string' },
404
- },
405
- required: ['message', 'is_device_error', 'error_code'],
406
- type: 'object',
313
+ description: 'Device is offline',
314
+ properties: {
315
+ error_code: {
316
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
317
+ enum: ['device_offline'],
318
+ type: 'string',
407
319
  },
408
- {
409
- description: 'Device has been removed',
410
- properties: {
411
- error_code: {
412
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
413
- enum: ['device_removed'],
414
- type: 'string',
415
- },
416
- is_device_error: { enum: [true], type: 'boolean' },
417
- message: { type: 'string' },
418
- },
419
- required: ['message', 'is_device_error', 'error_code'],
420
- type: 'object',
320
+ is_device_error: { enum: [true], type: 'boolean' },
321
+ message: { type: 'string' },
322
+ },
323
+ required: ['message', 'is_device_error', 'error_code'],
324
+ type: 'object',
325
+ },
326
+ {
327
+ description: 'Device has been removed',
328
+ properties: {
329
+ error_code: {
330
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
331
+ enum: ['device_removed'],
332
+ type: 'string',
421
333
  },
422
- {
423
- description: 'Account is disconnected',
424
- properties: {
425
- error_code: {
426
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
427
- enum: ['account_disconnected'],
428
- type: 'string',
429
- },
430
- is_device_error: { enum: [true], type: 'boolean' },
431
- message: { type: 'string' },
432
- },
433
- required: ['message', 'is_device_error', 'error_code'],
434
- type: 'object',
334
+ is_device_error: { enum: [true], type: 'boolean' },
335
+ message: { type: 'string' },
336
+ },
337
+ required: ['message', 'is_device_error', 'error_code'],
338
+ type: 'object',
339
+ },
340
+ {
341
+ description: 'Hub is disconnected',
342
+ properties: {
343
+ error_code: {
344
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
345
+ enum: ['hub_disconnected'],
346
+ type: 'string',
435
347
  },
436
- {
437
- description: 'Hub is disconnected',
438
- properties: {
439
- error_code: {
440
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
441
- enum: ['hub_disconnected'],
442
- type: 'string',
443
- },
444
- is_device_error: { enum: [true], type: 'boolean' },
445
- message: { type: 'string' },
446
- },
447
- required: ['message', 'is_device_error', 'error_code'],
448
- type: 'object',
348
+ is_device_error: { enum: [true], type: 'boolean' },
349
+ message: { type: 'string' },
350
+ },
351
+ required: ['message', 'is_device_error', 'error_code'],
352
+ type: 'object',
353
+ },
354
+ {
355
+ description: 'Device is disconnected',
356
+ properties: {
357
+ error_code: {
358
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
359
+ enum: ['device_disconnected'],
360
+ type: 'string',
449
361
  },
450
- {
451
- description: 'Device is disconnected',
452
- properties: {
453
- error_code: {
454
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
455
- enum: ['device_disconnected'],
456
- type: 'string',
457
- },
458
- is_device_error: { enum: [true], type: 'boolean' },
459
- message: { type: 'string' },
460
- },
461
- required: ['message', 'is_device_error', 'error_code'],
462
- type: 'object',
362
+ is_device_error: { enum: [true], type: 'boolean' },
363
+ message: { type: 'string' },
364
+ },
365
+ required: ['message', 'is_device_error', 'error_code'],
366
+ type: 'object',
367
+ },
368
+ {
369
+ description: 'The backup access code pool is empty.',
370
+ properties: {
371
+ error_code: {
372
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
373
+ enum: ['empty_backup_access_code_pool'],
374
+ type: 'string',
463
375
  },
464
- {
465
- description: 'The backup access code pool is empty.',
466
- properties: {
467
- error_code: {
468
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
469
- enum: ['empty_backup_access_code_pool'],
470
- type: 'string',
471
- },
472
- is_device_error: { enum: [true], type: 'boolean' },
473
- message: { type: 'string' },
474
- },
475
- required: ['message', 'is_device_error', 'error_code'],
476
- type: 'object',
376
+ is_device_error: { enum: [true], type: 'boolean' },
377
+ message: { type: 'string' },
378
+ },
379
+ required: ['message', 'is_device_error', 'error_code'],
380
+ type: 'object',
381
+ },
382
+ {
383
+ description: 'User is not authorized to use the August Lock.',
384
+ properties: {
385
+ error_code: {
386
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
387
+ enum: ['august_lock_not_authorized'],
388
+ type: 'string',
477
389
  },
478
- {
479
- description: 'User is not authorized to use the August Lock.',
480
- properties: {
481
- error_code: {
482
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
483
- enum: ['august_lock_not_authorized'],
484
- type: 'string',
485
- },
486
- is_device_error: { enum: [true], type: 'boolean' },
487
- message: { type: 'string' },
488
- },
489
- required: ['message', 'is_device_error', 'error_code'],
490
- type: 'object',
390
+ is_device_error: { enum: [true], type: 'boolean' },
391
+ message: { type: 'string' },
392
+ },
393
+ required: ['message', 'is_device_error', 'error_code'],
394
+ type: 'object',
395
+ },
396
+ {
397
+ description: 'Lock is not connected to the Seam Bridge.',
398
+ properties: {
399
+ error_code: {
400
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
401
+ enum: ['august_lock_missing_bridge'],
402
+ type: 'string',
491
403
  },
492
- {
493
- description: 'Lock is not connected to the Seam Bridge.',
494
- properties: {
495
- error_code: {
496
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
497
- enum: ['august_lock_missing_bridge'],
498
- type: 'string',
499
- },
500
- is_device_error: { enum: [true], type: 'boolean' },
501
- message: { type: 'string' },
502
- },
503
- required: ['message', 'is_device_error', 'error_code'],
504
- type: 'object',
404
+ is_device_error: { enum: [true], type: 'boolean' },
405
+ message: { type: 'string' },
406
+ },
407
+ required: ['message', 'is_device_error', 'error_code'],
408
+ type: 'object',
409
+ },
410
+ {
411
+ description: 'Salto site user limit reached.',
412
+ properties: {
413
+ error_code: {
414
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
415
+ enum: ['salto_site_user_limit_reached'],
416
+ type: 'string',
505
417
  },
506
- {
507
- description: 'Salto site user limit reached.',
508
- properties: {
509
- error_code: {
510
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
511
- enum: ['salto_site_user_limit_reached'],
512
- type: 'string',
513
- },
514
- is_device_error: { enum: [true], type: 'boolean' },
515
- message: { type: 'string' },
516
- },
517
- required: ['message', 'is_device_error', 'error_code'],
518
- type: 'object',
418
+ is_device_error: { enum: [true], type: 'boolean' },
419
+ message: { type: 'string' },
420
+ },
421
+ required: ['message', 'is_device_error', 'error_code'],
422
+ type: 'object',
423
+ },
424
+ {
425
+ description: 'Lock is not paired with a Gateway.',
426
+ properties: {
427
+ error_code: {
428
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
429
+ enum: ['ttlock_lock_not_paired_to_gateway'],
430
+ type: 'string',
519
431
  },
520
- {
521
- description: 'Lock is not paired with a Gateway.',
522
- properties: {
523
- error_code: {
524
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
525
- enum: ['ttlock_lock_not_paired_to_gateway'],
526
- type: 'string',
527
- },
528
- is_device_error: { enum: [true], type: 'boolean' },
529
- message: { type: 'string' },
530
- },
531
- required: ['message', 'is_device_error', 'error_code'],
532
- type: 'object',
432
+ is_device_error: { enum: [true], type: 'boolean' },
433
+ message: { type: 'string' },
434
+ },
435
+ required: ['message', 'is_device_error', 'error_code'],
436
+ type: 'object',
437
+ },
438
+ {
439
+ description: 'Missing device credentials.',
440
+ properties: {
441
+ error_code: {
442
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
443
+ enum: ['missing_device_credentials'],
444
+ type: 'string',
533
445
  },
534
- {
535
- description: 'Missing device credentials.',
536
- properties: {
537
- error_code: {
538
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
539
- enum: ['missing_device_credentials'],
540
- type: 'string',
541
- },
542
- is_device_error: { enum: [true], type: 'boolean' },
543
- message: { type: 'string' },
544
- },
545
- required: ['message', 'is_device_error', 'error_code'],
546
- type: 'object',
446
+ is_device_error: { enum: [true], type: 'boolean' },
447
+ message: { type: 'string' },
448
+ },
449
+ required: ['message', 'is_device_error', 'error_code'],
450
+ type: 'object',
451
+ },
452
+ {
453
+ description: 'The auxiliary heat is running.',
454
+ properties: {
455
+ error_code: {
456
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
457
+ enum: ['auxiliary_heat_running'],
458
+ type: 'string',
547
459
  },
548
- {
549
- description: 'The auxiliary heat is running.',
550
- properties: {
551
- error_code: {
552
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
553
- enum: ['auxiliary_heat_running'],
554
- type: 'string',
555
- },
556
- is_device_error: { enum: [true], type: 'boolean' },
557
- message: { type: 'string' },
558
- },
559
- required: ['message', 'is_device_error', 'error_code'],
560
- type: 'object',
460
+ is_device_error: { enum: [true], type: 'boolean' },
461
+ message: { type: 'string' },
462
+ },
463
+ required: ['message', 'is_device_error', 'error_code'],
464
+ type: 'object',
465
+ },
466
+ {
467
+ description: 'Subscription required to connect.',
468
+ properties: {
469
+ error_code: {
470
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
471
+ enum: ['subscription_required'],
472
+ type: 'string',
561
473
  },
562
- {
563
- description: 'Subscription required to connect.',
564
- properties: {
565
- error_code: {
566
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
567
- enum: ['subscription_required'],
568
- type: 'string',
569
- },
570
- is_device_error: { enum: [true], type: 'boolean' },
571
- message: { type: 'string' },
572
- },
573
- required: ['message', 'is_device_error', 'error_code'],
574
- type: 'object',
474
+ is_device_error: { enum: [true], type: 'boolean' },
475
+ message: { type: 'string' },
476
+ },
477
+ required: ['message', 'is_device_error', 'error_code'],
478
+ type: 'object',
479
+ },
480
+ {
481
+ description: 'Account is disconnected.',
482
+ properties: {
483
+ error_code: {
484
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
485
+ enum: ['account_disconnected'],
486
+ type: 'string',
487
+ },
488
+ is_connected_account_error: {
489
+ enum: [true],
490
+ type: 'boolean',
575
491
  },
492
+ message: { type: 'string' },
493
+ },
494
+ required: [
495
+ 'message',
496
+ 'is_connected_account_error',
497
+ 'error_code',
576
498
  ],
499
+ type: 'object',
577
500
  },
578
501
  {
579
- oneOf: [
580
- {
581
- description: 'Account is disconnected.',
582
- properties: {
583
- error_code: {
584
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
585
- enum: ['account_disconnected'],
586
- type: 'string',
587
- },
588
- is_connected_account_error: {
589
- enum: [true],
590
- type: 'boolean',
591
- },
592
- message: { type: 'string' },
593
- },
594
- required: [
595
- 'message',
596
- 'is_connected_account_error',
597
- 'error_code',
598
- ],
599
- type: 'object',
502
+ description: 'Credentials provided were invalid.',
503
+ properties: {
504
+ error_code: {
505
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
506
+ enum: ['invalid_credentials'],
507
+ type: 'string',
600
508
  },
601
- {
602
- description: 'Credentials provided were invalid.',
603
- properties: {
604
- error_code: {
605
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
606
- enum: ['invalid_credentials'],
607
- type: 'string',
608
- },
609
- is_connected_account_error: {
610
- enum: [true],
611
- type: 'boolean',
612
- },
613
- message: { type: 'string' },
614
- },
615
- required: [
616
- 'message',
617
- 'is_connected_account_error',
618
- 'error_code',
619
- ],
620
- type: 'object',
509
+ is_connected_account_error: {
510
+ enum: [true],
511
+ type: 'boolean',
621
512
  },
513
+ message: { type: 'string' },
514
+ },
515
+ required: [
516
+ 'message',
517
+ 'is_connected_account_error',
518
+ 'error_code',
622
519
  ],
520
+ type: 'object',
623
521
  },
624
522
  ],
625
523
  },
@@ -688,6 +586,7 @@ export default {
688
586
  warnings: {
689
587
  description: 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
690
588
  items: {
589
+ discriminator: { propertyName: 'warning_code' },
691
590
  oneOf: [
692
591
  {
693
592
  description: 'Failed to set code on Smart Things device.',
@@ -728,6 +627,19 @@ export default {
728
627
  required: ['message', 'warning_code'],
729
628
  type: 'object',
730
629
  },
630
+ {
631
+ description: 'Lock is in Office Mode. Access Codes will not unlock doors.',
632
+ properties: {
633
+ message: { type: 'string' },
634
+ warning_code: {
635
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
636
+ enum: ['salto_office_mode'],
637
+ type: 'string',
638
+ },
639
+ },
640
+ required: ['message', 'warning_code'],
641
+ type: 'object',
642
+ },
731
643
  {
732
644
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
733
645
  properties: {
@@ -1093,6 +1005,7 @@ export default {
1093
1005
  description: 'Warnings associated with the `acs_credential`.',
1094
1006
  items: {
1095
1007
  description: 'Warning associated with the `acs_credential`.',
1008
+ discriminator: { propertyName: 'warning_code' },
1096
1009
  oneOf: [
1097
1010
  {
1098
1011
  description: 'Indicates that the credential is waiting to be issued.',
@@ -1542,6 +1455,7 @@ export default {
1542
1455
  description: 'Errors associated with the `acs_system`.',
1543
1456
  items: {
1544
1457
  description: 'Error associated with the `acs_system`.',
1458
+ discriminator: { propertyName: 'error_code' },
1545
1459
  oneOf: [
1546
1460
  {
1547
1461
  description: 'Indicates that the Seam API cannot communicate with the [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n This error might also occur if the Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
@@ -1766,6 +1680,7 @@ export default {
1766
1680
  description: 'Warnings associated with the `acs_system`.',
1767
1681
  items: {
1768
1682
  description: 'Warning associated with the `acs_system`.',
1683
+ discriminator: { propertyName: 'warning_code' },
1769
1684
  oneOf: [
1770
1685
  {
1771
1686
  properties: {
@@ -1893,6 +1808,7 @@ export default {
1893
1808
  description: 'Errors associated with the `acs_user`.',
1894
1809
  items: {
1895
1810
  description: 'Error associated with the `acs_user`.',
1811
+ discriminator: { propertyName: 'error_code' },
1896
1812
  oneOf: [
1897
1813
  {
1898
1814
  description: 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
@@ -2063,6 +1979,7 @@ export default {
2063
1979
  description: 'Warnings associated with the `acs_user`.',
2064
1980
  items: {
2065
1981
  description: 'Warning associated with the `acs_user`.',
1982
+ discriminator: { propertyName: 'warning_code' },
2066
1983
  oneOf: [
2067
1984
  {
2068
1985
  description: 'Indicates that the user is being deleted from the ACS system. This is a temporary state, and the user will be deleted shortly.',
@@ -2554,6 +2471,7 @@ export default {
2554
2471
  description: 'Warnings associated with the `acs_credential`.',
2555
2472
  items: {
2556
2473
  description: 'Warning associated with the `acs_credential`.',
2474
+ discriminator: { propertyName: 'warning_code' },
2557
2475
  oneOf: [
2558
2476
  {
2559
2477
  description: 'Indicates that the credential is waiting to be issued.',
@@ -2890,6 +2808,7 @@ export default {
2890
2808
  description: 'Warnings associated with the `acs_credential`.',
2891
2809
  items: {
2892
2810
  description: 'Warning associated with the `acs_credential`.',
2811
+ discriminator: { propertyName: 'warning_code' },
2893
2812
  oneOf: [
2894
2813
  {
2895
2814
  description: 'Indicates that the credential is waiting to be issued.',
@@ -3358,6 +3277,7 @@ export default {
3358
3277
  description: 'Warnings associated with the `acs_credential`.',
3359
3278
  items: {
3360
3279
  description: 'Warning associated with the `acs_credential`.',
3280
+ discriminator: { propertyName: 'warning_code' },
3361
3281
  oneOf: [
3362
3282
  {
3363
3283
  description: 'Indicates that the credential is waiting to be issued.',
@@ -3692,6 +3612,7 @@ export default {
3692
3612
  description: 'Warnings associated with the `acs_credential`.',
3693
3613
  items: {
3694
3614
  description: 'Warning associated with the `acs_credential`.',
3615
+ discriminator: { propertyName: 'warning_code' },
3695
3616
  oneOf: [
3696
3617
  {
3697
3618
  description: 'Indicates that the credential is waiting to be issued.',
@@ -4926,12 +4847,13 @@ export default {
4926
4847
  },
4927
4848
  errors: {
4928
4849
  items: {
4850
+ discriminator: { propertyName: 'error_code' },
4929
4851
  oneOf: [
4930
4852
  {
4931
4853
  description: 'Account is disconnected.',
4932
4854
  properties: {
4933
4855
  error_code: {
4934
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4856
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
4935
4857
  enum: ['account_disconnected'],
4936
4858
  type: 'string',
4937
4859
  },
@@ -4952,7 +4874,7 @@ export default {
4952
4874
  description: 'Credentials provided were invalid.',
4953
4875
  properties: {
4954
4876
  error_code: {
4955
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4877
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
4956
4878
  enum: ['invalid_credentials'],
4957
4879
  type: 'string',
4958
4880
  },
@@ -4986,6 +4908,7 @@ export default {
4986
4908
  warnings: {
4987
4909
  items: {
4988
4910
  description: 'Warning associated with the `connected_account`.',
4911
+ discriminator: { propertyName: 'warning_code' },
4989
4912
  oneOf: [
4990
4913
  {
4991
4914
  description: 'Scheduled downtime for account planned.',
@@ -5135,239 +5058,217 @@ export default {
5135
5058
  errors: {
5136
5059
  description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
5137
5060
  items: {
5061
+ discriminator: { propertyName: 'error_code' },
5138
5062
  oneOf: [
5139
5063
  {
5140
- description: 'Error associated with the `device`.',
5141
- oneOf: [
5142
- {
5143
- description: 'Device is offline',
5144
- properties: {
5145
- error_code: {
5146
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5147
- enum: ['device_offline'],
5148
- type: 'string',
5149
- },
5150
- is_device_error: { enum: [true], type: 'boolean' },
5151
- message: { type: 'string' },
5152
- },
5153
- required: ['message', 'is_device_error', 'error_code'],
5154
- type: 'object',
5064
+ description: 'Device is offline',
5065
+ properties: {
5066
+ error_code: {
5067
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5068
+ enum: ['device_offline'],
5069
+ type: 'string',
5155
5070
  },
5156
- {
5157
- description: 'Device has been removed',
5158
- properties: {
5159
- error_code: {
5160
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5161
- enum: ['device_removed'],
5162
- type: 'string',
5163
- },
5164
- is_device_error: { enum: [true], type: 'boolean' },
5165
- message: { type: 'string' },
5166
- },
5167
- required: ['message', 'is_device_error', 'error_code'],
5168
- type: 'object',
5071
+ is_device_error: { enum: [true], type: 'boolean' },
5072
+ message: { type: 'string' },
5073
+ },
5074
+ required: ['message', 'is_device_error', 'error_code'],
5075
+ type: 'object',
5076
+ },
5077
+ {
5078
+ description: 'Device has been removed',
5079
+ properties: {
5080
+ error_code: {
5081
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5082
+ enum: ['device_removed'],
5083
+ type: 'string',
5169
5084
  },
5170
- {
5171
- description: 'Account is disconnected',
5172
- properties: {
5173
- error_code: {
5174
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5175
- enum: ['account_disconnected'],
5176
- type: 'string',
5177
- },
5178
- is_device_error: { enum: [true], type: 'boolean' },
5179
- message: { type: 'string' },
5180
- },
5181
- required: ['message', 'is_device_error', 'error_code'],
5182
- type: 'object',
5085
+ is_device_error: { enum: [true], type: 'boolean' },
5086
+ message: { type: 'string' },
5087
+ },
5088
+ required: ['message', 'is_device_error', 'error_code'],
5089
+ type: 'object',
5090
+ },
5091
+ {
5092
+ description: 'Hub is disconnected',
5093
+ properties: {
5094
+ error_code: {
5095
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5096
+ enum: ['hub_disconnected'],
5097
+ type: 'string',
5183
5098
  },
5184
- {
5185
- description: 'Hub is disconnected',
5186
- properties: {
5187
- error_code: {
5188
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5189
- enum: ['hub_disconnected'],
5190
- type: 'string',
5191
- },
5192
- is_device_error: { enum: [true], type: 'boolean' },
5193
- message: { type: 'string' },
5194
- },
5195
- required: ['message', 'is_device_error', 'error_code'],
5196
- type: 'object',
5099
+ is_device_error: { enum: [true], type: 'boolean' },
5100
+ message: { type: 'string' },
5101
+ },
5102
+ required: ['message', 'is_device_error', 'error_code'],
5103
+ type: 'object',
5104
+ },
5105
+ {
5106
+ description: 'Device is disconnected',
5107
+ properties: {
5108
+ error_code: {
5109
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5110
+ enum: ['device_disconnected'],
5111
+ type: 'string',
5197
5112
  },
5198
- {
5199
- description: 'Device is disconnected',
5200
- properties: {
5201
- error_code: {
5202
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5203
- enum: ['device_disconnected'],
5204
- type: 'string',
5205
- },
5206
- is_device_error: { enum: [true], type: 'boolean' },
5207
- message: { type: 'string' },
5208
- },
5209
- required: ['message', 'is_device_error', 'error_code'],
5210
- type: 'object',
5113
+ is_device_error: { enum: [true], type: 'boolean' },
5114
+ message: { type: 'string' },
5115
+ },
5116
+ required: ['message', 'is_device_error', 'error_code'],
5117
+ type: 'object',
5118
+ },
5119
+ {
5120
+ description: 'The backup access code pool is empty.',
5121
+ properties: {
5122
+ error_code: {
5123
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5124
+ enum: ['empty_backup_access_code_pool'],
5125
+ type: 'string',
5211
5126
  },
5212
- {
5213
- description: 'The backup access code pool is empty.',
5214
- properties: {
5215
- error_code: {
5216
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5217
- enum: ['empty_backup_access_code_pool'],
5218
- type: 'string',
5219
- },
5220
- is_device_error: { enum: [true], type: 'boolean' },
5221
- message: { type: 'string' },
5222
- },
5223
- required: ['message', 'is_device_error', 'error_code'],
5224
- type: 'object',
5127
+ is_device_error: { enum: [true], type: 'boolean' },
5128
+ message: { type: 'string' },
5129
+ },
5130
+ required: ['message', 'is_device_error', 'error_code'],
5131
+ type: 'object',
5132
+ },
5133
+ {
5134
+ description: 'User is not authorized to use the August Lock.',
5135
+ properties: {
5136
+ error_code: {
5137
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5138
+ enum: ['august_lock_not_authorized'],
5139
+ type: 'string',
5225
5140
  },
5226
- {
5227
- description: 'User is not authorized to use the August Lock.',
5228
- properties: {
5229
- error_code: {
5230
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5231
- enum: ['august_lock_not_authorized'],
5232
- type: 'string',
5233
- },
5234
- is_device_error: { enum: [true], type: 'boolean' },
5235
- message: { type: 'string' },
5236
- },
5237
- required: ['message', 'is_device_error', 'error_code'],
5238
- type: 'object',
5141
+ is_device_error: { enum: [true], type: 'boolean' },
5142
+ message: { type: 'string' },
5143
+ },
5144
+ required: ['message', 'is_device_error', 'error_code'],
5145
+ type: 'object',
5146
+ },
5147
+ {
5148
+ description: 'Lock is not connected to the Seam Bridge.',
5149
+ properties: {
5150
+ error_code: {
5151
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5152
+ enum: ['august_lock_missing_bridge'],
5153
+ type: 'string',
5239
5154
  },
5240
- {
5241
- description: 'Lock is not connected to the Seam Bridge.',
5242
- properties: {
5243
- error_code: {
5244
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5245
- enum: ['august_lock_missing_bridge'],
5246
- type: 'string',
5247
- },
5248
- is_device_error: { enum: [true], type: 'boolean' },
5249
- message: { type: 'string' },
5250
- },
5251
- required: ['message', 'is_device_error', 'error_code'],
5252
- type: 'object',
5155
+ is_device_error: { enum: [true], type: 'boolean' },
5156
+ message: { type: 'string' },
5157
+ },
5158
+ required: ['message', 'is_device_error', 'error_code'],
5159
+ type: 'object',
5160
+ },
5161
+ {
5162
+ description: 'Salto site user limit reached.',
5163
+ properties: {
5164
+ error_code: {
5165
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5166
+ enum: ['salto_site_user_limit_reached'],
5167
+ type: 'string',
5253
5168
  },
5254
- {
5255
- description: 'Salto site user limit reached.',
5256
- properties: {
5257
- error_code: {
5258
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5259
- enum: ['salto_site_user_limit_reached'],
5260
- type: 'string',
5261
- },
5262
- is_device_error: { enum: [true], type: 'boolean' },
5263
- message: { type: 'string' },
5264
- },
5265
- required: ['message', 'is_device_error', 'error_code'],
5266
- type: 'object',
5169
+ is_device_error: { enum: [true], type: 'boolean' },
5170
+ message: { type: 'string' },
5171
+ },
5172
+ required: ['message', 'is_device_error', 'error_code'],
5173
+ type: 'object',
5174
+ },
5175
+ {
5176
+ description: 'Lock is not paired with a Gateway.',
5177
+ properties: {
5178
+ error_code: {
5179
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5180
+ enum: ['ttlock_lock_not_paired_to_gateway'],
5181
+ type: 'string',
5267
5182
  },
5268
- {
5269
- description: 'Lock is not paired with a Gateway.',
5270
- properties: {
5271
- error_code: {
5272
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5273
- enum: ['ttlock_lock_not_paired_to_gateway'],
5274
- type: 'string',
5275
- },
5276
- is_device_error: { enum: [true], type: 'boolean' },
5277
- message: { type: 'string' },
5278
- },
5279
- required: ['message', 'is_device_error', 'error_code'],
5280
- type: 'object',
5183
+ is_device_error: { enum: [true], type: 'boolean' },
5184
+ message: { type: 'string' },
5185
+ },
5186
+ required: ['message', 'is_device_error', 'error_code'],
5187
+ type: 'object',
5188
+ },
5189
+ {
5190
+ description: 'Missing device credentials.',
5191
+ properties: {
5192
+ error_code: {
5193
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5194
+ enum: ['missing_device_credentials'],
5195
+ type: 'string',
5281
5196
  },
5282
- {
5283
- description: 'Missing device credentials.',
5284
- properties: {
5285
- error_code: {
5286
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5287
- enum: ['missing_device_credentials'],
5288
- type: 'string',
5289
- },
5290
- is_device_error: { enum: [true], type: 'boolean' },
5291
- message: { type: 'string' },
5292
- },
5293
- required: ['message', 'is_device_error', 'error_code'],
5294
- type: 'object',
5197
+ is_device_error: { enum: [true], type: 'boolean' },
5198
+ message: { type: 'string' },
5199
+ },
5200
+ required: ['message', 'is_device_error', 'error_code'],
5201
+ type: 'object',
5202
+ },
5203
+ {
5204
+ description: 'The auxiliary heat is running.',
5205
+ properties: {
5206
+ error_code: {
5207
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5208
+ enum: ['auxiliary_heat_running'],
5209
+ type: 'string',
5295
5210
  },
5296
- {
5297
- description: 'The auxiliary heat is running.',
5298
- properties: {
5299
- error_code: {
5300
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5301
- enum: ['auxiliary_heat_running'],
5302
- type: 'string',
5303
- },
5304
- is_device_error: { enum: [true], type: 'boolean' },
5305
- message: { type: 'string' },
5306
- },
5307
- required: ['message', 'is_device_error', 'error_code'],
5308
- type: 'object',
5211
+ is_device_error: { enum: [true], type: 'boolean' },
5212
+ message: { type: 'string' },
5213
+ },
5214
+ required: ['message', 'is_device_error', 'error_code'],
5215
+ type: 'object',
5216
+ },
5217
+ {
5218
+ description: 'Subscription required to connect.',
5219
+ properties: {
5220
+ error_code: {
5221
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5222
+ enum: ['subscription_required'],
5223
+ type: 'string',
5309
5224
  },
5310
- {
5311
- description: 'Subscription required to connect.',
5312
- properties: {
5313
- error_code: {
5314
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5315
- enum: ['subscription_required'],
5316
- type: 'string',
5317
- },
5318
- is_device_error: { enum: [true], type: 'boolean' },
5319
- message: { type: 'string' },
5320
- },
5321
- required: ['message', 'is_device_error', 'error_code'],
5322
- type: 'object',
5225
+ is_device_error: { enum: [true], type: 'boolean' },
5226
+ message: { type: 'string' },
5227
+ },
5228
+ required: ['message', 'is_device_error', 'error_code'],
5229
+ type: 'object',
5230
+ },
5231
+ {
5232
+ description: 'Account is disconnected.',
5233
+ properties: {
5234
+ error_code: {
5235
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5236
+ enum: ['account_disconnected'],
5237
+ type: 'string',
5238
+ },
5239
+ is_connected_account_error: {
5240
+ enum: [true],
5241
+ type: 'boolean',
5323
5242
  },
5243
+ message: { type: 'string' },
5244
+ },
5245
+ required: [
5246
+ 'message',
5247
+ 'is_connected_account_error',
5248
+ 'error_code',
5324
5249
  ],
5250
+ type: 'object',
5325
5251
  },
5326
5252
  {
5327
- oneOf: [
5328
- {
5329
- description: 'Account is disconnected.',
5330
- properties: {
5331
- error_code: {
5332
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
5333
- enum: ['account_disconnected'],
5334
- type: 'string',
5335
- },
5336
- is_connected_account_error: {
5337
- enum: [true],
5338
- type: 'boolean',
5339
- },
5340
- message: { type: 'string' },
5341
- },
5342
- required: [
5343
- 'message',
5344
- 'is_connected_account_error',
5345
- 'error_code',
5346
- ],
5347
- type: 'object',
5253
+ description: 'Credentials provided were invalid.',
5254
+ properties: {
5255
+ error_code: {
5256
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5257
+ enum: ['invalid_credentials'],
5258
+ type: 'string',
5348
5259
  },
5349
- {
5350
- description: 'Credentials provided were invalid.',
5351
- properties: {
5352
- error_code: {
5353
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
5354
- enum: ['invalid_credentials'],
5355
- type: 'string',
5356
- },
5357
- is_connected_account_error: {
5358
- enum: [true],
5359
- type: 'boolean',
5360
- },
5361
- message: { type: 'string' },
5362
- },
5363
- required: [
5364
- 'message',
5365
- 'is_connected_account_error',
5366
- 'error_code',
5367
- ],
5368
- type: 'object',
5260
+ is_connected_account_error: {
5261
+ enum: [true],
5262
+ type: 'boolean',
5369
5263
  },
5264
+ message: { type: 'string' },
5265
+ },
5266
+ required: [
5267
+ 'message',
5268
+ 'is_connected_account_error',
5269
+ 'error_code',
5370
5270
  ],
5271
+ type: 'object',
5371
5272
  },
5372
5273
  ],
5373
5274
  },
@@ -6601,6 +6502,7 @@ export default {
6601
6502
  warnings: {
6602
6503
  description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
6603
6504
  items: {
6505
+ discriminator: { propertyName: 'warning_code' },
6604
6506
  oneOf: [
6605
6507
  {
6606
6508
  description: 'Backup access code unhealthy.',
@@ -11088,239 +10990,217 @@ export default {
11088
10990
  errors: {
11089
10991
  description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
11090
10992
  items: {
10993
+ discriminator: { propertyName: 'error_code' },
11091
10994
  oneOf: [
11092
10995
  {
11093
- description: 'Error associated with the `device`.',
11094
- oneOf: [
11095
- {
11096
- description: 'Device is offline',
11097
- properties: {
11098
- error_code: {
11099
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11100
- enum: ['device_offline'],
11101
- type: 'string',
11102
- },
11103
- is_device_error: { enum: [true], type: 'boolean' },
11104
- message: { type: 'string' },
11105
- },
11106
- required: ['message', 'is_device_error', 'error_code'],
11107
- type: 'object',
10996
+ description: 'Device is offline',
10997
+ properties: {
10998
+ error_code: {
10999
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11000
+ enum: ['device_offline'],
11001
+ type: 'string',
11108
11002
  },
11109
- {
11110
- description: 'Device has been removed',
11111
- properties: {
11112
- error_code: {
11113
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11114
- enum: ['device_removed'],
11115
- type: 'string',
11116
- },
11117
- is_device_error: { enum: [true], type: 'boolean' },
11118
- message: { type: 'string' },
11119
- },
11120
- required: ['message', 'is_device_error', 'error_code'],
11121
- type: 'object',
11003
+ is_device_error: { enum: [true], type: 'boolean' },
11004
+ message: { type: 'string' },
11005
+ },
11006
+ required: ['message', 'is_device_error', 'error_code'],
11007
+ type: 'object',
11008
+ },
11009
+ {
11010
+ description: 'Device has been removed',
11011
+ properties: {
11012
+ error_code: {
11013
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11014
+ enum: ['device_removed'],
11015
+ type: 'string',
11122
11016
  },
11123
- {
11124
- description: 'Account is disconnected',
11125
- properties: {
11126
- error_code: {
11127
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11128
- enum: ['account_disconnected'],
11129
- type: 'string',
11130
- },
11131
- is_device_error: { enum: [true], type: 'boolean' },
11132
- message: { type: 'string' },
11133
- },
11134
- required: ['message', 'is_device_error', 'error_code'],
11135
- type: 'object',
11017
+ is_device_error: { enum: [true], type: 'boolean' },
11018
+ message: { type: 'string' },
11019
+ },
11020
+ required: ['message', 'is_device_error', 'error_code'],
11021
+ type: 'object',
11022
+ },
11023
+ {
11024
+ description: 'Hub is disconnected',
11025
+ properties: {
11026
+ error_code: {
11027
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11028
+ enum: ['hub_disconnected'],
11029
+ type: 'string',
11136
11030
  },
11137
- {
11138
- description: 'Hub is disconnected',
11139
- properties: {
11140
- error_code: {
11141
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11142
- enum: ['hub_disconnected'],
11143
- type: 'string',
11144
- },
11145
- is_device_error: { enum: [true], type: 'boolean' },
11146
- message: { type: 'string' },
11147
- },
11148
- required: ['message', 'is_device_error', 'error_code'],
11149
- type: 'object',
11031
+ is_device_error: { enum: [true], type: 'boolean' },
11032
+ message: { type: 'string' },
11033
+ },
11034
+ required: ['message', 'is_device_error', 'error_code'],
11035
+ type: 'object',
11036
+ },
11037
+ {
11038
+ description: 'Device is disconnected',
11039
+ properties: {
11040
+ error_code: {
11041
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11042
+ enum: ['device_disconnected'],
11043
+ type: 'string',
11150
11044
  },
11151
- {
11152
- description: 'Device is disconnected',
11153
- properties: {
11154
- error_code: {
11155
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11156
- enum: ['device_disconnected'],
11157
- type: 'string',
11158
- },
11159
- is_device_error: { enum: [true], type: 'boolean' },
11160
- message: { type: 'string' },
11161
- },
11162
- required: ['message', 'is_device_error', 'error_code'],
11163
- type: 'object',
11045
+ is_device_error: { enum: [true], type: 'boolean' },
11046
+ message: { type: 'string' },
11047
+ },
11048
+ required: ['message', 'is_device_error', 'error_code'],
11049
+ type: 'object',
11050
+ },
11051
+ {
11052
+ description: 'The backup access code pool is empty.',
11053
+ properties: {
11054
+ error_code: {
11055
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11056
+ enum: ['empty_backup_access_code_pool'],
11057
+ type: 'string',
11164
11058
  },
11165
- {
11166
- description: 'The backup access code pool is empty.',
11167
- properties: {
11168
- error_code: {
11169
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11170
- enum: ['empty_backup_access_code_pool'],
11171
- type: 'string',
11172
- },
11173
- is_device_error: { enum: [true], type: 'boolean' },
11174
- message: { type: 'string' },
11175
- },
11176
- required: ['message', 'is_device_error', 'error_code'],
11177
- type: 'object',
11059
+ is_device_error: { enum: [true], type: 'boolean' },
11060
+ message: { type: 'string' },
11061
+ },
11062
+ required: ['message', 'is_device_error', 'error_code'],
11063
+ type: 'object',
11064
+ },
11065
+ {
11066
+ description: 'User is not authorized to use the August Lock.',
11067
+ properties: {
11068
+ error_code: {
11069
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11070
+ enum: ['august_lock_not_authorized'],
11071
+ type: 'string',
11178
11072
  },
11179
- {
11180
- description: 'User is not authorized to use the August Lock.',
11181
- properties: {
11182
- error_code: {
11183
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11184
- enum: ['august_lock_not_authorized'],
11185
- type: 'string',
11186
- },
11187
- is_device_error: { enum: [true], type: 'boolean' },
11188
- message: { type: 'string' },
11189
- },
11190
- required: ['message', 'is_device_error', 'error_code'],
11191
- type: 'object',
11073
+ is_device_error: { enum: [true], type: 'boolean' },
11074
+ message: { type: 'string' },
11075
+ },
11076
+ required: ['message', 'is_device_error', 'error_code'],
11077
+ type: 'object',
11078
+ },
11079
+ {
11080
+ description: 'Lock is not connected to the Seam Bridge.',
11081
+ properties: {
11082
+ error_code: {
11083
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11084
+ enum: ['august_lock_missing_bridge'],
11085
+ type: 'string',
11192
11086
  },
11193
- {
11194
- description: 'Lock is not connected to the Seam Bridge.',
11195
- properties: {
11196
- error_code: {
11197
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11198
- enum: ['august_lock_missing_bridge'],
11199
- type: 'string',
11200
- },
11201
- is_device_error: { enum: [true], type: 'boolean' },
11202
- message: { type: 'string' },
11203
- },
11204
- required: ['message', 'is_device_error', 'error_code'],
11205
- type: 'object',
11087
+ is_device_error: { enum: [true], type: 'boolean' },
11088
+ message: { type: 'string' },
11089
+ },
11090
+ required: ['message', 'is_device_error', 'error_code'],
11091
+ type: 'object',
11092
+ },
11093
+ {
11094
+ description: 'Salto site user limit reached.',
11095
+ properties: {
11096
+ error_code: {
11097
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11098
+ enum: ['salto_site_user_limit_reached'],
11099
+ type: 'string',
11206
11100
  },
11207
- {
11208
- description: 'Salto site user limit reached.',
11209
- properties: {
11210
- error_code: {
11211
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11212
- enum: ['salto_site_user_limit_reached'],
11213
- type: 'string',
11214
- },
11215
- is_device_error: { enum: [true], type: 'boolean' },
11216
- message: { type: 'string' },
11217
- },
11218
- required: ['message', 'is_device_error', 'error_code'],
11219
- type: 'object',
11101
+ is_device_error: { enum: [true], type: 'boolean' },
11102
+ message: { type: 'string' },
11103
+ },
11104
+ required: ['message', 'is_device_error', 'error_code'],
11105
+ type: 'object',
11106
+ },
11107
+ {
11108
+ description: 'Lock is not paired with a Gateway.',
11109
+ properties: {
11110
+ error_code: {
11111
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11112
+ enum: ['ttlock_lock_not_paired_to_gateway'],
11113
+ type: 'string',
11220
11114
  },
11221
- {
11222
- description: 'Lock is not paired with a Gateway.',
11223
- properties: {
11224
- error_code: {
11225
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11226
- enum: ['ttlock_lock_not_paired_to_gateway'],
11227
- type: 'string',
11228
- },
11229
- is_device_error: { enum: [true], type: 'boolean' },
11230
- message: { type: 'string' },
11231
- },
11232
- required: ['message', 'is_device_error', 'error_code'],
11233
- type: 'object',
11115
+ is_device_error: { enum: [true], type: 'boolean' },
11116
+ message: { type: 'string' },
11117
+ },
11118
+ required: ['message', 'is_device_error', 'error_code'],
11119
+ type: 'object',
11120
+ },
11121
+ {
11122
+ description: 'Missing device credentials.',
11123
+ properties: {
11124
+ error_code: {
11125
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11126
+ enum: ['missing_device_credentials'],
11127
+ type: 'string',
11234
11128
  },
11235
- {
11236
- description: 'Missing device credentials.',
11237
- properties: {
11238
- error_code: {
11239
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11240
- enum: ['missing_device_credentials'],
11241
- type: 'string',
11242
- },
11243
- is_device_error: { enum: [true], type: 'boolean' },
11244
- message: { type: 'string' },
11245
- },
11246
- required: ['message', 'is_device_error', 'error_code'],
11247
- type: 'object',
11129
+ is_device_error: { enum: [true], type: 'boolean' },
11130
+ message: { type: 'string' },
11131
+ },
11132
+ required: ['message', 'is_device_error', 'error_code'],
11133
+ type: 'object',
11134
+ },
11135
+ {
11136
+ description: 'The auxiliary heat is running.',
11137
+ properties: {
11138
+ error_code: {
11139
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11140
+ enum: ['auxiliary_heat_running'],
11141
+ type: 'string',
11248
11142
  },
11249
- {
11250
- description: 'The auxiliary heat is running.',
11251
- properties: {
11252
- error_code: {
11253
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11254
- enum: ['auxiliary_heat_running'],
11255
- type: 'string',
11256
- },
11257
- is_device_error: { enum: [true], type: 'boolean' },
11258
- message: { type: 'string' },
11259
- },
11260
- required: ['message', 'is_device_error', 'error_code'],
11261
- type: 'object',
11143
+ is_device_error: { enum: [true], type: 'boolean' },
11144
+ message: { type: 'string' },
11145
+ },
11146
+ required: ['message', 'is_device_error', 'error_code'],
11147
+ type: 'object',
11148
+ },
11149
+ {
11150
+ description: 'Subscription required to connect.',
11151
+ properties: {
11152
+ error_code: {
11153
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11154
+ enum: ['subscription_required'],
11155
+ type: 'string',
11262
11156
  },
11263
- {
11264
- description: 'Subscription required to connect.',
11265
- properties: {
11266
- error_code: {
11267
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11268
- enum: ['subscription_required'],
11269
- type: 'string',
11270
- },
11271
- is_device_error: { enum: [true], type: 'boolean' },
11272
- message: { type: 'string' },
11273
- },
11274
- required: ['message', 'is_device_error', 'error_code'],
11275
- type: 'object',
11157
+ is_device_error: { enum: [true], type: 'boolean' },
11158
+ message: { type: 'string' },
11159
+ },
11160
+ required: ['message', 'is_device_error', 'error_code'],
11161
+ type: 'object',
11162
+ },
11163
+ {
11164
+ description: 'Account is disconnected.',
11165
+ properties: {
11166
+ error_code: {
11167
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11168
+ enum: ['account_disconnected'],
11169
+ type: 'string',
11170
+ },
11171
+ is_connected_account_error: {
11172
+ enum: [true],
11173
+ type: 'boolean',
11276
11174
  },
11175
+ message: { type: 'string' },
11176
+ },
11177
+ required: [
11178
+ 'message',
11179
+ 'is_connected_account_error',
11180
+ 'error_code',
11277
11181
  ],
11182
+ type: 'object',
11278
11183
  },
11279
11184
  {
11280
- oneOf: [
11281
- {
11282
- description: 'Account is disconnected.',
11283
- properties: {
11284
- error_code: {
11285
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11286
- enum: ['account_disconnected'],
11287
- type: 'string',
11288
- },
11289
- is_connected_account_error: {
11290
- enum: [true],
11291
- type: 'boolean',
11292
- },
11293
- message: { type: 'string' },
11294
- },
11295
- required: [
11296
- 'message',
11297
- 'is_connected_account_error',
11298
- 'error_code',
11299
- ],
11300
- type: 'object',
11185
+ description: 'Credentials provided were invalid.',
11186
+ properties: {
11187
+ error_code: {
11188
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11189
+ enum: ['invalid_credentials'],
11190
+ type: 'string',
11301
11191
  },
11302
- {
11303
- description: 'Credentials provided were invalid.',
11304
- properties: {
11305
- error_code: {
11306
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11307
- enum: ['invalid_credentials'],
11308
- type: 'string',
11309
- },
11310
- is_connected_account_error: {
11311
- enum: [true],
11312
- type: 'boolean',
11313
- },
11314
- message: { type: 'string' },
11315
- },
11316
- required: [
11317
- 'message',
11318
- 'is_connected_account_error',
11319
- 'error_code',
11320
- ],
11321
- type: 'object',
11192
+ is_connected_account_error: {
11193
+ enum: [true],
11194
+ type: 'boolean',
11322
11195
  },
11196
+ message: { type: 'string' },
11197
+ },
11198
+ required: [
11199
+ 'message',
11200
+ 'is_connected_account_error',
11201
+ 'error_code',
11323
11202
  ],
11203
+ type: 'object',
11324
11204
  },
11325
11205
  ],
11326
11206
  },
@@ -11381,6 +11261,7 @@ export default {
11381
11261
  warnings: {
11382
11262
  description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
11383
11263
  items: {
11264
+ discriminator: { propertyName: 'warning_code' },
11384
11265
  oneOf: [
11385
11266
  {
11386
11267
  description: 'Backup access code unhealthy.',
@@ -11728,591 +11609,489 @@ export default {
11728
11609
  type: 'string',
11729
11610
  },
11730
11611
  errors: {
11731
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
11732
- items: {
11733
- oneOf: [
11734
- {
11735
- oneOf: [
11736
- {
11737
- description: 'Failed to set code on Smart Things device.',
11738
- properties: {
11739
- error_code: {
11740
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11741
- enum: ['smartthings_failed_to_set_access_code'],
11742
- type: 'string',
11743
- },
11744
- is_access_code_error: { enum: [true], type: 'boolean' },
11745
- message: { type: 'string' },
11746
- },
11747
- required: [
11748
- 'message',
11749
- 'is_access_code_error',
11750
- 'error_code',
11751
- ],
11752
- type: 'object',
11612
+ description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
11613
+ items: {
11614
+ discriminator: { propertyName: 'error_code' },
11615
+ oneOf: [
11616
+ {
11617
+ description: 'Failed to set code on Smart Things device.',
11618
+ properties: {
11619
+ error_code: {
11620
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11621
+ enum: ['smartthings_failed_to_set_access_code'],
11622
+ type: 'string',
11753
11623
  },
11754
- {
11755
- description: 'Failed to set code after multiple retries.',
11756
- properties: {
11757
- error_code: {
11758
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11759
- enum: [
11760
- 'smartthings_failed_to_set_after_multiple_retries',
11761
- ],
11762
- type: 'string',
11763
- },
11764
- is_access_code_error: { enum: [true], type: 'boolean' },
11765
- message: { type: 'string' },
11766
- },
11767
- required: [
11768
- 'message',
11769
- 'is_access_code_error',
11770
- 'error_code',
11624
+ is_access_code_error: { enum: [true], type: 'boolean' },
11625
+ message: { type: 'string' },
11626
+ },
11627
+ required: ['message', 'is_access_code_error', 'error_code'],
11628
+ type: 'object',
11629
+ },
11630
+ {
11631
+ description: 'Failed to set code after multiple retries.',
11632
+ properties: {
11633
+ error_code: {
11634
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11635
+ enum: [
11636
+ 'smartthings_failed_to_set_after_multiple_retries',
11771
11637
  ],
11772
- type: 'object',
11638
+ type: 'string',
11773
11639
  },
11774
- {
11775
- description: 'Failed to set code on device.',
11776
- properties: {
11777
- error_code: {
11778
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11779
- enum: ['failed_to_set_on_device'],
11780
- type: 'string',
11781
- },
11782
- is_access_code_error: { enum: [true], type: 'boolean' },
11783
- message: { type: 'string' },
11784
- },
11785
- required: [
11786
- 'message',
11787
- 'is_access_code_error',
11788
- 'error_code',
11789
- ],
11790
- type: 'object',
11640
+ is_access_code_error: { enum: [true], type: 'boolean' },
11641
+ message: { type: 'string' },
11642
+ },
11643
+ required: ['message', 'is_access_code_error', 'error_code'],
11644
+ type: 'object',
11645
+ },
11646
+ {
11647
+ description: 'Failed to set code on device.',
11648
+ properties: {
11649
+ error_code: {
11650
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11651
+ enum: ['failed_to_set_on_device'],
11652
+ type: 'string',
11791
11653
  },
11792
- {
11793
- description: 'Failed to remove code from device.',
11794
- properties: {
11795
- error_code: {
11796
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11797
- enum: ['failed_to_remove_from_device'],
11798
- type: 'string',
11799
- },
11800
- is_access_code_error: { enum: [true], type: 'boolean' },
11801
- message: { type: 'string' },
11802
- },
11803
- required: [
11804
- 'message',
11805
- 'is_access_code_error',
11806
- 'error_code',
11807
- ],
11808
- type: 'object',
11654
+ is_access_code_error: { enum: [true], type: 'boolean' },
11655
+ message: { type: 'string' },
11656
+ },
11657
+ required: ['message', 'is_access_code_error', 'error_code'],
11658
+ type: 'object',
11659
+ },
11660
+ {
11661
+ description: 'Failed to remove code from device.',
11662
+ properties: {
11663
+ error_code: {
11664
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11665
+ enum: ['failed_to_remove_from_device'],
11666
+ type: 'string',
11809
11667
  },
11810
- {
11811
- description: 'Duplicate access code detected on device.',
11812
- properties: {
11813
- error_code: {
11814
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11815
- enum: ['duplicate_code_on_device'],
11816
- type: 'string',
11817
- },
11818
- is_access_code_error: { enum: [true], type: 'boolean' },
11819
- message: { type: 'string' },
11820
- },
11821
- required: [
11822
- 'message',
11823
- 'is_access_code_error',
11824
- 'error_code',
11825
- ],
11826
- type: 'object',
11668
+ is_access_code_error: { enum: [true], type: 'boolean' },
11669
+ message: { type: 'string' },
11670
+ },
11671
+ required: ['message', 'is_access_code_error', 'error_code'],
11672
+ type: 'object',
11673
+ },
11674
+ {
11675
+ description: 'Duplicate access code detected on device.',
11676
+ properties: {
11677
+ error_code: {
11678
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11679
+ enum: ['duplicate_code_on_device'],
11680
+ type: 'string',
11827
11681
  },
11828
- {
11829
- description: 'An attempt to modify this access code was prevented.',
11830
- properties: {
11831
- error_code: {
11832
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11833
- enum: ['duplicate_code_attempt_prevented'],
11834
- type: 'string',
11835
- },
11836
- is_access_code_error: { enum: [true], type: 'boolean' },
11837
- message: { type: 'string' },
11838
- },
11839
- required: [
11840
- 'message',
11841
- 'is_access_code_error',
11842
- 'error_code',
11843
- ],
11844
- type: 'object',
11682
+ is_access_code_error: { enum: [true], type: 'boolean' },
11683
+ message: { type: 'string' },
11684
+ },
11685
+ required: ['message', 'is_access_code_error', 'error_code'],
11686
+ type: 'object',
11687
+ },
11688
+ {
11689
+ description: 'An attempt to modify this access code was prevented.',
11690
+ properties: {
11691
+ error_code: {
11692
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11693
+ enum: ['duplicate_code_attempt_prevented'],
11694
+ type: 'string',
11845
11695
  },
11846
- {
11847
- description: 'Igloohome bridge has too many pending jobs in the queue.',
11848
- properties: {
11849
- error_code: {
11850
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11851
- enum: ['igloohome_bridge_too_many_pending_jobs'],
11852
- type: 'string',
11853
- },
11854
- is_access_code_error: { enum: [true], type: 'boolean' },
11855
- message: { type: 'string' },
11856
- },
11857
- required: [
11858
- 'message',
11859
- 'is_access_code_error',
11860
- 'error_code',
11861
- ],
11862
- type: 'object',
11696
+ is_access_code_error: { enum: [true], type: 'boolean' },
11697
+ message: { type: 'string' },
11698
+ },
11699
+ required: ['message', 'is_access_code_error', 'error_code'],
11700
+ type: 'object',
11701
+ },
11702
+ {
11703
+ description: 'Igloohome bridge has too many pending jobs in the queue.',
11704
+ properties: {
11705
+ error_code: {
11706
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11707
+ enum: ['igloohome_bridge_too_many_pending_jobs'],
11708
+ type: 'string',
11863
11709
  },
11864
- {
11865
- description: 'Igloohome bridge is offline.',
11866
- properties: {
11867
- error_code: {
11868
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11869
- enum: ['igloohome_bridge_offline'],
11870
- type: 'string',
11871
- },
11872
- is_access_code_error: { enum: [true], type: 'boolean' },
11873
- message: { type: 'string' },
11874
- },
11875
- required: [
11876
- 'message',
11877
- 'is_access_code_error',
11878
- 'error_code',
11879
- ],
11880
- type: 'object',
11710
+ is_access_code_error: { enum: [true], type: 'boolean' },
11711
+ message: { type: 'string' },
11712
+ },
11713
+ required: ['message', 'is_access_code_error', 'error_code'],
11714
+ type: 'object',
11715
+ },
11716
+ {
11717
+ description: 'Igloohome bridge is offline.',
11718
+ properties: {
11719
+ error_code: {
11720
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11721
+ enum: ['igloohome_bridge_offline'],
11722
+ type: 'string',
11881
11723
  },
11882
- {
11883
- description: 'Lock as reached max amount of codes.',
11884
- properties: {
11885
- error_code: {
11886
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11887
- enum: [
11888
- 'igloohome_offline_access_code_no_variance_available',
11889
- ],
11890
- type: 'string',
11891
- },
11892
- is_access_code_error: { enum: [true], type: 'boolean' },
11893
- message: { type: 'string' },
11894
- },
11895
- required: [
11896
- 'message',
11897
- 'is_access_code_error',
11898
- 'error_code',
11724
+ is_access_code_error: { enum: [true], type: 'boolean' },
11725
+ message: { type: 'string' },
11726
+ },
11727
+ required: ['message', 'is_access_code_error', 'error_code'],
11728
+ type: 'object',
11729
+ },
11730
+ {
11731
+ description: 'Lock as reached max amount of codes.',
11732
+ properties: {
11733
+ error_code: {
11734
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11735
+ enum: [
11736
+ 'igloohome_offline_access_code_no_variance_available',
11899
11737
  ],
11900
- type: 'object',
11738
+ type: 'string',
11901
11739
  },
11902
- {
11903
- description: 'Unable to confirm the access code is set on Kwikset device.',
11904
- properties: {
11905
- error_code: {
11906
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11907
- enum: ['kwikset_unable_to_confirm_code'],
11908
- type: 'string',
11909
- },
11910
- is_access_code_error: { enum: [true], type: 'boolean' },
11911
- message: { type: 'string' },
11912
- },
11913
- required: [
11914
- 'message',
11915
- 'is_access_code_error',
11916
- 'error_code',
11917
- ],
11918
- type: 'object',
11740
+ is_access_code_error: { enum: [true], type: 'boolean' },
11741
+ message: { type: 'string' },
11742
+ },
11743
+ required: ['message', 'is_access_code_error', 'error_code'],
11744
+ type: 'object',
11745
+ },
11746
+ {
11747
+ description: 'Unable to confirm the access code is set on Kwikset device.',
11748
+ properties: {
11749
+ error_code: {
11750
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11751
+ enum: ['kwikset_unable_to_confirm_code'],
11752
+ type: 'string',
11919
11753
  },
11920
- {
11921
- description: 'Unable to confirm the deletion of the access code on Kwikset device.',
11922
- properties: {
11923
- error_code: {
11924
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11925
- enum: ['kwikset_unable_to_confirm_deletion'],
11926
- type: 'string',
11927
- },
11928
- is_access_code_error: { enum: [true], type: 'boolean' },
11929
- message: { type: 'string' },
11930
- },
11931
- required: [
11932
- 'message',
11933
- 'is_access_code_error',
11934
- 'error_code',
11935
- ],
11936
- type: 'object',
11754
+ is_access_code_error: { enum: [true], type: 'boolean' },
11755
+ message: { type: 'string' },
11756
+ },
11757
+ required: ['message', 'is_access_code_error', 'error_code'],
11758
+ type: 'object',
11759
+ },
11760
+ {
11761
+ description: 'Unable to confirm the deletion of the access code on Kwikset device.',
11762
+ properties: {
11763
+ error_code: {
11764
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11765
+ enum: ['kwikset_unable_to_confirm_deletion'],
11766
+ type: 'string',
11937
11767
  },
11938
- {
11939
- description: 'Code was modified or removed externally after Seam successfully set it on the device.',
11940
- properties: {
11941
- error_code: {
11942
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11943
- enum: ['code_modified_external_to_seam'],
11944
- type: 'string',
11945
- },
11946
- is_access_code_error: { enum: [true], type: 'boolean' },
11947
- message: { type: 'string' },
11948
- },
11949
- required: [
11950
- 'message',
11951
- 'is_access_code_error',
11952
- 'error_code',
11953
- ],
11954
- type: 'object',
11768
+ is_access_code_error: { enum: [true], type: 'boolean' },
11769
+ message: { type: 'string' },
11770
+ },
11771
+ required: ['message', 'is_access_code_error', 'error_code'],
11772
+ type: 'object',
11773
+ },
11774
+ {
11775
+ description: 'Code was modified or removed externally after Seam successfully set it on the device.',
11776
+ properties: {
11777
+ error_code: {
11778
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11779
+ enum: ['code_modified_external_to_seam'],
11780
+ type: 'string',
11955
11781
  },
11956
- {
11957
- description: 'Invalid code length for August lock.',
11958
- properties: {
11959
- error_code: {
11960
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11961
- enum: ['august_lock_invalid_code_length'],
11962
- type: 'string',
11963
- },
11964
- is_access_code_error: { enum: [true], type: 'boolean' },
11965
- message: { type: 'string' },
11966
- },
11967
- required: [
11968
- 'message',
11969
- 'is_access_code_error',
11970
- 'error_code',
11971
- ],
11972
- type: 'object',
11782
+ is_access_code_error: { enum: [true], type: 'boolean' },
11783
+ message: { type: 'string' },
11784
+ },
11785
+ required: ['message', 'is_access_code_error', 'error_code'],
11786
+ type: 'object',
11787
+ },
11788
+ {
11789
+ description: 'Invalid code length for August lock.',
11790
+ properties: {
11791
+ error_code: {
11792
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11793
+ enum: ['august_lock_invalid_code_length'],
11794
+ type: 'string',
11973
11795
  },
11974
- {
11975
- description: 'Access code has not yet been fully moved to the device.',
11976
- properties: {
11977
- error_code: {
11978
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11979
- enum: ['august_device_programming_delay'],
11980
- type: 'string',
11981
- },
11982
- is_access_code_error: { enum: [true], type: 'boolean' },
11983
- message: { type: 'string' },
11984
- },
11985
- required: [
11986
- 'message',
11987
- 'is_access_code_error',
11988
- 'error_code',
11989
- ],
11990
- type: 'object',
11796
+ is_access_code_error: { enum: [true], type: 'boolean' },
11797
+ message: { type: 'string' },
11798
+ },
11799
+ required: ['message', 'is_access_code_error', 'error_code'],
11800
+ type: 'object',
11801
+ },
11802
+ {
11803
+ description: 'Access code has not yet been fully moved to the device.',
11804
+ properties: {
11805
+ error_code: {
11806
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11807
+ enum: ['august_device_programming_delay'],
11808
+ type: 'string',
11991
11809
  },
11992
- {
11993
- description: 'All access code slots on the device are full.',
11994
- properties: {
11995
- error_code: {
11996
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11997
- enum: ['august_device_slots_full'],
11998
- type: 'string',
11999
- },
12000
- is_access_code_error: { enum: [true], type: 'boolean' },
12001
- message: { type: 'string' },
12002
- },
12003
- required: [
12004
- 'message',
12005
- 'is_access_code_error',
12006
- 'error_code',
12007
- ],
12008
- type: 'object',
11810
+ is_access_code_error: { enum: [true], type: 'boolean' },
11811
+ message: { type: 'string' },
11812
+ },
11813
+ required: ['message', 'is_access_code_error', 'error_code'],
11814
+ type: 'object',
11815
+ },
11816
+ {
11817
+ description: 'All access code slots on the device are full.',
11818
+ properties: {
11819
+ error_code: {
11820
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11821
+ enum: ['august_device_slots_full'],
11822
+ type: 'string',
12009
11823
  },
12010
- {
12011
- description: 'August lock is missing a keypad.',
12012
- properties: {
12013
- error_code: {
12014
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12015
- enum: ['august_lock_missing_keypad'],
12016
- type: 'string',
12017
- },
12018
- is_access_code_error: { enum: [true], type: 'boolean' },
12019
- message: { type: 'string' },
12020
- },
12021
- required: [
12022
- 'message',
12023
- 'is_access_code_error',
12024
- 'error_code',
12025
- ],
12026
- type: 'object',
11824
+ is_access_code_error: { enum: [true], type: 'boolean' },
11825
+ message: { type: 'string' },
11826
+ },
11827
+ required: ['message', 'is_access_code_error', 'error_code'],
11828
+ type: 'object',
11829
+ },
11830
+ {
11831
+ description: 'August lock is missing a keypad.',
11832
+ properties: {
11833
+ error_code: {
11834
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11835
+ enum: ['august_lock_missing_keypad'],
11836
+ type: 'string',
12027
11837
  },
12028
- {
12029
- description: 'Salto site user is not subscribed.',
12030
- properties: {
12031
- error_code: {
12032
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12033
- enum: ['salto_site_user_not_subscribed'],
12034
- type: 'string',
12035
- },
12036
- is_access_code_error: { enum: [true], type: 'boolean' },
12037
- message: { type: 'string' },
12038
- },
12039
- required: [
12040
- 'message',
12041
- 'is_access_code_error',
12042
- 'error_code',
12043
- ],
12044
- type: 'object',
11838
+ is_access_code_error: { enum: [true], type: 'boolean' },
11839
+ message: { type: 'string' },
11840
+ },
11841
+ required: ['message', 'is_access_code_error', 'error_code'],
11842
+ type: 'object',
11843
+ },
11844
+ {
11845
+ description: 'Salto site user is not subscribed.',
11846
+ properties: {
11847
+ error_code: {
11848
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11849
+ enum: ['salto_site_user_not_subscribed'],
11850
+ type: 'string',
12045
11851
  },
12046
- {
12047
- description: 'Access code has not yet been fully moved to the device.',
12048
- properties: {
12049
- error_code: {
12050
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12051
- enum: ['hubitat_device_programming_delay'],
12052
- type: 'string',
12053
- },
12054
- is_access_code_error: { enum: [true], type: 'boolean' },
12055
- message: { type: 'string' },
12056
- },
12057
- required: [
12058
- 'message',
12059
- 'is_access_code_error',
12060
- 'error_code',
12061
- ],
12062
- type: 'object',
11852
+ is_access_code_error: { enum: [true], type: 'boolean' },
11853
+ message: { type: 'string' },
11854
+ },
11855
+ required: ['message', 'is_access_code_error', 'error_code'],
11856
+ type: 'object',
11857
+ },
11858
+ {
11859
+ description: 'Access code has not yet been fully moved to the device.',
11860
+ properties: {
11861
+ error_code: {
11862
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11863
+ enum: ['hubitat_device_programming_delay'],
11864
+ type: 'string',
12063
11865
  },
12064
- {
12065
- description: 'No free positions available on the device.',
12066
- properties: {
12067
- error_code: {
12068
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12069
- enum: ['hubitat_no_free_positions_available'],
12070
- type: 'string',
12071
- },
12072
- is_access_code_error: { enum: [true], type: 'boolean' },
12073
- message: { type: 'string' },
12074
- },
12075
- required: [
12076
- 'message',
12077
- 'is_access_code_error',
12078
- 'error_code',
12079
- ],
12080
- type: 'object',
11866
+ is_access_code_error: { enum: [true], type: 'boolean' },
11867
+ message: { type: 'string' },
11868
+ },
11869
+ required: ['message', 'is_access_code_error', 'error_code'],
11870
+ type: 'object',
11871
+ },
11872
+ {
11873
+ description: 'No free positions available on the device.',
11874
+ properties: {
11875
+ error_code: {
11876
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11877
+ enum: ['hubitat_no_free_positions_available'],
11878
+ type: 'string',
12081
11879
  },
12082
- ],
11880
+ is_access_code_error: { enum: [true], type: 'boolean' },
11881
+ message: { type: 'string' },
11882
+ },
11883
+ required: ['message', 'is_access_code_error', 'error_code'],
11884
+ type: 'object',
12083
11885
  },
12084
11886
  {
12085
- description: 'Error associated with the `device`.',
12086
- oneOf: [
12087
- {
12088
- description: 'Device is offline',
12089
- properties: {
12090
- error_code: {
12091
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12092
- enum: ['device_offline'],
12093
- type: 'string',
12094
- },
12095
- is_device_error: { enum: [true], type: 'boolean' },
12096
- message: { type: 'string' },
12097
- },
12098
- required: ['message', 'is_device_error', 'error_code'],
12099
- type: 'object',
11887
+ description: 'Device is offline',
11888
+ properties: {
11889
+ error_code: {
11890
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11891
+ enum: ['device_offline'],
11892
+ type: 'string',
12100
11893
  },
12101
- {
12102
- description: 'Device has been removed',
12103
- properties: {
12104
- error_code: {
12105
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12106
- enum: ['device_removed'],
12107
- type: 'string',
12108
- },
12109
- is_device_error: { enum: [true], type: 'boolean' },
12110
- message: { type: 'string' },
12111
- },
12112
- required: ['message', 'is_device_error', 'error_code'],
12113
- type: 'object',
11894
+ is_device_error: { enum: [true], type: 'boolean' },
11895
+ message: { type: 'string' },
11896
+ },
11897
+ required: ['message', 'is_device_error', 'error_code'],
11898
+ type: 'object',
11899
+ },
11900
+ {
11901
+ description: 'Device has been removed',
11902
+ properties: {
11903
+ error_code: {
11904
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11905
+ enum: ['device_removed'],
11906
+ type: 'string',
12114
11907
  },
12115
- {
12116
- description: 'Account is disconnected',
12117
- properties: {
12118
- error_code: {
12119
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12120
- enum: ['account_disconnected'],
12121
- type: 'string',
12122
- },
12123
- is_device_error: { enum: [true], type: 'boolean' },
12124
- message: { type: 'string' },
12125
- },
12126
- required: ['message', 'is_device_error', 'error_code'],
12127
- type: 'object',
11908
+ is_device_error: { enum: [true], type: 'boolean' },
11909
+ message: { type: 'string' },
11910
+ },
11911
+ required: ['message', 'is_device_error', 'error_code'],
11912
+ type: 'object',
11913
+ },
11914
+ {
11915
+ description: 'Hub is disconnected',
11916
+ properties: {
11917
+ error_code: {
11918
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11919
+ enum: ['hub_disconnected'],
11920
+ type: 'string',
12128
11921
  },
12129
- {
12130
- description: 'Hub is disconnected',
12131
- properties: {
12132
- error_code: {
12133
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12134
- enum: ['hub_disconnected'],
12135
- type: 'string',
12136
- },
12137
- is_device_error: { enum: [true], type: 'boolean' },
12138
- message: { type: 'string' },
12139
- },
12140
- required: ['message', 'is_device_error', 'error_code'],
12141
- type: 'object',
11922
+ is_device_error: { enum: [true], type: 'boolean' },
11923
+ message: { type: 'string' },
11924
+ },
11925
+ required: ['message', 'is_device_error', 'error_code'],
11926
+ type: 'object',
11927
+ },
11928
+ {
11929
+ description: 'Device is disconnected',
11930
+ properties: {
11931
+ error_code: {
11932
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11933
+ enum: ['device_disconnected'],
11934
+ type: 'string',
12142
11935
  },
12143
- {
12144
- description: 'Device is disconnected',
12145
- properties: {
12146
- error_code: {
12147
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12148
- enum: ['device_disconnected'],
12149
- type: 'string',
12150
- },
12151
- is_device_error: { enum: [true], type: 'boolean' },
12152
- message: { type: 'string' },
12153
- },
12154
- required: ['message', 'is_device_error', 'error_code'],
12155
- type: 'object',
11936
+ is_device_error: { enum: [true], type: 'boolean' },
11937
+ message: { type: 'string' },
11938
+ },
11939
+ required: ['message', 'is_device_error', 'error_code'],
11940
+ type: 'object',
11941
+ },
11942
+ {
11943
+ description: 'The backup access code pool is empty.',
11944
+ properties: {
11945
+ error_code: {
11946
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11947
+ enum: ['empty_backup_access_code_pool'],
11948
+ type: 'string',
12156
11949
  },
12157
- {
12158
- description: 'The backup access code pool is empty.',
12159
- properties: {
12160
- error_code: {
12161
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12162
- enum: ['empty_backup_access_code_pool'],
12163
- type: 'string',
12164
- },
12165
- is_device_error: { enum: [true], type: 'boolean' },
12166
- message: { type: 'string' },
12167
- },
12168
- required: ['message', 'is_device_error', 'error_code'],
12169
- type: 'object',
11950
+ is_device_error: { enum: [true], type: 'boolean' },
11951
+ message: { type: 'string' },
11952
+ },
11953
+ required: ['message', 'is_device_error', 'error_code'],
11954
+ type: 'object',
11955
+ },
11956
+ {
11957
+ description: 'User is not authorized to use the August Lock.',
11958
+ properties: {
11959
+ error_code: {
11960
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11961
+ enum: ['august_lock_not_authorized'],
11962
+ type: 'string',
12170
11963
  },
12171
- {
12172
- description: 'User is not authorized to use the August Lock.',
12173
- properties: {
12174
- error_code: {
12175
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12176
- enum: ['august_lock_not_authorized'],
12177
- type: 'string',
12178
- },
12179
- is_device_error: { enum: [true], type: 'boolean' },
12180
- message: { type: 'string' },
12181
- },
12182
- required: ['message', 'is_device_error', 'error_code'],
12183
- type: 'object',
11964
+ is_device_error: { enum: [true], type: 'boolean' },
11965
+ message: { type: 'string' },
11966
+ },
11967
+ required: ['message', 'is_device_error', 'error_code'],
11968
+ type: 'object',
11969
+ },
11970
+ {
11971
+ description: 'Lock is not connected to the Seam Bridge.',
11972
+ properties: {
11973
+ error_code: {
11974
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11975
+ enum: ['august_lock_missing_bridge'],
11976
+ type: 'string',
12184
11977
  },
12185
- {
12186
- description: 'Lock is not connected to the Seam Bridge.',
12187
- properties: {
12188
- error_code: {
12189
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12190
- enum: ['august_lock_missing_bridge'],
12191
- type: 'string',
12192
- },
12193
- is_device_error: { enum: [true], type: 'boolean' },
12194
- message: { type: 'string' },
12195
- },
12196
- required: ['message', 'is_device_error', 'error_code'],
12197
- type: 'object',
11978
+ is_device_error: { enum: [true], type: 'boolean' },
11979
+ message: { type: 'string' },
11980
+ },
11981
+ required: ['message', 'is_device_error', 'error_code'],
11982
+ type: 'object',
11983
+ },
11984
+ {
11985
+ description: 'Salto site user limit reached.',
11986
+ properties: {
11987
+ error_code: {
11988
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11989
+ enum: ['salto_site_user_limit_reached'],
11990
+ type: 'string',
12198
11991
  },
12199
- {
12200
- description: 'Salto site user limit reached.',
12201
- properties: {
12202
- error_code: {
12203
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12204
- enum: ['salto_site_user_limit_reached'],
12205
- type: 'string',
12206
- },
12207
- is_device_error: { enum: [true], type: 'boolean' },
12208
- message: { type: 'string' },
12209
- },
12210
- required: ['message', 'is_device_error', 'error_code'],
12211
- type: 'object',
11992
+ is_device_error: { enum: [true], type: 'boolean' },
11993
+ message: { type: 'string' },
11994
+ },
11995
+ required: ['message', 'is_device_error', 'error_code'],
11996
+ type: 'object',
11997
+ },
11998
+ {
11999
+ description: 'Lock is not paired with a Gateway.',
12000
+ properties: {
12001
+ error_code: {
12002
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12003
+ enum: ['ttlock_lock_not_paired_to_gateway'],
12004
+ type: 'string',
12212
12005
  },
12213
- {
12214
- description: 'Lock is not paired with a Gateway.',
12215
- properties: {
12216
- error_code: {
12217
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12218
- enum: ['ttlock_lock_not_paired_to_gateway'],
12219
- type: 'string',
12220
- },
12221
- is_device_error: { enum: [true], type: 'boolean' },
12222
- message: { type: 'string' },
12223
- },
12224
- required: ['message', 'is_device_error', 'error_code'],
12225
- type: 'object',
12006
+ is_device_error: { enum: [true], type: 'boolean' },
12007
+ message: { type: 'string' },
12008
+ },
12009
+ required: ['message', 'is_device_error', 'error_code'],
12010
+ type: 'object',
12011
+ },
12012
+ {
12013
+ description: 'Missing device credentials.',
12014
+ properties: {
12015
+ error_code: {
12016
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12017
+ enum: ['missing_device_credentials'],
12018
+ type: 'string',
12226
12019
  },
12227
- {
12228
- description: 'Missing device credentials.',
12229
- properties: {
12230
- error_code: {
12231
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12232
- enum: ['missing_device_credentials'],
12233
- type: 'string',
12234
- },
12235
- is_device_error: { enum: [true], type: 'boolean' },
12236
- message: { type: 'string' },
12237
- },
12238
- required: ['message', 'is_device_error', 'error_code'],
12239
- type: 'object',
12020
+ is_device_error: { enum: [true], type: 'boolean' },
12021
+ message: { type: 'string' },
12022
+ },
12023
+ required: ['message', 'is_device_error', 'error_code'],
12024
+ type: 'object',
12025
+ },
12026
+ {
12027
+ description: 'The auxiliary heat is running.',
12028
+ properties: {
12029
+ error_code: {
12030
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12031
+ enum: ['auxiliary_heat_running'],
12032
+ type: 'string',
12240
12033
  },
12241
- {
12242
- description: 'The auxiliary heat is running.',
12243
- properties: {
12244
- error_code: {
12245
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12246
- enum: ['auxiliary_heat_running'],
12247
- type: 'string',
12248
- },
12249
- is_device_error: { enum: [true], type: 'boolean' },
12250
- message: { type: 'string' },
12251
- },
12252
- required: ['message', 'is_device_error', 'error_code'],
12253
- type: 'object',
12034
+ is_device_error: { enum: [true], type: 'boolean' },
12035
+ message: { type: 'string' },
12036
+ },
12037
+ required: ['message', 'is_device_error', 'error_code'],
12038
+ type: 'object',
12039
+ },
12040
+ {
12041
+ description: 'Subscription required to connect.',
12042
+ properties: {
12043
+ error_code: {
12044
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12045
+ enum: ['subscription_required'],
12046
+ type: 'string',
12254
12047
  },
12255
- {
12256
- description: 'Subscription required to connect.',
12257
- properties: {
12258
- error_code: {
12259
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12260
- enum: ['subscription_required'],
12261
- type: 'string',
12262
- },
12263
- is_device_error: { enum: [true], type: 'boolean' },
12264
- message: { type: 'string' },
12265
- },
12266
- required: ['message', 'is_device_error', 'error_code'],
12267
- type: 'object',
12048
+ is_device_error: { enum: [true], type: 'boolean' },
12049
+ message: { type: 'string' },
12050
+ },
12051
+ required: ['message', 'is_device_error', 'error_code'],
12052
+ type: 'object',
12053
+ },
12054
+ {
12055
+ description: 'Account is disconnected.',
12056
+ properties: {
12057
+ error_code: {
12058
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12059
+ enum: ['account_disconnected'],
12060
+ type: 'string',
12061
+ },
12062
+ is_connected_account_error: {
12063
+ enum: [true],
12064
+ type: 'boolean',
12268
12065
  },
12066
+ message: { type: 'string' },
12067
+ },
12068
+ required: [
12069
+ 'message',
12070
+ 'is_connected_account_error',
12071
+ 'error_code',
12269
12072
  ],
12073
+ type: 'object',
12270
12074
  },
12271
12075
  {
12272
- oneOf: [
12273
- {
12274
- description: 'Account is disconnected.',
12275
- properties: {
12276
- error_code: {
12277
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12278
- enum: ['account_disconnected'],
12279
- type: 'string',
12280
- },
12281
- is_connected_account_error: {
12282
- enum: [true],
12283
- type: 'boolean',
12284
- },
12285
- message: { type: 'string' },
12286
- },
12287
- required: [
12288
- 'message',
12289
- 'is_connected_account_error',
12290
- 'error_code',
12291
- ],
12292
- type: 'object',
12076
+ description: 'Credentials provided were invalid.',
12077
+ properties: {
12078
+ error_code: {
12079
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12080
+ enum: ['invalid_credentials'],
12081
+ type: 'string',
12293
12082
  },
12294
- {
12295
- description: 'Credentials provided were invalid.',
12296
- properties: {
12297
- error_code: {
12298
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12299
- enum: ['invalid_credentials'],
12300
- type: 'string',
12301
- },
12302
- is_connected_account_error: {
12303
- enum: [true],
12304
- type: 'boolean',
12305
- },
12306
- message: { type: 'string' },
12307
- },
12308
- required: [
12309
- 'message',
12310
- 'is_connected_account_error',
12311
- 'error_code',
12312
- ],
12313
- type: 'object',
12083
+ is_connected_account_error: {
12084
+ enum: [true],
12085
+ type: 'boolean',
12314
12086
  },
12087
+ message: { type: 'string' },
12088
+ },
12089
+ required: [
12090
+ 'message',
12091
+ 'is_connected_account_error',
12092
+ 'error_code',
12315
12093
  ],
12094
+ type: 'object',
12316
12095
  },
12317
12096
  ],
12318
12097
  },
@@ -12339,6 +12118,7 @@ export default {
12339
12118
  warnings: {
12340
12119
  description: 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
12341
12120
  items: {
12121
+ discriminator: { propertyName: 'warning_code' },
12342
12122
  oneOf: [
12343
12123
  {
12344
12124
  description: 'Failed to set code on Smart Things device.',
@@ -12379,6 +12159,19 @@ export default {
12379
12159
  required: ['message', 'warning_code'],
12380
12160
  type: 'object',
12381
12161
  },
12162
+ {
12163
+ description: 'Lock is in Office Mode. Access Codes will not unlock doors.',
12164
+ properties: {
12165
+ message: { type: 'string' },
12166
+ warning_code: {
12167
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12168
+ enum: ['salto_office_mode'],
12169
+ type: 'string',
12170
+ },
12171
+ },
12172
+ required: ['message', 'warning_code'],
12173
+ type: 'object',
12174
+ },
12382
12175
  {
12383
12176
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
12384
12177
  properties: {
@@ -12738,6 +12531,7 @@ export default {
12738
12531
  description: 'Warnings associated with the `acs_credential`.',
12739
12532
  items: {
12740
12533
  description: 'Warning associated with the `acs_credential`.',
12534
+ discriminator: { propertyName: 'warning_code' },
12741
12535
  oneOf: [
12742
12536
  {
12743
12537
  description: 'Indicates that the credential is waiting to be issued.',
@@ -12944,6 +12738,7 @@ export default {
12944
12738
  description: 'Errors associated with the `acs_user`.',
12945
12739
  items: {
12946
12740
  description: 'Error associated with the `acs_user`.',
12741
+ discriminator: { propertyName: 'error_code' },
12947
12742
  oneOf: [
12948
12743
  {
12949
12744
  description: 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
@@ -13114,6 +12909,7 @@ export default {
13114
12909
  description: 'Warnings associated with the `acs_user`.',
13115
12910
  items: {
13116
12911
  description: 'Warning associated with the `acs_user`.',
12912
+ discriminator: { propertyName: 'warning_code' },
13117
12913
  oneOf: [
13118
12914
  {
13119
12915
  description: 'Indicates that the user is being deleted from the ACS system. This is a temporary state, and the user will be deleted shortly.',
@@ -13271,239 +13067,217 @@ export default {
13271
13067
  errors: {
13272
13068
  description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
13273
13069
  items: {
13070
+ discriminator: { propertyName: 'error_code' },
13274
13071
  oneOf: [
13275
13072
  {
13276
- description: 'Error associated with the `device`.',
13277
- oneOf: [
13278
- {
13279
- description: 'Device is offline',
13280
- properties: {
13281
- error_code: {
13282
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13283
- enum: ['device_offline'],
13284
- type: 'string',
13285
- },
13286
- is_device_error: { enum: [true], type: 'boolean' },
13287
- message: { type: 'string' },
13288
- },
13289
- required: ['message', 'is_device_error', 'error_code'],
13290
- type: 'object',
13073
+ description: 'Device is offline',
13074
+ properties: {
13075
+ error_code: {
13076
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13077
+ enum: ['device_offline'],
13078
+ type: 'string',
13291
13079
  },
13292
- {
13293
- description: 'Device has been removed',
13294
- properties: {
13295
- error_code: {
13296
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13297
- enum: ['device_removed'],
13298
- type: 'string',
13299
- },
13300
- is_device_error: { enum: [true], type: 'boolean' },
13301
- message: { type: 'string' },
13302
- },
13303
- required: ['message', 'is_device_error', 'error_code'],
13304
- type: 'object',
13080
+ is_device_error: { enum: [true], type: 'boolean' },
13081
+ message: { type: 'string' },
13082
+ },
13083
+ required: ['message', 'is_device_error', 'error_code'],
13084
+ type: 'object',
13085
+ },
13086
+ {
13087
+ description: 'Device has been removed',
13088
+ properties: {
13089
+ error_code: {
13090
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13091
+ enum: ['device_removed'],
13092
+ type: 'string',
13305
13093
  },
13306
- {
13307
- description: 'Account is disconnected',
13308
- properties: {
13309
- error_code: {
13310
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13311
- enum: ['account_disconnected'],
13312
- type: 'string',
13313
- },
13314
- is_device_error: { enum: [true], type: 'boolean' },
13315
- message: { type: 'string' },
13316
- },
13317
- required: ['message', 'is_device_error', 'error_code'],
13318
- type: 'object',
13094
+ is_device_error: { enum: [true], type: 'boolean' },
13095
+ message: { type: 'string' },
13096
+ },
13097
+ required: ['message', 'is_device_error', 'error_code'],
13098
+ type: 'object',
13099
+ },
13100
+ {
13101
+ description: 'Hub is disconnected',
13102
+ properties: {
13103
+ error_code: {
13104
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13105
+ enum: ['hub_disconnected'],
13106
+ type: 'string',
13319
13107
  },
13320
- {
13321
- description: 'Hub is disconnected',
13322
- properties: {
13323
- error_code: {
13324
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13325
- enum: ['hub_disconnected'],
13326
- type: 'string',
13327
- },
13328
- is_device_error: { enum: [true], type: 'boolean' },
13329
- message: { type: 'string' },
13330
- },
13331
- required: ['message', 'is_device_error', 'error_code'],
13332
- type: 'object',
13108
+ is_device_error: { enum: [true], type: 'boolean' },
13109
+ message: { type: 'string' },
13110
+ },
13111
+ required: ['message', 'is_device_error', 'error_code'],
13112
+ type: 'object',
13113
+ },
13114
+ {
13115
+ description: 'Device is disconnected',
13116
+ properties: {
13117
+ error_code: {
13118
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13119
+ enum: ['device_disconnected'],
13120
+ type: 'string',
13333
13121
  },
13334
- {
13335
- description: 'Device is disconnected',
13336
- properties: {
13337
- error_code: {
13338
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13339
- enum: ['device_disconnected'],
13340
- type: 'string',
13341
- },
13342
- is_device_error: { enum: [true], type: 'boolean' },
13343
- message: { type: 'string' },
13344
- },
13345
- required: ['message', 'is_device_error', 'error_code'],
13346
- type: 'object',
13122
+ is_device_error: { enum: [true], type: 'boolean' },
13123
+ message: { type: 'string' },
13124
+ },
13125
+ required: ['message', 'is_device_error', 'error_code'],
13126
+ type: 'object',
13127
+ },
13128
+ {
13129
+ description: 'The backup access code pool is empty.',
13130
+ properties: {
13131
+ error_code: {
13132
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13133
+ enum: ['empty_backup_access_code_pool'],
13134
+ type: 'string',
13347
13135
  },
13348
- {
13349
- description: 'The backup access code pool is empty.',
13350
- properties: {
13351
- error_code: {
13352
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13353
- enum: ['empty_backup_access_code_pool'],
13354
- type: 'string',
13355
- },
13356
- is_device_error: { enum: [true], type: 'boolean' },
13357
- message: { type: 'string' },
13358
- },
13359
- required: ['message', 'is_device_error', 'error_code'],
13360
- type: 'object',
13136
+ is_device_error: { enum: [true], type: 'boolean' },
13137
+ message: { type: 'string' },
13138
+ },
13139
+ required: ['message', 'is_device_error', 'error_code'],
13140
+ type: 'object',
13141
+ },
13142
+ {
13143
+ description: 'User is not authorized to use the August Lock.',
13144
+ properties: {
13145
+ error_code: {
13146
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13147
+ enum: ['august_lock_not_authorized'],
13148
+ type: 'string',
13361
13149
  },
13362
- {
13363
- description: 'User is not authorized to use the August Lock.',
13364
- properties: {
13365
- error_code: {
13366
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13367
- enum: ['august_lock_not_authorized'],
13368
- type: 'string',
13369
- },
13370
- is_device_error: { enum: [true], type: 'boolean' },
13371
- message: { type: 'string' },
13372
- },
13373
- required: ['message', 'is_device_error', 'error_code'],
13374
- type: 'object',
13150
+ is_device_error: { enum: [true], type: 'boolean' },
13151
+ message: { type: 'string' },
13152
+ },
13153
+ required: ['message', 'is_device_error', 'error_code'],
13154
+ type: 'object',
13155
+ },
13156
+ {
13157
+ description: 'Lock is not connected to the Seam Bridge.',
13158
+ properties: {
13159
+ error_code: {
13160
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13161
+ enum: ['august_lock_missing_bridge'],
13162
+ type: 'string',
13375
13163
  },
13376
- {
13377
- description: 'Lock is not connected to the Seam Bridge.',
13378
- properties: {
13379
- error_code: {
13380
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13381
- enum: ['august_lock_missing_bridge'],
13382
- type: 'string',
13383
- },
13384
- is_device_error: { enum: [true], type: 'boolean' },
13385
- message: { type: 'string' },
13386
- },
13387
- required: ['message', 'is_device_error', 'error_code'],
13388
- type: 'object',
13164
+ is_device_error: { enum: [true], type: 'boolean' },
13165
+ message: { type: 'string' },
13166
+ },
13167
+ required: ['message', 'is_device_error', 'error_code'],
13168
+ type: 'object',
13169
+ },
13170
+ {
13171
+ description: 'Salto site user limit reached.',
13172
+ properties: {
13173
+ error_code: {
13174
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13175
+ enum: ['salto_site_user_limit_reached'],
13176
+ type: 'string',
13389
13177
  },
13390
- {
13391
- description: 'Salto site user limit reached.',
13392
- properties: {
13393
- error_code: {
13394
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13395
- enum: ['salto_site_user_limit_reached'],
13396
- type: 'string',
13397
- },
13398
- is_device_error: { enum: [true], type: 'boolean' },
13399
- message: { type: 'string' },
13400
- },
13401
- required: ['message', 'is_device_error', 'error_code'],
13402
- type: 'object',
13178
+ is_device_error: { enum: [true], type: 'boolean' },
13179
+ message: { type: 'string' },
13180
+ },
13181
+ required: ['message', 'is_device_error', 'error_code'],
13182
+ type: 'object',
13183
+ },
13184
+ {
13185
+ description: 'Lock is not paired with a Gateway.',
13186
+ properties: {
13187
+ error_code: {
13188
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13189
+ enum: ['ttlock_lock_not_paired_to_gateway'],
13190
+ type: 'string',
13403
13191
  },
13404
- {
13405
- description: 'Lock is not paired with a Gateway.',
13406
- properties: {
13407
- error_code: {
13408
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13409
- enum: ['ttlock_lock_not_paired_to_gateway'],
13410
- type: 'string',
13411
- },
13412
- is_device_error: { enum: [true], type: 'boolean' },
13413
- message: { type: 'string' },
13414
- },
13415
- required: ['message', 'is_device_error', 'error_code'],
13416
- type: 'object',
13192
+ is_device_error: { enum: [true], type: 'boolean' },
13193
+ message: { type: 'string' },
13194
+ },
13195
+ required: ['message', 'is_device_error', 'error_code'],
13196
+ type: 'object',
13197
+ },
13198
+ {
13199
+ description: 'Missing device credentials.',
13200
+ properties: {
13201
+ error_code: {
13202
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13203
+ enum: ['missing_device_credentials'],
13204
+ type: 'string',
13417
13205
  },
13418
- {
13419
- description: 'Missing device credentials.',
13420
- properties: {
13421
- error_code: {
13422
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13423
- enum: ['missing_device_credentials'],
13424
- type: 'string',
13425
- },
13426
- is_device_error: { enum: [true], type: 'boolean' },
13427
- message: { type: 'string' },
13428
- },
13429
- required: ['message', 'is_device_error', 'error_code'],
13430
- type: 'object',
13206
+ is_device_error: { enum: [true], type: 'boolean' },
13207
+ message: { type: 'string' },
13208
+ },
13209
+ required: ['message', 'is_device_error', 'error_code'],
13210
+ type: 'object',
13211
+ },
13212
+ {
13213
+ description: 'The auxiliary heat is running.',
13214
+ properties: {
13215
+ error_code: {
13216
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13217
+ enum: ['auxiliary_heat_running'],
13218
+ type: 'string',
13431
13219
  },
13432
- {
13433
- description: 'The auxiliary heat is running.',
13434
- properties: {
13435
- error_code: {
13436
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13437
- enum: ['auxiliary_heat_running'],
13438
- type: 'string',
13439
- },
13440
- is_device_error: { enum: [true], type: 'boolean' },
13441
- message: { type: 'string' },
13442
- },
13443
- required: ['message', 'is_device_error', 'error_code'],
13444
- type: 'object',
13220
+ is_device_error: { enum: [true], type: 'boolean' },
13221
+ message: { type: 'string' },
13222
+ },
13223
+ required: ['message', 'is_device_error', 'error_code'],
13224
+ type: 'object',
13225
+ },
13226
+ {
13227
+ description: 'Subscription required to connect.',
13228
+ properties: {
13229
+ error_code: {
13230
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13231
+ enum: ['subscription_required'],
13232
+ type: 'string',
13445
13233
  },
13446
- {
13447
- description: 'Subscription required to connect.',
13448
- properties: {
13449
- error_code: {
13450
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13451
- enum: ['subscription_required'],
13452
- type: 'string',
13453
- },
13454
- is_device_error: { enum: [true], type: 'boolean' },
13455
- message: { type: 'string' },
13456
- },
13457
- required: ['message', 'is_device_error', 'error_code'],
13458
- type: 'object',
13234
+ is_device_error: { enum: [true], type: 'boolean' },
13235
+ message: { type: 'string' },
13236
+ },
13237
+ required: ['message', 'is_device_error', 'error_code'],
13238
+ type: 'object',
13239
+ },
13240
+ {
13241
+ description: 'Account is disconnected.',
13242
+ properties: {
13243
+ error_code: {
13244
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13245
+ enum: ['account_disconnected'],
13246
+ type: 'string',
13247
+ },
13248
+ is_connected_account_error: {
13249
+ enum: [true],
13250
+ type: 'boolean',
13459
13251
  },
13252
+ message: { type: 'string' },
13253
+ },
13254
+ required: [
13255
+ 'message',
13256
+ 'is_connected_account_error',
13257
+ 'error_code',
13460
13258
  ],
13259
+ type: 'object',
13461
13260
  },
13462
13261
  {
13463
- oneOf: [
13464
- {
13465
- description: 'Account is disconnected.',
13466
- properties: {
13467
- error_code: {
13468
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13469
- enum: ['account_disconnected'],
13470
- type: 'string',
13471
- },
13472
- is_connected_account_error: {
13473
- enum: [true],
13474
- type: 'boolean',
13475
- },
13476
- message: { type: 'string' },
13477
- },
13478
- required: [
13479
- 'message',
13480
- 'is_connected_account_error',
13481
- 'error_code',
13482
- ],
13483
- type: 'object',
13262
+ description: 'Credentials provided were invalid.',
13263
+ properties: {
13264
+ error_code: {
13265
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13266
+ enum: ['invalid_credentials'],
13267
+ type: 'string',
13484
13268
  },
13485
- {
13486
- description: 'Credentials provided were invalid.',
13487
- properties: {
13488
- error_code: {
13489
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13490
- enum: ['invalid_credentials'],
13491
- type: 'string',
13492
- },
13493
- is_connected_account_error: {
13494
- enum: [true],
13495
- type: 'boolean',
13496
- },
13497
- message: { type: 'string' },
13498
- },
13499
- required: [
13500
- 'message',
13501
- 'is_connected_account_error',
13502
- 'error_code',
13503
- ],
13504
- type: 'object',
13269
+ is_connected_account_error: {
13270
+ enum: [true],
13271
+ type: 'boolean',
13505
13272
  },
13273
+ message: { type: 'string' },
13274
+ },
13275
+ required: [
13276
+ 'message',
13277
+ 'is_connected_account_error',
13278
+ 'error_code',
13506
13279
  ],
13280
+ type: 'object',
13507
13281
  },
13508
13282
  ],
13509
13283
  },
@@ -13648,6 +13422,7 @@ export default {
13648
13422
  warnings: {
13649
13423
  description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
13650
13424
  items: {
13425
+ discriminator: { propertyName: 'warning_code' },
13651
13426
  oneOf: [
13652
13427
  {
13653
13428
  description: 'Backup access code unhealthy.',