@seamapi/types 1.324.0 → 1.325.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +991 -49
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3076 -281
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +257 -5
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +257 -5
- package/lib/seam/connect/models/acs/acs-system.d.ts +10 -10
- package/lib/seam/connect/models/devices/device.d.ts +419 -11
- package/lib/seam/connect/models/devices/device.js +103 -3
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +258 -6
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +258 -6
- package/lib/seam/connect/openapi.d.ts +124 -79
- package/lib/seam/connect/openapi.js +925 -35
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1630 -44
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +118 -3
- package/src/lib/seam/connect/openapi.ts +995 -35
- package/src/lib/seam/connect/route-types.ts +2080 -130
|
@@ -53,13 +53,205 @@ export default {
|
|
|
53
53
|
type: 'object',
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
description: 'Error associated with the `device`.',
|
|
57
|
+
oneOf: [
|
|
58
|
+
{
|
|
59
|
+
description: 'Device is offline',
|
|
60
|
+
properties: {
|
|
61
|
+
error_code: {
|
|
62
|
+
description:
|
|
63
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
64
|
+
enum: ['device_offline'],
|
|
65
|
+
type: 'string',
|
|
66
|
+
},
|
|
67
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
68
|
+
message: { type: 'string' },
|
|
69
|
+
},
|
|
70
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
71
|
+
type: 'object',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: 'Device has been removed',
|
|
75
|
+
properties: {
|
|
76
|
+
error_code: {
|
|
77
|
+
description:
|
|
78
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
79
|
+
enum: ['device_removed'],
|
|
80
|
+
type: 'string',
|
|
81
|
+
},
|
|
82
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
83
|
+
message: { type: 'string' },
|
|
84
|
+
},
|
|
85
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
86
|
+
type: 'object',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
description: 'Account is disconnected',
|
|
90
|
+
properties: {
|
|
91
|
+
error_code: {
|
|
92
|
+
description:
|
|
93
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
94
|
+
enum: ['account_disconnected'],
|
|
95
|
+
type: 'string',
|
|
96
|
+
},
|
|
97
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
98
|
+
message: { type: 'string' },
|
|
99
|
+
},
|
|
100
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
101
|
+
type: 'object',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
description: 'Hub is disconnected',
|
|
105
|
+
properties: {
|
|
106
|
+
error_code: {
|
|
107
|
+
description:
|
|
108
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
109
|
+
enum: ['hub_disconnected'],
|
|
110
|
+
type: 'string',
|
|
111
|
+
},
|
|
112
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
113
|
+
message: { type: 'string' },
|
|
114
|
+
},
|
|
115
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
116
|
+
type: 'object',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
description: 'Device is disconnected',
|
|
120
|
+
properties: {
|
|
121
|
+
error_code: {
|
|
122
|
+
description:
|
|
123
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
124
|
+
enum: ['device_disconnected'],
|
|
125
|
+
type: 'string',
|
|
126
|
+
},
|
|
127
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
128
|
+
message: { type: 'string' },
|
|
129
|
+
},
|
|
130
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
131
|
+
type: 'object',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
description: 'The backup access code pool is empty.',
|
|
135
|
+
properties: {
|
|
136
|
+
error_code: {
|
|
137
|
+
description:
|
|
138
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
139
|
+
enum: ['empty_backup_access_code_pool'],
|
|
140
|
+
type: 'string',
|
|
141
|
+
},
|
|
142
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
143
|
+
message: { type: 'string' },
|
|
144
|
+
},
|
|
145
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
146
|
+
type: 'object',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
description:
|
|
150
|
+
'User is not authorized to use the August Lock.',
|
|
151
|
+
properties: {
|
|
152
|
+
error_code: {
|
|
153
|
+
description:
|
|
154
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
155
|
+
enum: ['august_lock_not_authorized'],
|
|
156
|
+
type: 'string',
|
|
157
|
+
},
|
|
158
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
159
|
+
message: { type: 'string' },
|
|
160
|
+
},
|
|
161
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
162
|
+
type: 'object',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
description: 'Lock is not connected to the Seam Bridge.',
|
|
166
|
+
properties: {
|
|
167
|
+
error_code: {
|
|
168
|
+
description:
|
|
169
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
170
|
+
enum: ['august_lock_missing_bridge'],
|
|
171
|
+
type: 'string',
|
|
172
|
+
},
|
|
173
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
174
|
+
message: { type: 'string' },
|
|
175
|
+
},
|
|
176
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
177
|
+
type: 'object',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
description: 'Salto site user limit reached.',
|
|
181
|
+
properties: {
|
|
182
|
+
error_code: {
|
|
183
|
+
description:
|
|
184
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
185
|
+
enum: ['salto_site_user_limit_reached'],
|
|
186
|
+
type: 'string',
|
|
187
|
+
},
|
|
188
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
189
|
+
message: { type: 'string' },
|
|
190
|
+
},
|
|
191
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
192
|
+
type: 'object',
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
description: 'Lock is not paired with a Gateway.',
|
|
196
|
+
properties: {
|
|
197
|
+
error_code: {
|
|
198
|
+
description:
|
|
199
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
200
|
+
enum: ['ttlock_lock_not_paired_to_gateway'],
|
|
201
|
+
type: 'string',
|
|
202
|
+
},
|
|
203
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
204
|
+
message: { type: 'string' },
|
|
205
|
+
},
|
|
206
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
207
|
+
type: 'object',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
description: 'Missing device credentials.',
|
|
211
|
+
properties: {
|
|
212
|
+
error_code: {
|
|
213
|
+
description:
|
|
214
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
215
|
+
enum: ['missing_device_credentials'],
|
|
216
|
+
type: 'string',
|
|
217
|
+
},
|
|
218
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
219
|
+
message: { type: 'string' },
|
|
220
|
+
},
|
|
221
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
222
|
+
type: 'object',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
description: 'The auxiliary heat is running.',
|
|
226
|
+
properties: {
|
|
227
|
+
error_code: {
|
|
228
|
+
description:
|
|
229
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
230
|
+
enum: ['auxiliary_heat_running'],
|
|
231
|
+
type: 'string',
|
|
232
|
+
},
|
|
233
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
234
|
+
message: { type: 'string' },
|
|
235
|
+
},
|
|
236
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
237
|
+
type: 'object',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
description: 'Subscription required to connect.',
|
|
241
|
+
properties: {
|
|
242
|
+
error_code: {
|
|
243
|
+
description:
|
|
244
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
245
|
+
enum: ['subscription_required'],
|
|
246
|
+
type: 'string',
|
|
247
|
+
},
|
|
248
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
249
|
+
message: { type: 'string' },
|
|
250
|
+
},
|
|
251
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
252
|
+
type: 'object',
|
|
253
|
+
},
|
|
254
|
+
],
|
|
63
255
|
},
|
|
64
256
|
{
|
|
65
257
|
properties: {
|
|
@@ -4415,13 +4607,205 @@ export default {
|
|
|
4415
4607
|
items: {
|
|
4416
4608
|
oneOf: [
|
|
4417
4609
|
{
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4610
|
+
description: 'Error associated with the `device`.',
|
|
4611
|
+
oneOf: [
|
|
4612
|
+
{
|
|
4613
|
+
description: 'Device is offline',
|
|
4614
|
+
properties: {
|
|
4615
|
+
error_code: {
|
|
4616
|
+
description:
|
|
4617
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4618
|
+
enum: ['device_offline'],
|
|
4619
|
+
type: 'string',
|
|
4620
|
+
},
|
|
4621
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4622
|
+
message: { type: 'string' },
|
|
4623
|
+
},
|
|
4624
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4625
|
+
type: 'object',
|
|
4626
|
+
},
|
|
4627
|
+
{
|
|
4628
|
+
description: 'Device has been removed',
|
|
4629
|
+
properties: {
|
|
4630
|
+
error_code: {
|
|
4631
|
+
description:
|
|
4632
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4633
|
+
enum: ['device_removed'],
|
|
4634
|
+
type: 'string',
|
|
4635
|
+
},
|
|
4636
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4637
|
+
message: { type: 'string' },
|
|
4638
|
+
},
|
|
4639
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4640
|
+
type: 'object',
|
|
4641
|
+
},
|
|
4642
|
+
{
|
|
4643
|
+
description: 'Account is disconnected',
|
|
4644
|
+
properties: {
|
|
4645
|
+
error_code: {
|
|
4646
|
+
description:
|
|
4647
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4648
|
+
enum: ['account_disconnected'],
|
|
4649
|
+
type: 'string',
|
|
4650
|
+
},
|
|
4651
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4652
|
+
message: { type: 'string' },
|
|
4653
|
+
},
|
|
4654
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4655
|
+
type: 'object',
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
description: 'Hub is disconnected',
|
|
4659
|
+
properties: {
|
|
4660
|
+
error_code: {
|
|
4661
|
+
description:
|
|
4662
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4663
|
+
enum: ['hub_disconnected'],
|
|
4664
|
+
type: 'string',
|
|
4665
|
+
},
|
|
4666
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4667
|
+
message: { type: 'string' },
|
|
4668
|
+
},
|
|
4669
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4670
|
+
type: 'object',
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
description: 'Device is disconnected',
|
|
4674
|
+
properties: {
|
|
4675
|
+
error_code: {
|
|
4676
|
+
description:
|
|
4677
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4678
|
+
enum: ['device_disconnected'],
|
|
4679
|
+
type: 'string',
|
|
4680
|
+
},
|
|
4681
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4682
|
+
message: { type: 'string' },
|
|
4683
|
+
},
|
|
4684
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4685
|
+
type: 'object',
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
description: 'The backup access code pool is empty.',
|
|
4689
|
+
properties: {
|
|
4690
|
+
error_code: {
|
|
4691
|
+
description:
|
|
4692
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4693
|
+
enum: ['empty_backup_access_code_pool'],
|
|
4694
|
+
type: 'string',
|
|
4695
|
+
},
|
|
4696
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4697
|
+
message: { type: 'string' },
|
|
4698
|
+
},
|
|
4699
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4700
|
+
type: 'object',
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
description:
|
|
4704
|
+
'User is not authorized to use the August Lock.',
|
|
4705
|
+
properties: {
|
|
4706
|
+
error_code: {
|
|
4707
|
+
description:
|
|
4708
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4709
|
+
enum: ['august_lock_not_authorized'],
|
|
4710
|
+
type: 'string',
|
|
4711
|
+
},
|
|
4712
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4713
|
+
message: { type: 'string' },
|
|
4714
|
+
},
|
|
4715
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4716
|
+
type: 'object',
|
|
4717
|
+
},
|
|
4718
|
+
{
|
|
4719
|
+
description: 'Lock is not connected to the Seam Bridge.',
|
|
4720
|
+
properties: {
|
|
4721
|
+
error_code: {
|
|
4722
|
+
description:
|
|
4723
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4724
|
+
enum: ['august_lock_missing_bridge'],
|
|
4725
|
+
type: 'string',
|
|
4726
|
+
},
|
|
4727
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4728
|
+
message: { type: 'string' },
|
|
4729
|
+
},
|
|
4730
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4731
|
+
type: 'object',
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
description: 'Salto site user limit reached.',
|
|
4735
|
+
properties: {
|
|
4736
|
+
error_code: {
|
|
4737
|
+
description:
|
|
4738
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4739
|
+
enum: ['salto_site_user_limit_reached'],
|
|
4740
|
+
type: 'string',
|
|
4741
|
+
},
|
|
4742
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4743
|
+
message: { type: 'string' },
|
|
4744
|
+
},
|
|
4745
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4746
|
+
type: 'object',
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
description: 'Lock is not paired with a Gateway.',
|
|
4750
|
+
properties: {
|
|
4751
|
+
error_code: {
|
|
4752
|
+
description:
|
|
4753
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4754
|
+
enum: ['ttlock_lock_not_paired_to_gateway'],
|
|
4755
|
+
type: 'string',
|
|
4756
|
+
},
|
|
4757
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4758
|
+
message: { type: 'string' },
|
|
4759
|
+
},
|
|
4760
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4761
|
+
type: 'object',
|
|
4762
|
+
},
|
|
4763
|
+
{
|
|
4764
|
+
description: 'Missing device credentials.',
|
|
4765
|
+
properties: {
|
|
4766
|
+
error_code: {
|
|
4767
|
+
description:
|
|
4768
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4769
|
+
enum: ['missing_device_credentials'],
|
|
4770
|
+
type: 'string',
|
|
4771
|
+
},
|
|
4772
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4773
|
+
message: { type: 'string' },
|
|
4774
|
+
},
|
|
4775
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4776
|
+
type: 'object',
|
|
4777
|
+
},
|
|
4778
|
+
{
|
|
4779
|
+
description: 'The auxiliary heat is running.',
|
|
4780
|
+
properties: {
|
|
4781
|
+
error_code: {
|
|
4782
|
+
description:
|
|
4783
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4784
|
+
enum: ['auxiliary_heat_running'],
|
|
4785
|
+
type: 'string',
|
|
4786
|
+
},
|
|
4787
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4788
|
+
message: { type: 'string' },
|
|
4789
|
+
},
|
|
4790
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4791
|
+
type: 'object',
|
|
4792
|
+
},
|
|
4793
|
+
{
|
|
4794
|
+
description: 'Subscription required to connect.',
|
|
4795
|
+
properties: {
|
|
4796
|
+
error_code: {
|
|
4797
|
+
description:
|
|
4798
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4799
|
+
enum: ['subscription_required'],
|
|
4800
|
+
type: 'string',
|
|
4801
|
+
},
|
|
4802
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
4803
|
+
message: { type: 'string' },
|
|
4804
|
+
},
|
|
4805
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
4806
|
+
type: 'object',
|
|
4807
|
+
},
|
|
4808
|
+
],
|
|
4425
4809
|
},
|
|
4426
4810
|
{
|
|
4427
4811
|
properties: {
|
|
@@ -10019,13 +10403,205 @@ export default {
|
|
|
10019
10403
|
items: {
|
|
10020
10404
|
oneOf: [
|
|
10021
10405
|
{
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10406
|
+
description: 'Error associated with the `device`.',
|
|
10407
|
+
oneOf: [
|
|
10408
|
+
{
|
|
10409
|
+
description: 'Device is offline',
|
|
10410
|
+
properties: {
|
|
10411
|
+
error_code: {
|
|
10412
|
+
description:
|
|
10413
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10414
|
+
enum: ['device_offline'],
|
|
10415
|
+
type: 'string',
|
|
10416
|
+
},
|
|
10417
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10418
|
+
message: { type: 'string' },
|
|
10419
|
+
},
|
|
10420
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10421
|
+
type: 'object',
|
|
10422
|
+
},
|
|
10423
|
+
{
|
|
10424
|
+
description: 'Device has been removed',
|
|
10425
|
+
properties: {
|
|
10426
|
+
error_code: {
|
|
10427
|
+
description:
|
|
10428
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10429
|
+
enum: ['device_removed'],
|
|
10430
|
+
type: 'string',
|
|
10431
|
+
},
|
|
10432
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10433
|
+
message: { type: 'string' },
|
|
10434
|
+
},
|
|
10435
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10436
|
+
type: 'object',
|
|
10437
|
+
},
|
|
10438
|
+
{
|
|
10439
|
+
description: 'Account is disconnected',
|
|
10440
|
+
properties: {
|
|
10441
|
+
error_code: {
|
|
10442
|
+
description:
|
|
10443
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10444
|
+
enum: ['account_disconnected'],
|
|
10445
|
+
type: 'string',
|
|
10446
|
+
},
|
|
10447
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10448
|
+
message: { type: 'string' },
|
|
10449
|
+
},
|
|
10450
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10451
|
+
type: 'object',
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
description: 'Hub is disconnected',
|
|
10455
|
+
properties: {
|
|
10456
|
+
error_code: {
|
|
10457
|
+
description:
|
|
10458
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10459
|
+
enum: ['hub_disconnected'],
|
|
10460
|
+
type: 'string',
|
|
10461
|
+
},
|
|
10462
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10463
|
+
message: { type: 'string' },
|
|
10464
|
+
},
|
|
10465
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10466
|
+
type: 'object',
|
|
10467
|
+
},
|
|
10468
|
+
{
|
|
10469
|
+
description: 'Device is disconnected',
|
|
10470
|
+
properties: {
|
|
10471
|
+
error_code: {
|
|
10472
|
+
description:
|
|
10473
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10474
|
+
enum: ['device_disconnected'],
|
|
10475
|
+
type: 'string',
|
|
10476
|
+
},
|
|
10477
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10478
|
+
message: { type: 'string' },
|
|
10479
|
+
},
|
|
10480
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10481
|
+
type: 'object',
|
|
10482
|
+
},
|
|
10483
|
+
{
|
|
10484
|
+
description: 'The backup access code pool is empty.',
|
|
10485
|
+
properties: {
|
|
10486
|
+
error_code: {
|
|
10487
|
+
description:
|
|
10488
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10489
|
+
enum: ['empty_backup_access_code_pool'],
|
|
10490
|
+
type: 'string',
|
|
10491
|
+
},
|
|
10492
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10493
|
+
message: { type: 'string' },
|
|
10494
|
+
},
|
|
10495
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10496
|
+
type: 'object',
|
|
10497
|
+
},
|
|
10498
|
+
{
|
|
10499
|
+
description:
|
|
10500
|
+
'User is not authorized to use the August Lock.',
|
|
10501
|
+
properties: {
|
|
10502
|
+
error_code: {
|
|
10503
|
+
description:
|
|
10504
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10505
|
+
enum: ['august_lock_not_authorized'],
|
|
10506
|
+
type: 'string',
|
|
10507
|
+
},
|
|
10508
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10509
|
+
message: { type: 'string' },
|
|
10510
|
+
},
|
|
10511
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10512
|
+
type: 'object',
|
|
10513
|
+
},
|
|
10514
|
+
{
|
|
10515
|
+
description: 'Lock is not connected to the Seam Bridge.',
|
|
10516
|
+
properties: {
|
|
10517
|
+
error_code: {
|
|
10518
|
+
description:
|
|
10519
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10520
|
+
enum: ['august_lock_missing_bridge'],
|
|
10521
|
+
type: 'string',
|
|
10522
|
+
},
|
|
10523
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10524
|
+
message: { type: 'string' },
|
|
10525
|
+
},
|
|
10526
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10527
|
+
type: 'object',
|
|
10528
|
+
},
|
|
10529
|
+
{
|
|
10530
|
+
description: 'Salto site user limit reached.',
|
|
10531
|
+
properties: {
|
|
10532
|
+
error_code: {
|
|
10533
|
+
description:
|
|
10534
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10535
|
+
enum: ['salto_site_user_limit_reached'],
|
|
10536
|
+
type: 'string',
|
|
10537
|
+
},
|
|
10538
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10539
|
+
message: { type: 'string' },
|
|
10540
|
+
},
|
|
10541
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10542
|
+
type: 'object',
|
|
10543
|
+
},
|
|
10544
|
+
{
|
|
10545
|
+
description: 'Lock is not paired with a Gateway.',
|
|
10546
|
+
properties: {
|
|
10547
|
+
error_code: {
|
|
10548
|
+
description:
|
|
10549
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10550
|
+
enum: ['ttlock_lock_not_paired_to_gateway'],
|
|
10551
|
+
type: 'string',
|
|
10552
|
+
},
|
|
10553
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10554
|
+
message: { type: 'string' },
|
|
10555
|
+
},
|
|
10556
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10557
|
+
type: 'object',
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
description: 'Missing device credentials.',
|
|
10561
|
+
properties: {
|
|
10562
|
+
error_code: {
|
|
10563
|
+
description:
|
|
10564
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10565
|
+
enum: ['missing_device_credentials'],
|
|
10566
|
+
type: 'string',
|
|
10567
|
+
},
|
|
10568
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10569
|
+
message: { type: 'string' },
|
|
10570
|
+
},
|
|
10571
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10572
|
+
type: 'object',
|
|
10573
|
+
},
|
|
10574
|
+
{
|
|
10575
|
+
description: 'The auxiliary heat is running.',
|
|
10576
|
+
properties: {
|
|
10577
|
+
error_code: {
|
|
10578
|
+
description:
|
|
10579
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10580
|
+
enum: ['auxiliary_heat_running'],
|
|
10581
|
+
type: 'string',
|
|
10582
|
+
},
|
|
10583
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10584
|
+
message: { type: 'string' },
|
|
10585
|
+
},
|
|
10586
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10587
|
+
type: 'object',
|
|
10588
|
+
},
|
|
10589
|
+
{
|
|
10590
|
+
description: 'Subscription required to connect.',
|
|
10591
|
+
properties: {
|
|
10592
|
+
error_code: {
|
|
10593
|
+
description:
|
|
10594
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10595
|
+
enum: ['subscription_required'],
|
|
10596
|
+
type: 'string',
|
|
10597
|
+
},
|
|
10598
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10599
|
+
message: { type: 'string' },
|
|
10600
|
+
},
|
|
10601
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10602
|
+
type: 'object',
|
|
10603
|
+
},
|
|
10604
|
+
],
|
|
10029
10605
|
},
|
|
10030
10606
|
{
|
|
10031
10607
|
properties: {
|
|
@@ -10266,13 +10842,205 @@ export default {
|
|
|
10266
10842
|
type: 'object',
|
|
10267
10843
|
},
|
|
10268
10844
|
{
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10845
|
+
description: 'Error associated with the `device`.',
|
|
10846
|
+
oneOf: [
|
|
10847
|
+
{
|
|
10848
|
+
description: 'Device is offline',
|
|
10849
|
+
properties: {
|
|
10850
|
+
error_code: {
|
|
10851
|
+
description:
|
|
10852
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10853
|
+
enum: ['device_offline'],
|
|
10854
|
+
type: 'string',
|
|
10855
|
+
},
|
|
10856
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10857
|
+
message: { type: 'string' },
|
|
10858
|
+
},
|
|
10859
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10860
|
+
type: 'object',
|
|
10861
|
+
},
|
|
10862
|
+
{
|
|
10863
|
+
description: 'Device has been removed',
|
|
10864
|
+
properties: {
|
|
10865
|
+
error_code: {
|
|
10866
|
+
description:
|
|
10867
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10868
|
+
enum: ['device_removed'],
|
|
10869
|
+
type: 'string',
|
|
10870
|
+
},
|
|
10871
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10872
|
+
message: { type: 'string' },
|
|
10873
|
+
},
|
|
10874
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10875
|
+
type: 'object',
|
|
10876
|
+
},
|
|
10877
|
+
{
|
|
10878
|
+
description: 'Account is disconnected',
|
|
10879
|
+
properties: {
|
|
10880
|
+
error_code: {
|
|
10881
|
+
description:
|
|
10882
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10883
|
+
enum: ['account_disconnected'],
|
|
10884
|
+
type: 'string',
|
|
10885
|
+
},
|
|
10886
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10887
|
+
message: { type: 'string' },
|
|
10888
|
+
},
|
|
10889
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10890
|
+
type: 'object',
|
|
10891
|
+
},
|
|
10892
|
+
{
|
|
10893
|
+
description: 'Hub is disconnected',
|
|
10894
|
+
properties: {
|
|
10895
|
+
error_code: {
|
|
10896
|
+
description:
|
|
10897
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10898
|
+
enum: ['hub_disconnected'],
|
|
10899
|
+
type: 'string',
|
|
10900
|
+
},
|
|
10901
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10902
|
+
message: { type: 'string' },
|
|
10903
|
+
},
|
|
10904
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10905
|
+
type: 'object',
|
|
10906
|
+
},
|
|
10907
|
+
{
|
|
10908
|
+
description: 'Device is disconnected',
|
|
10909
|
+
properties: {
|
|
10910
|
+
error_code: {
|
|
10911
|
+
description:
|
|
10912
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10913
|
+
enum: ['device_disconnected'],
|
|
10914
|
+
type: 'string',
|
|
10915
|
+
},
|
|
10916
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10917
|
+
message: { type: 'string' },
|
|
10918
|
+
},
|
|
10919
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10920
|
+
type: 'object',
|
|
10921
|
+
},
|
|
10922
|
+
{
|
|
10923
|
+
description: 'The backup access code pool is empty.',
|
|
10924
|
+
properties: {
|
|
10925
|
+
error_code: {
|
|
10926
|
+
description:
|
|
10927
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10928
|
+
enum: ['empty_backup_access_code_pool'],
|
|
10929
|
+
type: 'string',
|
|
10930
|
+
},
|
|
10931
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10932
|
+
message: { type: 'string' },
|
|
10933
|
+
},
|
|
10934
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10935
|
+
type: 'object',
|
|
10936
|
+
},
|
|
10937
|
+
{
|
|
10938
|
+
description:
|
|
10939
|
+
'User is not authorized to use the August Lock.',
|
|
10940
|
+
properties: {
|
|
10941
|
+
error_code: {
|
|
10942
|
+
description:
|
|
10943
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10944
|
+
enum: ['august_lock_not_authorized'],
|
|
10945
|
+
type: 'string',
|
|
10946
|
+
},
|
|
10947
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10948
|
+
message: { type: 'string' },
|
|
10949
|
+
},
|
|
10950
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10951
|
+
type: 'object',
|
|
10952
|
+
},
|
|
10953
|
+
{
|
|
10954
|
+
description: 'Lock is not connected to the Seam Bridge.',
|
|
10955
|
+
properties: {
|
|
10956
|
+
error_code: {
|
|
10957
|
+
description:
|
|
10958
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10959
|
+
enum: ['august_lock_missing_bridge'],
|
|
10960
|
+
type: 'string',
|
|
10961
|
+
},
|
|
10962
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10963
|
+
message: { type: 'string' },
|
|
10964
|
+
},
|
|
10965
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10966
|
+
type: 'object',
|
|
10967
|
+
},
|
|
10968
|
+
{
|
|
10969
|
+
description: 'Salto site user limit reached.',
|
|
10970
|
+
properties: {
|
|
10971
|
+
error_code: {
|
|
10972
|
+
description:
|
|
10973
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10974
|
+
enum: ['salto_site_user_limit_reached'],
|
|
10975
|
+
type: 'string',
|
|
10976
|
+
},
|
|
10977
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10978
|
+
message: { type: 'string' },
|
|
10979
|
+
},
|
|
10980
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10981
|
+
type: 'object',
|
|
10982
|
+
},
|
|
10983
|
+
{
|
|
10984
|
+
description: 'Lock is not paired with a Gateway.',
|
|
10985
|
+
properties: {
|
|
10986
|
+
error_code: {
|
|
10987
|
+
description:
|
|
10988
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
10989
|
+
enum: ['ttlock_lock_not_paired_to_gateway'],
|
|
10990
|
+
type: 'string',
|
|
10991
|
+
},
|
|
10992
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
10993
|
+
message: { type: 'string' },
|
|
10994
|
+
},
|
|
10995
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
10996
|
+
type: 'object',
|
|
10997
|
+
},
|
|
10998
|
+
{
|
|
10999
|
+
description: 'Missing device credentials.',
|
|
11000
|
+
properties: {
|
|
11001
|
+
error_code: {
|
|
11002
|
+
description:
|
|
11003
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11004
|
+
enum: ['missing_device_credentials'],
|
|
11005
|
+
type: 'string',
|
|
11006
|
+
},
|
|
11007
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11008
|
+
message: { type: 'string' },
|
|
11009
|
+
},
|
|
11010
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11011
|
+
type: 'object',
|
|
11012
|
+
},
|
|
11013
|
+
{
|
|
11014
|
+
description: 'The auxiliary heat is running.',
|
|
11015
|
+
properties: {
|
|
11016
|
+
error_code: {
|
|
11017
|
+
description:
|
|
11018
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11019
|
+
enum: ['auxiliary_heat_running'],
|
|
11020
|
+
type: 'string',
|
|
11021
|
+
},
|
|
11022
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11023
|
+
message: { type: 'string' },
|
|
11024
|
+
},
|
|
11025
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11026
|
+
type: 'object',
|
|
11027
|
+
},
|
|
11028
|
+
{
|
|
11029
|
+
description: 'Subscription required to connect.',
|
|
11030
|
+
properties: {
|
|
11031
|
+
error_code: {
|
|
11032
|
+
description:
|
|
11033
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11034
|
+
enum: ['subscription_required'],
|
|
11035
|
+
type: 'string',
|
|
11036
|
+
},
|
|
11037
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11038
|
+
message: { type: 'string' },
|
|
11039
|
+
},
|
|
11040
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11041
|
+
type: 'object',
|
|
11042
|
+
},
|
|
11043
|
+
],
|
|
10276
11044
|
},
|
|
10277
11045
|
{
|
|
10278
11046
|
properties: {
|
|
@@ -10446,13 +11214,205 @@ export default {
|
|
|
10446
11214
|
items: {
|
|
10447
11215
|
oneOf: [
|
|
10448
11216
|
{
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
11217
|
+
description: 'Error associated with the `device`.',
|
|
11218
|
+
oneOf: [
|
|
11219
|
+
{
|
|
11220
|
+
description: 'Device is offline',
|
|
11221
|
+
properties: {
|
|
11222
|
+
error_code: {
|
|
11223
|
+
description:
|
|
11224
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11225
|
+
enum: ['device_offline'],
|
|
11226
|
+
type: 'string',
|
|
11227
|
+
},
|
|
11228
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11229
|
+
message: { type: 'string' },
|
|
11230
|
+
},
|
|
11231
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11232
|
+
type: 'object',
|
|
11233
|
+
},
|
|
11234
|
+
{
|
|
11235
|
+
description: 'Device has been removed',
|
|
11236
|
+
properties: {
|
|
11237
|
+
error_code: {
|
|
11238
|
+
description:
|
|
11239
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11240
|
+
enum: ['device_removed'],
|
|
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',
|
|
11248
|
+
},
|
|
11249
|
+
{
|
|
11250
|
+
description: 'Account is disconnected',
|
|
11251
|
+
properties: {
|
|
11252
|
+
error_code: {
|
|
11253
|
+
description:
|
|
11254
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11255
|
+
enum: ['account_disconnected'],
|
|
11256
|
+
type: 'string',
|
|
11257
|
+
},
|
|
11258
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11259
|
+
message: { type: 'string' },
|
|
11260
|
+
},
|
|
11261
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11262
|
+
type: 'object',
|
|
11263
|
+
},
|
|
11264
|
+
{
|
|
11265
|
+
description: 'Hub is disconnected',
|
|
11266
|
+
properties: {
|
|
11267
|
+
error_code: {
|
|
11268
|
+
description:
|
|
11269
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11270
|
+
enum: ['hub_disconnected'],
|
|
11271
|
+
type: 'string',
|
|
11272
|
+
},
|
|
11273
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11274
|
+
message: { type: 'string' },
|
|
11275
|
+
},
|
|
11276
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11277
|
+
type: 'object',
|
|
11278
|
+
},
|
|
11279
|
+
{
|
|
11280
|
+
description: 'Device is disconnected',
|
|
11281
|
+
properties: {
|
|
11282
|
+
error_code: {
|
|
11283
|
+
description:
|
|
11284
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11285
|
+
enum: ['device_disconnected'],
|
|
11286
|
+
type: 'string',
|
|
11287
|
+
},
|
|
11288
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11289
|
+
message: { type: 'string' },
|
|
11290
|
+
},
|
|
11291
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11292
|
+
type: 'object',
|
|
11293
|
+
},
|
|
11294
|
+
{
|
|
11295
|
+
description: 'The backup access code pool is empty.',
|
|
11296
|
+
properties: {
|
|
11297
|
+
error_code: {
|
|
11298
|
+
description:
|
|
11299
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11300
|
+
enum: ['empty_backup_access_code_pool'],
|
|
11301
|
+
type: 'string',
|
|
11302
|
+
},
|
|
11303
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11304
|
+
message: { type: 'string' },
|
|
11305
|
+
},
|
|
11306
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11307
|
+
type: 'object',
|
|
11308
|
+
},
|
|
11309
|
+
{
|
|
11310
|
+
description:
|
|
11311
|
+
'User is not authorized to use the August Lock.',
|
|
11312
|
+
properties: {
|
|
11313
|
+
error_code: {
|
|
11314
|
+
description:
|
|
11315
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11316
|
+
enum: ['august_lock_not_authorized'],
|
|
11317
|
+
type: 'string',
|
|
11318
|
+
},
|
|
11319
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11320
|
+
message: { type: 'string' },
|
|
11321
|
+
},
|
|
11322
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11323
|
+
type: 'object',
|
|
11324
|
+
},
|
|
11325
|
+
{
|
|
11326
|
+
description: 'Lock is not connected to the Seam Bridge.',
|
|
11327
|
+
properties: {
|
|
11328
|
+
error_code: {
|
|
11329
|
+
description:
|
|
11330
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11331
|
+
enum: ['august_lock_missing_bridge'],
|
|
11332
|
+
type: 'string',
|
|
11333
|
+
},
|
|
11334
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11335
|
+
message: { type: 'string' },
|
|
11336
|
+
},
|
|
11337
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11338
|
+
type: 'object',
|
|
11339
|
+
},
|
|
11340
|
+
{
|
|
11341
|
+
description: 'Salto site user limit reached.',
|
|
11342
|
+
properties: {
|
|
11343
|
+
error_code: {
|
|
11344
|
+
description:
|
|
11345
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11346
|
+
enum: ['salto_site_user_limit_reached'],
|
|
11347
|
+
type: 'string',
|
|
11348
|
+
},
|
|
11349
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11350
|
+
message: { type: 'string' },
|
|
11351
|
+
},
|
|
11352
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11353
|
+
type: 'object',
|
|
11354
|
+
},
|
|
11355
|
+
{
|
|
11356
|
+
description: 'Lock is not paired with a Gateway.',
|
|
11357
|
+
properties: {
|
|
11358
|
+
error_code: {
|
|
11359
|
+
description:
|
|
11360
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11361
|
+
enum: ['ttlock_lock_not_paired_to_gateway'],
|
|
11362
|
+
type: 'string',
|
|
11363
|
+
},
|
|
11364
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11365
|
+
message: { type: 'string' },
|
|
11366
|
+
},
|
|
11367
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11368
|
+
type: 'object',
|
|
11369
|
+
},
|
|
11370
|
+
{
|
|
11371
|
+
description: 'Missing device credentials.',
|
|
11372
|
+
properties: {
|
|
11373
|
+
error_code: {
|
|
11374
|
+
description:
|
|
11375
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11376
|
+
enum: ['missing_device_credentials'],
|
|
11377
|
+
type: 'string',
|
|
11378
|
+
},
|
|
11379
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11380
|
+
message: { type: 'string' },
|
|
11381
|
+
},
|
|
11382
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11383
|
+
type: 'object',
|
|
11384
|
+
},
|
|
11385
|
+
{
|
|
11386
|
+
description: 'The auxiliary heat is running.',
|
|
11387
|
+
properties: {
|
|
11388
|
+
error_code: {
|
|
11389
|
+
description:
|
|
11390
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11391
|
+
enum: ['auxiliary_heat_running'],
|
|
11392
|
+
type: 'string',
|
|
11393
|
+
},
|
|
11394
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11395
|
+
message: { type: 'string' },
|
|
11396
|
+
},
|
|
11397
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11398
|
+
type: 'object',
|
|
11399
|
+
},
|
|
11400
|
+
{
|
|
11401
|
+
description: 'Subscription required to connect.',
|
|
11402
|
+
properties: {
|
|
11403
|
+
error_code: {
|
|
11404
|
+
description:
|
|
11405
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11406
|
+
enum: ['subscription_required'],
|
|
11407
|
+
type: 'string',
|
|
11408
|
+
},
|
|
11409
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
11410
|
+
message: { type: 'string' },
|
|
11411
|
+
},
|
|
11412
|
+
required: ['message', 'is_device_error', 'error_code'],
|
|
11413
|
+
type: 'object',
|
|
11414
|
+
},
|
|
11415
|
+
],
|
|
10456
11416
|
},
|
|
10457
11417
|
{
|
|
10458
11418
|
properties: {
|