@seamapi/types 1.332.1 → 1.334.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/connect.cjs +1541 -161
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4917 -923
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
  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 +568 -25
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js +4 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
  12. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
  13. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +216 -0
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
  17. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  19. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  21. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  23. package/lib/seam/connect/openapi.d.ts +309 -164
  24. package/lib/seam/connect/openapi.js +1346 -104
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +2391 -310
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
  29. package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -1
  30. package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
  31. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  32. package/src/lib/seam/connect/openapi.ts +1518 -173
  33. package/src/lib/seam/connect/route-types.ts +3016 -297
@@ -39,13 +39,354 @@ export default {
39
39
  items: {
40
40
  oneOf: [
41
41
  {
42
- properties: {
43
- error_code: { type: 'string' },
44
- is_access_code_error: { enum: [true], type: 'boolean' },
45
- message: { type: 'string' },
46
- },
47
- required: ['message', 'is_access_code_error', 'error_code'],
48
- type: 'object',
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',
60
+ },
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',
78
+ ],
79
+ type: 'object',
80
+ },
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',
98
+ },
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',
116
+ },
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',
134
+ },
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',
152
+ },
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',
170
+ },
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',
188
+ },
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',
206
+ ],
207
+ type: 'object',
208
+ },
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',
226
+ },
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',
244
+ },
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',
262
+ },
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',
280
+ },
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',
298
+ },
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',
316
+ },
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',
334
+ },
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',
352
+ },
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',
370
+ },
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',
388
+ },
389
+ ],
49
390
  },
50
391
  {
51
392
  description: 'Error associated with the `device`.',
@@ -235,20 +576,50 @@ export default {
235
576
  ],
236
577
  },
237
578
  {
238
- properties: {
239
- error_code: { type: 'string' },
240
- is_connected_account_error: {
241
- enum: [true],
242
- type: 'boolean',
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',
600
+ },
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',
243
621
  },
244
- message: { type: 'string' },
245
- },
246
- required: [
247
- 'message',
248
- 'is_connected_account_error',
249
- 'error_code',
250
622
  ],
251
- type: 'object',
252
623
  },
253
624
  ],
254
625
  },
@@ -317,12 +688,138 @@ export default {
317
688
  warnings: {
318
689
  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.',
319
690
  items: {
320
- properties: {
321
- message: { type: 'string' },
322
- warning_code: { type: 'string' },
323
- },
324
- required: ['message', 'warning_code'],
325
- type: 'object',
691
+ oneOf: [
692
+ {
693
+ description: 'Failed to set code on Smart Things device.',
694
+ properties: {
695
+ message: { type: 'string' },
696
+ warning_code: {
697
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
698
+ enum: ['smartthings_failed_to_set_access_code'],
699
+ type: 'string',
700
+ },
701
+ },
702
+ required: ['message', 'warning_code'],
703
+ type: 'object',
704
+ },
705
+ {
706
+ description: 'Duplicate access code detected.',
707
+ properties: {
708
+ message: { type: 'string' },
709
+ warning_code: {
710
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
711
+ enum: ['schlage_detected_duplicate'],
712
+ type: 'string',
713
+ },
714
+ },
715
+ required: ['message', 'warning_code'],
716
+ type: 'object',
717
+ },
718
+ {
719
+ description: 'Received an error when attempting to create this code.',
720
+ properties: {
721
+ message: { type: 'string' },
722
+ warning_code: {
723
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
724
+ enum: ['schlage_creation_outage'],
725
+ type: 'string',
726
+ },
727
+ },
728
+ required: ['message', 'warning_code'],
729
+ type: 'object',
730
+ },
731
+ {
732
+ description: 'Code was modified or removed externally after Seam successfully set it on the device.',
733
+ properties: {
734
+ message: { type: 'string' },
735
+ warning_code: {
736
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
737
+ enum: ['code_modified_external_to_seam'],
738
+ type: 'string',
739
+ },
740
+ },
741
+ required: ['message', 'warning_code'],
742
+ type: 'object',
743
+ },
744
+ {
745
+ description: 'Delay in setting code on device.',
746
+ properties: {
747
+ message: { type: 'string' },
748
+ warning_code: {
749
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
750
+ enum: ['delay_in_setting_on_device'],
751
+ type: 'string',
752
+ },
753
+ },
754
+ required: ['message', 'warning_code'],
755
+ type: 'object',
756
+ },
757
+ {
758
+ description: 'Delay in removing code from device.',
759
+ properties: {
760
+ message: { type: 'string' },
761
+ warning_code: {
762
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
763
+ enum: ['delay_in_removing_from_device'],
764
+ type: 'string',
765
+ },
766
+ },
767
+ required: ['message', 'warning_code'],
768
+ type: 'object',
769
+ },
770
+ {
771
+ description: 'Third party integration detected that may cause access codes to fail.',
772
+ properties: {
773
+ message: { type: 'string' },
774
+ warning_code: {
775
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
776
+ enum: ['third_party_integration_detected'],
777
+ type: 'string',
778
+ },
779
+ },
780
+ required: ['message', 'warning_code'],
781
+ type: 'object',
782
+ },
783
+ {
784
+ description: 'Access code has not yet been fully moved to the device.',
785
+ properties: {
786
+ message: { type: 'string' },
787
+ warning_code: {
788
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
789
+ enum: ['august_device_programming_delay'],
790
+ type: 'string',
791
+ },
792
+ },
793
+ required: ['message', 'warning_code'],
794
+ type: 'object',
795
+ },
796
+ {
797
+ description: 'Algopins must be used within 24 hours.',
798
+ properties: {
799
+ message: { type: 'string' },
800
+ warning_code: {
801
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
802
+ enum: ['igloo_algopin_must_be_used_within_24_hours'],
803
+ type: 'string',
804
+ },
805
+ },
806
+ required: ['message', 'warning_code'],
807
+ type: 'object',
808
+ },
809
+ {
810
+ description: 'Management was transferred to another workspace.',
811
+ properties: {
812
+ message: { type: 'string' },
813
+ warning_code: {
814
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
815
+ enum: ['management_transferred'],
816
+ type: 'string',
817
+ },
818
+ },
819
+ required: ['message', 'warning_code'],
820
+ type: 'object',
821
+ },
822
+ ],
326
823
  },
327
824
  type: 'array',
328
825
  },
@@ -474,6 +971,20 @@ export default {
474
971
  format: 'uuid',
475
972
  type: 'string',
476
973
  },
974
+ assa_abloy_vostio_metadata: {
975
+ description: 'Vostio-specific metadata for the credential.',
976
+ properties: {
977
+ door_names: { items: { type: 'string' }, type: 'array' },
978
+ endpoint_id: { type: 'string' },
979
+ key_id: { type: 'string' },
980
+ key_issuing_request_id: { type: 'string' },
981
+ override_guest_acs_entrance_ids: {
982
+ items: { type: 'string' },
983
+ type: 'array',
984
+ },
985
+ },
986
+ type: 'object',
987
+ },
477
988
  card_number: { nullable: true, type: 'string' },
478
989
  code: {
479
990
  description: 'Access (PIN) code for the credential.',
@@ -1846,6 +2357,23 @@ export default {
1846
2357
  format: 'uuid',
1847
2358
  type: 'string',
1848
2359
  },
2360
+ assa_abloy_vostio_metadata: {
2361
+ description: 'Vostio-specific metadata for the credential.',
2362
+ properties: {
2363
+ door_names: {
2364
+ items: { type: 'string' },
2365
+ type: 'array',
2366
+ },
2367
+ endpoint_id: { type: 'string' },
2368
+ key_id: { type: 'string' },
2369
+ key_issuing_request_id: { type: 'string' },
2370
+ override_guest_acs_entrance_ids: {
2371
+ items: { type: 'string' },
2372
+ type: 'array',
2373
+ },
2374
+ },
2375
+ type: 'object',
2376
+ },
1849
2377
  card_number: { nullable: true, type: 'string' },
1850
2378
  code: {
1851
2379
  description: 'Access (PIN) code for the credential.',
@@ -2164,6 +2692,23 @@ export default {
2164
2692
  format: 'uuid',
2165
2693
  type: 'string',
2166
2694
  },
2695
+ assa_abloy_vostio_metadata: {
2696
+ description: 'Vostio-specific metadata for the credential.',
2697
+ properties: {
2698
+ door_names: {
2699
+ items: { type: 'string' },
2700
+ type: 'array',
2701
+ },
2702
+ endpoint_id: { type: 'string' },
2703
+ key_id: { type: 'string' },
2704
+ key_issuing_request_id: { type: 'string' },
2705
+ override_guest_acs_entrance_ids: {
2706
+ items: { type: 'string' },
2707
+ type: 'array',
2708
+ },
2709
+ },
2710
+ type: 'object',
2711
+ },
2167
2712
  card_number: { nullable: true, type: 'string' },
2168
2713
  code: {
2169
2714
  description: 'Access (PIN) code for the credential.',
@@ -2613,6 +3158,23 @@ export default {
2613
3158
  format: 'uuid',
2614
3159
  type: 'string',
2615
3160
  },
3161
+ assa_abloy_vostio_metadata: {
3162
+ description: 'Vostio-specific metadata for the credential.',
3163
+ properties: {
3164
+ door_names: {
3165
+ items: { type: 'string' },
3166
+ type: 'array',
3167
+ },
3168
+ endpoint_id: { type: 'string' },
3169
+ key_id: { type: 'string' },
3170
+ key_issuing_request_id: { type: 'string' },
3171
+ override_guest_acs_entrance_ids: {
3172
+ items: { type: 'string' },
3173
+ type: 'array',
3174
+ },
3175
+ },
3176
+ type: 'object',
3177
+ },
2616
3178
  card_number: { nullable: true, type: 'string' },
2617
3179
  code: {
2618
3180
  description: 'Access (PIN) code for the credential.',
@@ -2929,6 +3491,23 @@ export default {
2929
3491
  format: 'uuid',
2930
3492
  type: 'string',
2931
3493
  },
3494
+ assa_abloy_vostio_metadata: {
3495
+ description: 'Vostio-specific metadata for the credential.',
3496
+ properties: {
3497
+ door_names: {
3498
+ items: { type: 'string' },
3499
+ type: 'array',
3500
+ },
3501
+ endpoint_id: { type: 'string' },
3502
+ key_id: { type: 'string' },
3503
+ key_issuing_request_id: { type: 'string' },
3504
+ override_guest_acs_entrance_ids: {
3505
+ items: { type: 'string' },
3506
+ type: 'array',
3507
+ },
3508
+ },
3509
+ type: 'object',
3510
+ },
2932
3511
  card_number: { nullable: true, type: 'string' },
2933
3512
  code: {
2934
3513
  description: 'Access (PIN) code for the credential.',
@@ -4265,13 +4844,50 @@ export default {
4265
4844
  },
4266
4845
  errors: {
4267
4846
  items: {
4268
- properties: {
4269
- error_code: { type: 'string' },
4270
- is_connected_account_error: { enum: [true], type: 'boolean' },
4271
- message: { type: 'string' },
4272
- },
4273
- required: ['message', 'is_connected_account_error', 'error_code'],
4274
- type: 'object',
4847
+ oneOf: [
4848
+ {
4849
+ description: 'Account is disconnected.',
4850
+ properties: {
4851
+ error_code: {
4852
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4853
+ enum: ['account_disconnected'],
4854
+ type: 'string',
4855
+ },
4856
+ is_connected_account_error: {
4857
+ enum: [true],
4858
+ type: 'boolean',
4859
+ },
4860
+ message: { type: 'string' },
4861
+ },
4862
+ required: [
4863
+ 'message',
4864
+ 'is_connected_account_error',
4865
+ 'error_code',
4866
+ ],
4867
+ type: 'object',
4868
+ },
4869
+ {
4870
+ description: 'Credentials provided were invalid.',
4871
+ properties: {
4872
+ error_code: {
4873
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4874
+ enum: ['invalid_credentials'],
4875
+ type: 'string',
4876
+ },
4877
+ is_connected_account_error: {
4878
+ enum: [true],
4879
+ type: 'boolean',
4880
+ },
4881
+ message: { type: 'string' },
4882
+ },
4883
+ required: [
4884
+ 'message',
4885
+ 'is_connected_account_error',
4886
+ 'error_code',
4887
+ ],
4888
+ type: 'object',
4889
+ },
4890
+ ],
4275
4891
  },
4276
4892
  type: 'array',
4277
4893
  },
@@ -4290,9 +4906,14 @@ export default {
4290
4906
  description: 'Warning associated with the `connected_account`.',
4291
4907
  oneOf: [
4292
4908
  {
4909
+ description: 'Scheduled downtime for account planned.',
4293
4910
  properties: {
4294
4911
  message: { type: 'string' },
4295
- warning_code: { type: 'string' },
4912
+ warning_code: {
4913
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4914
+ enum: ['scheduled_maintenance_window'],
4915
+ type: 'string',
4916
+ },
4296
4917
  },
4297
4918
  required: ['message', 'warning_code'],
4298
4919
  type: 'object',
@@ -4601,41 +5222,71 @@ export default {
4601
5222
  is_device_error: { enum: [true], type: 'boolean' },
4602
5223
  message: { type: 'string' },
4603
5224
  },
4604
- required: ['message', 'is_device_error', 'error_code'],
5225
+ required: ['message', 'is_device_error', 'error_code'],
5226
+ type: 'object',
5227
+ },
5228
+ {
5229
+ description: 'Subscription required to connect.',
5230
+ properties: {
5231
+ error_code: {
5232
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5233
+ enum: ['subscription_required'],
5234
+ type: 'string',
5235
+ },
5236
+ is_device_error: { enum: [true], type: 'boolean' },
5237
+ message: { type: 'string' },
5238
+ },
5239
+ required: ['message', 'is_device_error', 'error_code'],
5240
+ type: 'object',
5241
+ },
5242
+ ],
5243
+ },
5244
+ {
5245
+ oneOf: [
5246
+ {
5247
+ description: 'Account is disconnected.',
5248
+ properties: {
5249
+ error_code: {
5250
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
5251
+ enum: ['account_disconnected'],
5252
+ type: 'string',
5253
+ },
5254
+ is_connected_account_error: {
5255
+ enum: [true],
5256
+ type: 'boolean',
5257
+ },
5258
+ message: { type: 'string' },
5259
+ },
5260
+ required: [
5261
+ 'message',
5262
+ 'is_connected_account_error',
5263
+ 'error_code',
5264
+ ],
4605
5265
  type: 'object',
4606
5266
  },
4607
5267
  {
4608
- description: 'Subscription required to connect.',
5268
+ description: 'Credentials provided were invalid.',
4609
5269
  properties: {
4610
5270
  error_code: {
4611
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
4612
- enum: ['subscription_required'],
5271
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
5272
+ enum: ['invalid_credentials'],
4613
5273
  type: 'string',
4614
5274
  },
4615
- is_device_error: { enum: [true], type: 'boolean' },
5275
+ is_connected_account_error: {
5276
+ enum: [true],
5277
+ type: 'boolean',
5278
+ },
4616
5279
  message: { type: 'string' },
4617
5280
  },
4618
- required: ['message', 'is_device_error', 'error_code'],
5281
+ required: [
5282
+ 'message',
5283
+ 'is_connected_account_error',
5284
+ 'error_code',
5285
+ ],
4619
5286
  type: 'object',
4620
5287
  },
4621
5288
  ],
4622
5289
  },
4623
- {
4624
- properties: {
4625
- error_code: { type: 'string' },
4626
- is_connected_account_error: {
4627
- enum: [true],
4628
- type: 'boolean',
4629
- },
4630
- message: { type: 'string' },
4631
- },
4632
- required: [
4633
- 'message',
4634
- 'is_connected_account_error',
4635
- 'error_code',
4636
- ],
4637
- type: 'object',
4638
- },
4639
5290
  ],
4640
5291
  },
4641
5292
  type: 'array',
@@ -10461,20 +11112,50 @@ export default {
10461
11112
  ],
10462
11113
  },
10463
11114
  {
10464
- properties: {
10465
- error_code: { type: 'string' },
10466
- is_connected_account_error: {
10467
- enum: [true],
10468
- type: 'boolean',
11115
+ oneOf: [
11116
+ {
11117
+ description: 'Account is disconnected.',
11118
+ properties: {
11119
+ error_code: {
11120
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11121
+ enum: ['account_disconnected'],
11122
+ type: 'string',
11123
+ },
11124
+ is_connected_account_error: {
11125
+ enum: [true],
11126
+ type: 'boolean',
11127
+ },
11128
+ message: { type: 'string' },
11129
+ },
11130
+ required: [
11131
+ 'message',
11132
+ 'is_connected_account_error',
11133
+ 'error_code',
11134
+ ],
11135
+ type: 'object',
11136
+ },
11137
+ {
11138
+ description: 'Credentials provided were invalid.',
11139
+ properties: {
11140
+ error_code: {
11141
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11142
+ enum: ['invalid_credentials'],
11143
+ type: 'string',
11144
+ },
11145
+ is_connected_account_error: {
11146
+ enum: [true],
11147
+ type: 'boolean',
11148
+ },
11149
+ message: { type: 'string' },
11150
+ },
11151
+ required: [
11152
+ 'message',
11153
+ 'is_connected_account_error',
11154
+ 'error_code',
11155
+ ],
11156
+ type: 'object',
10469
11157
  },
10470
- message: { type: 'string' },
10471
- },
10472
- required: [
10473
- 'message',
10474
- 'is_connected_account_error',
10475
- 'error_code',
10476
11158
  ],
10477
- type: 'object',
10478
11159
  },
10479
11160
  ],
10480
11161
  },
@@ -10868,13 +11549,354 @@ export default {
10868
11549
  items: {
10869
11550
  oneOf: [
10870
11551
  {
10871
- properties: {
10872
- error_code: { type: 'string' },
10873
- is_access_code_error: { enum: [true], type: 'boolean' },
10874
- message: { type: 'string' },
10875
- },
10876
- required: ['message', 'is_access_code_error', 'error_code'],
10877
- type: 'object',
11552
+ oneOf: [
11553
+ {
11554
+ description: 'Failed to set code on Smart Things device.',
11555
+ properties: {
11556
+ error_code: {
11557
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11558
+ enum: ['smartthings_failed_to_set_access_code'],
11559
+ type: 'string',
11560
+ },
11561
+ is_access_code_error: { enum: [true], type: 'boolean' },
11562
+ message: { type: 'string' },
11563
+ },
11564
+ required: [
11565
+ 'message',
11566
+ 'is_access_code_error',
11567
+ 'error_code',
11568
+ ],
11569
+ type: 'object',
11570
+ },
11571
+ {
11572
+ description: 'Failed to set code after multiple retries.',
11573
+ properties: {
11574
+ error_code: {
11575
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11576
+ enum: [
11577
+ 'smartthings_failed_to_set_after_multiple_retries',
11578
+ ],
11579
+ type: 'string',
11580
+ },
11581
+ is_access_code_error: { enum: [true], type: 'boolean' },
11582
+ message: { type: 'string' },
11583
+ },
11584
+ required: [
11585
+ 'message',
11586
+ 'is_access_code_error',
11587
+ 'error_code',
11588
+ ],
11589
+ type: 'object',
11590
+ },
11591
+ {
11592
+ description: 'Failed to set code on device.',
11593
+ properties: {
11594
+ error_code: {
11595
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11596
+ enum: ['failed_to_set_on_device'],
11597
+ type: 'string',
11598
+ },
11599
+ is_access_code_error: { enum: [true], type: 'boolean' },
11600
+ message: { type: 'string' },
11601
+ },
11602
+ required: [
11603
+ 'message',
11604
+ 'is_access_code_error',
11605
+ 'error_code',
11606
+ ],
11607
+ type: 'object',
11608
+ },
11609
+ {
11610
+ description: 'Failed to remove code from device.',
11611
+ properties: {
11612
+ error_code: {
11613
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11614
+ enum: ['failed_to_remove_from_device'],
11615
+ type: 'string',
11616
+ },
11617
+ is_access_code_error: { enum: [true], type: 'boolean' },
11618
+ message: { type: 'string' },
11619
+ },
11620
+ required: [
11621
+ 'message',
11622
+ 'is_access_code_error',
11623
+ 'error_code',
11624
+ ],
11625
+ type: 'object',
11626
+ },
11627
+ {
11628
+ description: 'Duplicate access code detected on device.',
11629
+ properties: {
11630
+ error_code: {
11631
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11632
+ enum: ['duplicate_code_on_device'],
11633
+ type: 'string',
11634
+ },
11635
+ is_access_code_error: { enum: [true], type: 'boolean' },
11636
+ message: { type: 'string' },
11637
+ },
11638
+ required: [
11639
+ 'message',
11640
+ 'is_access_code_error',
11641
+ 'error_code',
11642
+ ],
11643
+ type: 'object',
11644
+ },
11645
+ {
11646
+ description: 'An attempt to modify this access code was prevented.',
11647
+ properties: {
11648
+ error_code: {
11649
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11650
+ enum: ['duplicate_code_attempt_prevented'],
11651
+ type: 'string',
11652
+ },
11653
+ is_access_code_error: { enum: [true], type: 'boolean' },
11654
+ message: { type: 'string' },
11655
+ },
11656
+ required: [
11657
+ 'message',
11658
+ 'is_access_code_error',
11659
+ 'error_code',
11660
+ ],
11661
+ type: 'object',
11662
+ },
11663
+ {
11664
+ description: 'Igloohome bridge has too many pending jobs in the queue.',
11665
+ properties: {
11666
+ error_code: {
11667
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11668
+ enum: ['igloohome_bridge_too_many_pending_jobs'],
11669
+ type: 'string',
11670
+ },
11671
+ is_access_code_error: { enum: [true], type: 'boolean' },
11672
+ message: { type: 'string' },
11673
+ },
11674
+ required: [
11675
+ 'message',
11676
+ 'is_access_code_error',
11677
+ 'error_code',
11678
+ ],
11679
+ type: 'object',
11680
+ },
11681
+ {
11682
+ description: 'Igloohome bridge is offline.',
11683
+ properties: {
11684
+ error_code: {
11685
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11686
+ enum: ['igloohome_bridge_offline'],
11687
+ type: 'string',
11688
+ },
11689
+ is_access_code_error: { enum: [true], type: 'boolean' },
11690
+ message: { type: 'string' },
11691
+ },
11692
+ required: [
11693
+ 'message',
11694
+ 'is_access_code_error',
11695
+ 'error_code',
11696
+ ],
11697
+ type: 'object',
11698
+ },
11699
+ {
11700
+ description: 'Lock as reached max amount of codes.',
11701
+ properties: {
11702
+ error_code: {
11703
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11704
+ enum: [
11705
+ 'igloohome_offline_access_code_no_variance_available',
11706
+ ],
11707
+ type: 'string',
11708
+ },
11709
+ is_access_code_error: { enum: [true], type: 'boolean' },
11710
+ message: { type: 'string' },
11711
+ },
11712
+ required: [
11713
+ 'message',
11714
+ 'is_access_code_error',
11715
+ 'error_code',
11716
+ ],
11717
+ type: 'object',
11718
+ },
11719
+ {
11720
+ description: 'Unable to confirm the access code is set on Kwikset device.',
11721
+ properties: {
11722
+ error_code: {
11723
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11724
+ enum: ['kwikset_unable_to_confirm_code'],
11725
+ type: 'string',
11726
+ },
11727
+ is_access_code_error: { enum: [true], type: 'boolean' },
11728
+ message: { type: 'string' },
11729
+ },
11730
+ required: [
11731
+ 'message',
11732
+ 'is_access_code_error',
11733
+ 'error_code',
11734
+ ],
11735
+ type: 'object',
11736
+ },
11737
+ {
11738
+ description: 'Unable to confirm the deletion of the access code on Kwikset device.',
11739
+ properties: {
11740
+ error_code: {
11741
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11742
+ enum: ['kwikset_unable_to_confirm_deletion'],
11743
+ type: 'string',
11744
+ },
11745
+ is_access_code_error: { enum: [true], type: 'boolean' },
11746
+ message: { type: 'string' },
11747
+ },
11748
+ required: [
11749
+ 'message',
11750
+ 'is_access_code_error',
11751
+ 'error_code',
11752
+ ],
11753
+ type: 'object',
11754
+ },
11755
+ {
11756
+ description: 'Code was modified or removed externally after Seam successfully set it on the device.',
11757
+ properties: {
11758
+ error_code: {
11759
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11760
+ enum: ['code_modified_external_to_seam'],
11761
+ type: 'string',
11762
+ },
11763
+ is_access_code_error: { enum: [true], type: 'boolean' },
11764
+ message: { type: 'string' },
11765
+ },
11766
+ required: [
11767
+ 'message',
11768
+ 'is_access_code_error',
11769
+ 'error_code',
11770
+ ],
11771
+ type: 'object',
11772
+ },
11773
+ {
11774
+ description: 'Invalid code length for August lock.',
11775
+ properties: {
11776
+ error_code: {
11777
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11778
+ enum: ['august_lock_invalid_code_length'],
11779
+ type: 'string',
11780
+ },
11781
+ is_access_code_error: { enum: [true], type: 'boolean' },
11782
+ message: { type: 'string' },
11783
+ },
11784
+ required: [
11785
+ 'message',
11786
+ 'is_access_code_error',
11787
+ 'error_code',
11788
+ ],
11789
+ type: 'object',
11790
+ },
11791
+ {
11792
+ description: 'Access code has not yet been fully moved to the device.',
11793
+ properties: {
11794
+ error_code: {
11795
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11796
+ enum: ['august_device_programming_delay'],
11797
+ type: 'string',
11798
+ },
11799
+ is_access_code_error: { enum: [true], type: 'boolean' },
11800
+ message: { type: 'string' },
11801
+ },
11802
+ required: [
11803
+ 'message',
11804
+ 'is_access_code_error',
11805
+ 'error_code',
11806
+ ],
11807
+ type: 'object',
11808
+ },
11809
+ {
11810
+ description: 'All access code slots on the device are full.',
11811
+ properties: {
11812
+ error_code: {
11813
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11814
+ enum: ['august_device_slots_full'],
11815
+ type: 'string',
11816
+ },
11817
+ is_access_code_error: { enum: [true], type: 'boolean' },
11818
+ message: { type: 'string' },
11819
+ },
11820
+ required: [
11821
+ 'message',
11822
+ 'is_access_code_error',
11823
+ 'error_code',
11824
+ ],
11825
+ type: 'object',
11826
+ },
11827
+ {
11828
+ description: 'August lock is missing a keypad.',
11829
+ properties: {
11830
+ error_code: {
11831
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11832
+ enum: ['august_lock_missing_keypad'],
11833
+ type: 'string',
11834
+ },
11835
+ is_access_code_error: { enum: [true], type: 'boolean' },
11836
+ message: { type: 'string' },
11837
+ },
11838
+ required: [
11839
+ 'message',
11840
+ 'is_access_code_error',
11841
+ 'error_code',
11842
+ ],
11843
+ type: 'object',
11844
+ },
11845
+ {
11846
+ description: 'Salto site user is not subscribed.',
11847
+ properties: {
11848
+ error_code: {
11849
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11850
+ enum: ['salto_site_user_not_subscribed'],
11851
+ type: 'string',
11852
+ },
11853
+ is_access_code_error: { enum: [true], type: 'boolean' },
11854
+ message: { type: 'string' },
11855
+ },
11856
+ required: [
11857
+ 'message',
11858
+ 'is_access_code_error',
11859
+ 'error_code',
11860
+ ],
11861
+ type: 'object',
11862
+ },
11863
+ {
11864
+ description: 'Access code has not yet been fully moved to the device.',
11865
+ properties: {
11866
+ error_code: {
11867
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11868
+ enum: ['hubitat_device_programming_delay'],
11869
+ type: 'string',
11870
+ },
11871
+ is_access_code_error: { enum: [true], type: 'boolean' },
11872
+ message: { type: 'string' },
11873
+ },
11874
+ required: [
11875
+ 'message',
11876
+ 'is_access_code_error',
11877
+ 'error_code',
11878
+ ],
11879
+ type: 'object',
11880
+ },
11881
+ {
11882
+ description: 'No free positions available on the device.',
11883
+ properties: {
11884
+ error_code: {
11885
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11886
+ enum: ['hubitat_no_free_positions_available'],
11887
+ type: 'string',
11888
+ },
11889
+ is_access_code_error: { enum: [true], type: 'boolean' },
11890
+ message: { type: 'string' },
11891
+ },
11892
+ required: [
11893
+ 'message',
11894
+ 'is_access_code_error',
11895
+ 'error_code',
11896
+ ],
11897
+ type: 'object',
11898
+ },
11899
+ ],
10878
11900
  },
10879
11901
  {
10880
11902
  description: 'Error associated with the `device`.',
@@ -11064,20 +12086,50 @@ export default {
11064
12086
  ],
11065
12087
  },
11066
12088
  {
11067
- properties: {
11068
- error_code: { type: 'string' },
11069
- is_connected_account_error: {
11070
- enum: [true],
11071
- type: 'boolean',
12089
+ oneOf: [
12090
+ {
12091
+ description: 'Account is disconnected.',
12092
+ properties: {
12093
+ error_code: {
12094
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12095
+ enum: ['account_disconnected'],
12096
+ type: 'string',
12097
+ },
12098
+ is_connected_account_error: {
12099
+ enum: [true],
12100
+ type: 'boolean',
12101
+ },
12102
+ message: { type: 'string' },
12103
+ },
12104
+ required: [
12105
+ 'message',
12106
+ 'is_connected_account_error',
12107
+ 'error_code',
12108
+ ],
12109
+ type: 'object',
12110
+ },
12111
+ {
12112
+ description: 'Credentials provided were invalid.',
12113
+ properties: {
12114
+ error_code: {
12115
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12116
+ enum: ['invalid_credentials'],
12117
+ type: 'string',
12118
+ },
12119
+ is_connected_account_error: {
12120
+ enum: [true],
12121
+ type: 'boolean',
12122
+ },
12123
+ message: { type: 'string' },
12124
+ },
12125
+ required: [
12126
+ 'message',
12127
+ 'is_connected_account_error',
12128
+ 'error_code',
12129
+ ],
12130
+ type: 'object',
11072
12131
  },
11073
- message: { type: 'string' },
11074
- },
11075
- required: [
11076
- 'message',
11077
- 'is_connected_account_error',
11078
- 'error_code',
11079
12132
  ],
11080
- type: 'object',
11081
12133
  },
11082
12134
  ],
11083
12135
  },
@@ -11104,12 +12156,138 @@ export default {
11104
12156
  warnings: {
11105
12157
  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.',
11106
12158
  items: {
11107
- properties: {
11108
- message: { type: 'string' },
11109
- warning_code: { type: 'string' },
11110
- },
11111
- required: ['message', 'warning_code'],
11112
- type: 'object',
12159
+ oneOf: [
12160
+ {
12161
+ description: 'Failed to set code on Smart Things device.',
12162
+ properties: {
12163
+ message: { type: 'string' },
12164
+ warning_code: {
12165
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12166
+ enum: ['smartthings_failed_to_set_access_code'],
12167
+ type: 'string',
12168
+ },
12169
+ },
12170
+ required: ['message', 'warning_code'],
12171
+ type: 'object',
12172
+ },
12173
+ {
12174
+ description: 'Duplicate access code detected.',
12175
+ properties: {
12176
+ message: { type: 'string' },
12177
+ warning_code: {
12178
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12179
+ enum: ['schlage_detected_duplicate'],
12180
+ type: 'string',
12181
+ },
12182
+ },
12183
+ required: ['message', 'warning_code'],
12184
+ type: 'object',
12185
+ },
12186
+ {
12187
+ description: 'Received an error when attempting to create this code.',
12188
+ properties: {
12189
+ message: { type: 'string' },
12190
+ warning_code: {
12191
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12192
+ enum: ['schlage_creation_outage'],
12193
+ type: 'string',
12194
+ },
12195
+ },
12196
+ required: ['message', 'warning_code'],
12197
+ type: 'object',
12198
+ },
12199
+ {
12200
+ description: 'Code was modified or removed externally after Seam successfully set it on the device.',
12201
+ properties: {
12202
+ message: { type: 'string' },
12203
+ warning_code: {
12204
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12205
+ enum: ['code_modified_external_to_seam'],
12206
+ type: 'string',
12207
+ },
12208
+ },
12209
+ required: ['message', 'warning_code'],
12210
+ type: 'object',
12211
+ },
12212
+ {
12213
+ description: 'Delay in setting code on device.',
12214
+ properties: {
12215
+ message: { type: 'string' },
12216
+ warning_code: {
12217
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12218
+ enum: ['delay_in_setting_on_device'],
12219
+ type: 'string',
12220
+ },
12221
+ },
12222
+ required: ['message', 'warning_code'],
12223
+ type: 'object',
12224
+ },
12225
+ {
12226
+ description: 'Delay in removing code from device.',
12227
+ properties: {
12228
+ message: { type: 'string' },
12229
+ warning_code: {
12230
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12231
+ enum: ['delay_in_removing_from_device'],
12232
+ type: 'string',
12233
+ },
12234
+ },
12235
+ required: ['message', 'warning_code'],
12236
+ type: 'object',
12237
+ },
12238
+ {
12239
+ description: 'Third party integration detected that may cause access codes to fail.',
12240
+ properties: {
12241
+ message: { type: 'string' },
12242
+ warning_code: {
12243
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12244
+ enum: ['third_party_integration_detected'],
12245
+ type: 'string',
12246
+ },
12247
+ },
12248
+ required: ['message', 'warning_code'],
12249
+ type: 'object',
12250
+ },
12251
+ {
12252
+ description: 'Access code has not yet been fully moved to the device.',
12253
+ properties: {
12254
+ message: { type: 'string' },
12255
+ warning_code: {
12256
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12257
+ enum: ['august_device_programming_delay'],
12258
+ type: 'string',
12259
+ },
12260
+ },
12261
+ required: ['message', 'warning_code'],
12262
+ type: 'object',
12263
+ },
12264
+ {
12265
+ description: 'Algopins must be used within 24 hours.',
12266
+ properties: {
12267
+ message: { type: 'string' },
12268
+ warning_code: {
12269
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12270
+ enum: ['igloo_algopin_must_be_used_within_24_hours'],
12271
+ type: 'string',
12272
+ },
12273
+ },
12274
+ required: ['message', 'warning_code'],
12275
+ type: 'object',
12276
+ },
12277
+ {
12278
+ description: 'Management was transferred to another workspace.',
12279
+ properties: {
12280
+ message: { type: 'string' },
12281
+ warning_code: {
12282
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12283
+ enum: ['management_transferred'],
12284
+ type: 'string',
12285
+ },
12286
+ },
12287
+ required: ['message', 'warning_code'],
12288
+ type: 'object',
12289
+ },
12290
+ ],
11113
12291
  },
11114
12292
  type: 'array',
11115
12293
  },
@@ -11415,20 +12593,50 @@ export default {
11415
12593
  ],
11416
12594
  },
11417
12595
  {
11418
- properties: {
11419
- error_code: { type: 'string' },
11420
- is_connected_account_error: {
11421
- enum: [true],
11422
- type: 'boolean',
12596
+ oneOf: [
12597
+ {
12598
+ description: 'Account is disconnected.',
12599
+ properties: {
12600
+ error_code: {
12601
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12602
+ enum: ['account_disconnected'],
12603
+ type: 'string',
12604
+ },
12605
+ is_connected_account_error: {
12606
+ enum: [true],
12607
+ type: 'boolean',
12608
+ },
12609
+ message: { type: 'string' },
12610
+ },
12611
+ required: [
12612
+ 'message',
12613
+ 'is_connected_account_error',
12614
+ 'error_code',
12615
+ ],
12616
+ type: 'object',
12617
+ },
12618
+ {
12619
+ description: 'Credentials provided were invalid.',
12620
+ properties: {
12621
+ error_code: {
12622
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12623
+ enum: ['invalid_credentials'],
12624
+ type: 'string',
12625
+ },
12626
+ is_connected_account_error: {
12627
+ enum: [true],
12628
+ type: 'boolean',
12629
+ },
12630
+ message: { type: 'string' },
12631
+ },
12632
+ required: [
12633
+ 'message',
12634
+ 'is_connected_account_error',
12635
+ 'error_code',
12636
+ ],
12637
+ type: 'object',
11423
12638
  },
11424
- message: { type: 'string' },
11425
- },
11426
- required: [
11427
- 'message',
11428
- 'is_connected_account_error',
11429
- 'error_code',
11430
12639
  ],
11431
- type: 'object',
11432
12640
  },
11433
12641
  ],
11434
12642
  },
@@ -14811,6 +16019,23 @@ export default {
14811
16019
  format: 'uuid',
14812
16020
  type: 'string',
14813
16021
  },
16022
+ assa_abloy_vostio_metadata: {
16023
+ description: 'Vostio-specific metadata for the credential.',
16024
+ properties: {
16025
+ door_names: {
16026
+ items: { type: 'string' },
16027
+ type: 'array',
16028
+ },
16029
+ endpoint_id: { type: 'string' },
16030
+ key_id: { type: 'string' },
16031
+ key_issuing_request_id: { type: 'string' },
16032
+ override_guest_acs_entrance_ids: {
16033
+ items: { type: 'string' },
16034
+ type: 'array',
16035
+ },
16036
+ },
16037
+ type: 'object',
16038
+ },
14814
16039
  card_number: { nullable: true, type: 'string' },
14815
16040
  code: {
14816
16041
  description: 'Access (PIN) code for the credential.',
@@ -15224,6 +16449,23 @@ export default {
15224
16449
  format: 'uuid',
15225
16450
  type: 'string',
15226
16451
  },
16452
+ assa_abloy_vostio_metadata: {
16453
+ description: 'Vostio-specific metadata for the credential.',
16454
+ properties: {
16455
+ door_names: {
16456
+ items: { type: 'string' },
16457
+ type: 'array',
16458
+ },
16459
+ endpoint_id: { type: 'string' },
16460
+ key_id: { type: 'string' },
16461
+ key_issuing_request_id: { type: 'string' },
16462
+ override_guest_acs_entrance_ids: {
16463
+ items: { type: 'string' },
16464
+ type: 'array',
16465
+ },
16466
+ },
16467
+ type: 'object',
16468
+ },
15227
16469
  card_number: { nullable: true, type: 'string' },
15228
16470
  code: {
15229
16471
  description: 'Access (PIN) code for the credential.',