@seamapi/types 1.989.0 → 1.991.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +31 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -12
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +31 -26
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +12 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +103 -58
- package/lib/seam/connect/models/devices/device.js +18 -12
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +31 -21
- package/lib/seam/connect/openapi.js +142 -66
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +357 -206
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -13
- package/src/lib/seam/connect/models/acs/acs-system.ts +13 -0
- package/src/lib/seam/connect/models/devices/device.ts +21 -13
- package/src/lib/seam/connect/openapi.ts +162 -76
- package/src/lib/seam/connect/route-types.ts +384 -226
package/package.json
CHANGED
|
@@ -124,17 +124,6 @@ const no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
|
124
124
|
No space for access code on device.
|
|
125
125
|
`)
|
|
126
126
|
|
|
127
|
-
const insufficient_permissions = common_access_code_error.extend({
|
|
128
|
-
error_code: z
|
|
129
|
-
.literal('insufficient_permissions')
|
|
130
|
-
.describe(error_code_description),
|
|
131
|
-
}).describe(`
|
|
132
|
-
---
|
|
133
|
-
resource_type: access_code
|
|
134
|
-
---
|
|
135
|
-
Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.
|
|
136
|
-
`)
|
|
137
|
-
|
|
138
127
|
const access_code_inactive_error = common_access_code_error.extend({
|
|
139
128
|
error_code: z
|
|
140
129
|
.literal('access_code_inactive')
|
|
@@ -155,7 +144,6 @@ const access_code_error = z
|
|
|
155
144
|
no_space_for_access_code_on_device,
|
|
156
145
|
conflicting_external_modification_error,
|
|
157
146
|
access_code_inactive_error,
|
|
158
|
-
insufficient_permissions,
|
|
159
147
|
])
|
|
160
148
|
.describe(
|
|
161
149
|
'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
|
|
@@ -173,7 +161,6 @@ const _access_code_error_map = z.object({
|
|
|
173
161
|
.optional()
|
|
174
162
|
.nullable(),
|
|
175
163
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
176
|
-
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
177
164
|
conflicting_external_modification: conflicting_external_modification_error
|
|
178
165
|
.optional()
|
|
179
166
|
.nullable(),
|
|
@@ -150,12 +150,24 @@ const provider_service_unavailable = common_acs_system_error.extend({
|
|
|
150
150
|
Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.
|
|
151
151
|
`)
|
|
152
152
|
|
|
153
|
+
const insufficient_permissions = common_acs_system_error.extend({
|
|
154
|
+
error_code: z
|
|
155
|
+
.literal('insufficient_permissions')
|
|
156
|
+
.describe(error_code_description),
|
|
157
|
+
}).describe(`
|
|
158
|
+
---
|
|
159
|
+
resource_type: acs_system
|
|
160
|
+
---
|
|
161
|
+
Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://docs.seam.co/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.
|
|
162
|
+
`)
|
|
163
|
+
|
|
153
164
|
const acs_system_error = z
|
|
154
165
|
.discriminatedUnion('error_code', [
|
|
155
166
|
seam_bridge_disconnected,
|
|
156
167
|
bridge_disconnected,
|
|
157
168
|
visionline_instance_unreachable,
|
|
158
169
|
salto_ks_subscription_limit_exceeded,
|
|
170
|
+
insufficient_permissions,
|
|
159
171
|
acs_system_disconnected,
|
|
160
172
|
account_disconnected,
|
|
161
173
|
salto_ks_certification_expired,
|
|
@@ -174,6 +186,7 @@ const _acs_system_error_map = z.object({
|
|
|
174
186
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
175
187
|
.optional()
|
|
176
188
|
.nullable(),
|
|
189
|
+
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
177
190
|
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
178
191
|
account_disconnected: account_disconnected.optional().nullable(),
|
|
179
192
|
salto_ks_certification_expired: salto_ks_certification_expired
|
|
@@ -285,10 +285,30 @@ const subscription_required = common_device_error.extend({
|
|
|
285
285
|
Indicates that a subscription is required to connect.
|
|
286
286
|
`)
|
|
287
287
|
|
|
288
|
+
const insufficient_permissions = common_device_error.extend({
|
|
289
|
+
error_code: z
|
|
290
|
+
.literal('insufficient_permissions')
|
|
291
|
+
.describe(error_code_description),
|
|
292
|
+
is_connected_account_error: z
|
|
293
|
+
.literal(true)
|
|
294
|
+
.describe(
|
|
295
|
+
'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
296
|
+
),
|
|
297
|
+
is_device_error: z
|
|
298
|
+
.literal(false)
|
|
299
|
+
.describe('Indicates that the error is not a device error.'),
|
|
300
|
+
}).describe(`
|
|
301
|
+
---
|
|
302
|
+
resource_type: connected_account
|
|
303
|
+
---
|
|
304
|
+
Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.
|
|
305
|
+
`)
|
|
306
|
+
|
|
288
307
|
export const device_error = z
|
|
289
308
|
.discriminatedUnion('error_code', [
|
|
290
309
|
account_disconnected,
|
|
291
310
|
salto_ks_subscription_limit_exceeded,
|
|
311
|
+
insufficient_permissions,
|
|
292
312
|
dormakaba_sites_disconnected,
|
|
293
313
|
device_offline,
|
|
294
314
|
device_removed,
|
|
@@ -317,6 +337,7 @@ export const device_error_map = z.object({
|
|
|
317
337
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
318
338
|
.optional()
|
|
319
339
|
.nullable(),
|
|
340
|
+
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
320
341
|
dormakaba_sites_disconnected: dormakaba_sites_disconnected
|
|
321
342
|
.optional()
|
|
322
343
|
.nullable(),
|
|
@@ -636,17 +657,6 @@ const max_access_codes_reached = common_device_warning.extend({
|
|
|
636
657
|
Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.
|
|
637
658
|
`)
|
|
638
659
|
|
|
639
|
-
const insufficient_permissions = common_device_warning.extend({
|
|
640
|
-
warning_code: z
|
|
641
|
-
.literal('insufficient_permissions')
|
|
642
|
-
.describe(warning_code_description),
|
|
643
|
-
}).describe(`
|
|
644
|
-
---
|
|
645
|
-
variant_group_key: locks
|
|
646
|
-
---
|
|
647
|
-
Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.
|
|
648
|
-
`)
|
|
649
|
-
|
|
650
660
|
const device_warning = z.discriminatedUnion('warning_code', [
|
|
651
661
|
partial_backup_access_code_pool,
|
|
652
662
|
many_active_backup_codes,
|
|
@@ -675,7 +685,6 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
675
685
|
accessory_keypad_setup_required,
|
|
676
686
|
unreliable_online_status,
|
|
677
687
|
max_access_codes_reached,
|
|
678
|
-
insufficient_permissions,
|
|
679
688
|
])
|
|
680
689
|
|
|
681
690
|
export type DeviceWarning = z.infer<typeof device_warning>
|
|
@@ -734,7 +743,6 @@ export const device_warning_map = z.object({
|
|
|
734
743
|
.nullable(),
|
|
735
744
|
unreliable_online_status: unreliable_online_status.optional().nullable(),
|
|
736
745
|
max_access_codes_reached: max_access_codes_reached.optional().nullable(),
|
|
737
|
-
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
738
746
|
})
|
|
739
747
|
|
|
740
748
|
export type DeviceWarningMap = z.infer<typeof device_warning_map>
|
|
@@ -368,8 +368,7 @@ const openapi: OpenAPISpec = {
|
|
|
368
368
|
'x-resource-type': 'access_code',
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
description:
|
|
372
|
-
'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
371
|
+
description: 'Indicates that the account is disconnected.',
|
|
373
372
|
properties: {
|
|
374
373
|
created_at: {
|
|
375
374
|
description:
|
|
@@ -380,27 +379,40 @@ const openapi: OpenAPISpec = {
|
|
|
380
379
|
error_code: {
|
|
381
380
|
description:
|
|
382
381
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
383
|
-
enum: ['
|
|
382
|
+
enum: ['account_disconnected'],
|
|
384
383
|
type: 'string',
|
|
385
384
|
},
|
|
386
|
-
|
|
385
|
+
is_connected_account_error: {
|
|
387
386
|
description:
|
|
388
|
-
'Indicates that
|
|
387
|
+
'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
389
388
|
enum: [true],
|
|
390
389
|
type: 'boolean',
|
|
391
390
|
},
|
|
391
|
+
is_device_error: {
|
|
392
|
+
description:
|
|
393
|
+
'Indicates that the error is not a device error.',
|
|
394
|
+
enum: [false],
|
|
395
|
+
type: 'boolean',
|
|
396
|
+
},
|
|
392
397
|
message: {
|
|
393
398
|
description:
|
|
394
399
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
395
400
|
type: 'string',
|
|
396
401
|
},
|
|
397
402
|
},
|
|
398
|
-
required: [
|
|
403
|
+
required: [
|
|
404
|
+
'message',
|
|
405
|
+
'is_device_error',
|
|
406
|
+
'created_at',
|
|
407
|
+
'error_code',
|
|
408
|
+
'is_connected_account_error',
|
|
409
|
+
],
|
|
399
410
|
type: 'object',
|
|
400
|
-
'x-resource-type': '
|
|
411
|
+
'x-resource-type': 'connected_account',
|
|
401
412
|
},
|
|
402
413
|
{
|
|
403
|
-
description:
|
|
414
|
+
description:
|
|
415
|
+
'Indicates that the Salto site user limit has been reached.',
|
|
404
416
|
properties: {
|
|
405
417
|
created_at: {
|
|
406
418
|
description:
|
|
@@ -411,7 +423,7 @@ const openapi: OpenAPISpec = {
|
|
|
411
423
|
error_code: {
|
|
412
424
|
description:
|
|
413
425
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
414
|
-
enum: ['
|
|
426
|
+
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
415
427
|
type: 'string',
|
|
416
428
|
},
|
|
417
429
|
is_connected_account_error: {
|
|
@@ -441,10 +453,11 @@ const openapi: OpenAPISpec = {
|
|
|
441
453
|
],
|
|
442
454
|
type: 'object',
|
|
443
455
|
'x-resource-type': 'connected_account',
|
|
456
|
+
'x-variant-group-key': 'locks',
|
|
444
457
|
},
|
|
445
458
|
{
|
|
446
459
|
description:
|
|
447
|
-
|
|
460
|
+
"Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
448
461
|
properties: {
|
|
449
462
|
created_at: {
|
|
450
463
|
description:
|
|
@@ -455,7 +468,7 @@ const openapi: OpenAPISpec = {
|
|
|
455
468
|
error_code: {
|
|
456
469
|
description:
|
|
457
470
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
458
|
-
enum: ['
|
|
471
|
+
enum: ['insufficient_permissions'],
|
|
459
472
|
type: 'string',
|
|
460
473
|
},
|
|
461
474
|
is_connected_account_error: {
|
|
@@ -485,7 +498,6 @@ const openapi: OpenAPISpec = {
|
|
|
485
498
|
],
|
|
486
499
|
type: 'object',
|
|
487
500
|
'x-resource-type': 'connected_account',
|
|
488
|
-
'x-variant-group-key': 'locks',
|
|
489
501
|
},
|
|
490
502
|
{
|
|
491
503
|
description:
|
|
@@ -4576,6 +4588,32 @@ const openapi: OpenAPISpec = {
|
|
|
4576
4588
|
type: 'object',
|
|
4577
4589
|
'x-resource-type': 'acs_system',
|
|
4578
4590
|
},
|
|
4591
|
+
{
|
|
4592
|
+
description:
|
|
4593
|
+
"Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://docs.seam.co/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
4594
|
+
properties: {
|
|
4595
|
+
created_at: {
|
|
4596
|
+
description:
|
|
4597
|
+
'Date and time at which Seam created the error.',
|
|
4598
|
+
format: 'date-time',
|
|
4599
|
+
type: 'string',
|
|
4600
|
+
},
|
|
4601
|
+
error_code: {
|
|
4602
|
+
description:
|
|
4603
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4604
|
+
enum: ['insufficient_permissions'],
|
|
4605
|
+
type: 'string',
|
|
4606
|
+
},
|
|
4607
|
+
message: {
|
|
4608
|
+
description:
|
|
4609
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
4610
|
+
type: 'string',
|
|
4611
|
+
},
|
|
4612
|
+
},
|
|
4613
|
+
required: ['created_at', 'message', 'error_code'],
|
|
4614
|
+
type: 'object',
|
|
4615
|
+
'x-resource-type': 'acs_system',
|
|
4616
|
+
},
|
|
4579
4617
|
{
|
|
4580
4618
|
description:
|
|
4581
4619
|
'Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.',
|
|
@@ -13270,6 +13308,50 @@ const openapi: OpenAPISpec = {
|
|
|
13270
13308
|
'x-resource-type': 'connected_account',
|
|
13271
13309
|
'x-variant-group-key': 'locks',
|
|
13272
13310
|
},
|
|
13311
|
+
{
|
|
13312
|
+
description:
|
|
13313
|
+
"Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
13314
|
+
properties: {
|
|
13315
|
+
created_at: {
|
|
13316
|
+
description:
|
|
13317
|
+
'Date and time at which Seam created the error.',
|
|
13318
|
+
format: 'date-time',
|
|
13319
|
+
type: 'string',
|
|
13320
|
+
},
|
|
13321
|
+
error_code: {
|
|
13322
|
+
description:
|
|
13323
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13324
|
+
enum: ['insufficient_permissions'],
|
|
13325
|
+
type: 'string',
|
|
13326
|
+
},
|
|
13327
|
+
is_connected_account_error: {
|
|
13328
|
+
description:
|
|
13329
|
+
'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
13330
|
+
enum: [true],
|
|
13331
|
+
type: 'boolean',
|
|
13332
|
+
},
|
|
13333
|
+
is_device_error: {
|
|
13334
|
+
description:
|
|
13335
|
+
'Indicates that the error is not a device error.',
|
|
13336
|
+
enum: [false],
|
|
13337
|
+
type: 'boolean',
|
|
13338
|
+
},
|
|
13339
|
+
message: {
|
|
13340
|
+
description:
|
|
13341
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
13342
|
+
type: 'string',
|
|
13343
|
+
},
|
|
13344
|
+
},
|
|
13345
|
+
required: [
|
|
13346
|
+
'message',
|
|
13347
|
+
'is_device_error',
|
|
13348
|
+
'created_at',
|
|
13349
|
+
'error_code',
|
|
13350
|
+
'is_connected_account_error',
|
|
13351
|
+
],
|
|
13352
|
+
type: 'object',
|
|
13353
|
+
'x-resource-type': 'connected_account',
|
|
13354
|
+
},
|
|
13273
13355
|
{
|
|
13274
13356
|
description:
|
|
13275
13357
|
'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
|
|
@@ -17268,32 +17350,6 @@ const openapi: OpenAPISpec = {
|
|
|
17268
17350
|
type: 'object',
|
|
17269
17351
|
'x-variant-group-key': 'access_codes',
|
|
17270
17352
|
},
|
|
17271
|
-
{
|
|
17272
|
-
description:
|
|
17273
|
-
"Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
|
|
17274
|
-
properties: {
|
|
17275
|
-
created_at: {
|
|
17276
|
-
description:
|
|
17277
|
-
'Date and time at which Seam created the warning.',
|
|
17278
|
-
format: 'date-time',
|
|
17279
|
-
type: 'string',
|
|
17280
|
-
},
|
|
17281
|
-
message: {
|
|
17282
|
-
description:
|
|
17283
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
17284
|
-
type: 'string',
|
|
17285
|
-
},
|
|
17286
|
-
warning_code: {
|
|
17287
|
-
description:
|
|
17288
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
17289
|
-
enum: ['insufficient_permissions'],
|
|
17290
|
-
type: 'string',
|
|
17291
|
-
},
|
|
17292
|
-
},
|
|
17293
|
-
required: ['message', 'created_at', 'warning_code'],
|
|
17294
|
-
type: 'object',
|
|
17295
|
-
'x-variant-group-key': 'locks',
|
|
17296
|
-
},
|
|
17297
17353
|
],
|
|
17298
17354
|
},
|
|
17299
17355
|
type: 'array',
|
|
@@ -30047,8 +30103,7 @@ const openapi: OpenAPISpec = {
|
|
|
30047
30103
|
'x-resource-type': 'access_code',
|
|
30048
30104
|
},
|
|
30049
30105
|
{
|
|
30050
|
-
description:
|
|
30051
|
-
'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
30106
|
+
description: 'Indicates that the account is disconnected.',
|
|
30052
30107
|
properties: {
|
|
30053
30108
|
created_at: {
|
|
30054
30109
|
description:
|
|
@@ -30059,27 +30114,40 @@ const openapi: OpenAPISpec = {
|
|
|
30059
30114
|
error_code: {
|
|
30060
30115
|
description:
|
|
30061
30116
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30062
|
-
enum: ['
|
|
30117
|
+
enum: ['account_disconnected'],
|
|
30063
30118
|
type: 'string',
|
|
30064
30119
|
},
|
|
30065
|
-
|
|
30120
|
+
is_connected_account_error: {
|
|
30066
30121
|
description:
|
|
30067
|
-
'Indicates that
|
|
30122
|
+
'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
30068
30123
|
enum: [true],
|
|
30069
30124
|
type: 'boolean',
|
|
30070
30125
|
},
|
|
30126
|
+
is_device_error: {
|
|
30127
|
+
description:
|
|
30128
|
+
'Indicates that the error is not a device error.',
|
|
30129
|
+
enum: [false],
|
|
30130
|
+
type: 'boolean',
|
|
30131
|
+
},
|
|
30071
30132
|
message: {
|
|
30072
30133
|
description:
|
|
30073
30134
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30074
30135
|
type: 'string',
|
|
30075
30136
|
},
|
|
30076
30137
|
},
|
|
30077
|
-
required: [
|
|
30138
|
+
required: [
|
|
30139
|
+
'message',
|
|
30140
|
+
'is_device_error',
|
|
30141
|
+
'created_at',
|
|
30142
|
+
'error_code',
|
|
30143
|
+
'is_connected_account_error',
|
|
30144
|
+
],
|
|
30078
30145
|
type: 'object',
|
|
30079
|
-
'x-resource-type': '
|
|
30146
|
+
'x-resource-type': 'connected_account',
|
|
30080
30147
|
},
|
|
30081
30148
|
{
|
|
30082
|
-
description:
|
|
30149
|
+
description:
|
|
30150
|
+
'Indicates that the Salto site user limit has been reached.',
|
|
30083
30151
|
properties: {
|
|
30084
30152
|
created_at: {
|
|
30085
30153
|
description:
|
|
@@ -30090,7 +30158,7 @@ const openapi: OpenAPISpec = {
|
|
|
30090
30158
|
error_code: {
|
|
30091
30159
|
description:
|
|
30092
30160
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30093
|
-
enum: ['
|
|
30161
|
+
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
30094
30162
|
type: 'string',
|
|
30095
30163
|
},
|
|
30096
30164
|
is_connected_account_error: {
|
|
@@ -30120,10 +30188,11 @@ const openapi: OpenAPISpec = {
|
|
|
30120
30188
|
],
|
|
30121
30189
|
type: 'object',
|
|
30122
30190
|
'x-resource-type': 'connected_account',
|
|
30191
|
+
'x-variant-group-key': 'locks',
|
|
30123
30192
|
},
|
|
30124
30193
|
{
|
|
30125
30194
|
description:
|
|
30126
|
-
|
|
30195
|
+
"Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
30127
30196
|
properties: {
|
|
30128
30197
|
created_at: {
|
|
30129
30198
|
description:
|
|
@@ -30134,7 +30203,7 @@ const openapi: OpenAPISpec = {
|
|
|
30134
30203
|
error_code: {
|
|
30135
30204
|
description:
|
|
30136
30205
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30137
|
-
enum: ['
|
|
30206
|
+
enum: ['insufficient_permissions'],
|
|
30138
30207
|
type: 'string',
|
|
30139
30208
|
},
|
|
30140
30209
|
is_connected_account_error: {
|
|
@@ -30164,7 +30233,6 @@ const openapi: OpenAPISpec = {
|
|
|
30164
30233
|
],
|
|
30165
30234
|
type: 'object',
|
|
30166
30235
|
'x-resource-type': 'connected_account',
|
|
30167
|
-
'x-variant-group-key': 'locks',
|
|
30168
30236
|
},
|
|
30169
30237
|
{
|
|
30170
30238
|
description:
|
|
@@ -34241,6 +34309,50 @@ const openapi: OpenAPISpec = {
|
|
|
34241
34309
|
'x-resource-type': 'connected_account',
|
|
34242
34310
|
'x-variant-group-key': 'locks',
|
|
34243
34311
|
},
|
|
34312
|
+
{
|
|
34313
|
+
description:
|
|
34314
|
+
"Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
|
|
34315
|
+
properties: {
|
|
34316
|
+
created_at: {
|
|
34317
|
+
description:
|
|
34318
|
+
'Date and time at which Seam created the error.',
|
|
34319
|
+
format: 'date-time',
|
|
34320
|
+
type: 'string',
|
|
34321
|
+
},
|
|
34322
|
+
error_code: {
|
|
34323
|
+
description:
|
|
34324
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
34325
|
+
enum: ['insufficient_permissions'],
|
|
34326
|
+
type: 'string',
|
|
34327
|
+
},
|
|
34328
|
+
is_connected_account_error: {
|
|
34329
|
+
description:
|
|
34330
|
+
'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
|
|
34331
|
+
enum: [true],
|
|
34332
|
+
type: 'boolean',
|
|
34333
|
+
},
|
|
34334
|
+
is_device_error: {
|
|
34335
|
+
description:
|
|
34336
|
+
'Indicates that the error is not a device error.',
|
|
34337
|
+
enum: [false],
|
|
34338
|
+
type: 'boolean',
|
|
34339
|
+
},
|
|
34340
|
+
message: {
|
|
34341
|
+
description:
|
|
34342
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
34343
|
+
type: 'string',
|
|
34344
|
+
},
|
|
34345
|
+
},
|
|
34346
|
+
required: [
|
|
34347
|
+
'message',
|
|
34348
|
+
'is_device_error',
|
|
34349
|
+
'created_at',
|
|
34350
|
+
'error_code',
|
|
34351
|
+
'is_connected_account_error',
|
|
34352
|
+
],
|
|
34353
|
+
type: 'object',
|
|
34354
|
+
'x-resource-type': 'connected_account',
|
|
34355
|
+
},
|
|
34244
34356
|
{
|
|
34245
34357
|
description:
|
|
34246
34358
|
'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
|
|
@@ -35581,32 +35693,6 @@ const openapi: OpenAPISpec = {
|
|
|
35581
35693
|
type: 'object',
|
|
35582
35694
|
'x-variant-group-key': 'access_codes',
|
|
35583
35695
|
},
|
|
35584
|
-
{
|
|
35585
|
-
description:
|
|
35586
|
-
"Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
|
|
35587
|
-
properties: {
|
|
35588
|
-
created_at: {
|
|
35589
|
-
description:
|
|
35590
|
-
'Date and time at which Seam created the warning.',
|
|
35591
|
-
format: 'date-time',
|
|
35592
|
-
type: 'string',
|
|
35593
|
-
},
|
|
35594
|
-
message: {
|
|
35595
|
-
description:
|
|
35596
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
35597
|
-
type: 'string',
|
|
35598
|
-
},
|
|
35599
|
-
warning_code: {
|
|
35600
|
-
description:
|
|
35601
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
35602
|
-
enum: ['insufficient_permissions'],
|
|
35603
|
-
type: 'string',
|
|
35604
|
-
},
|
|
35605
|
-
},
|
|
35606
|
-
required: ['message', 'created_at', 'warning_code'],
|
|
35607
|
-
type: 'object',
|
|
35608
|
-
'x-variant-group-key': 'locks',
|
|
35609
|
-
},
|
|
35610
35696
|
],
|
|
35611
35697
|
},
|
|
35612
35698
|
type: 'array',
|