@seamapi/types 1.393.0 → 1.395.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 +143 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +332 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +142 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +20 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +52 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +6 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +14 -0
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +24 -0
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +6 -0
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +142 -0
- package/src/lib/seam/connect/route-types.ts +194 -0
|
@@ -224,6 +224,32 @@ export default {
|
|
|
224
224
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
225
225
|
type: 'object',
|
|
226
226
|
},
|
|
227
|
+
{
|
|
228
|
+
description: 'No space for access code on device.',
|
|
229
|
+
properties: {
|
|
230
|
+
created_at: {
|
|
231
|
+
description: 'Date and time at which Seam created the error.',
|
|
232
|
+
format: 'date-time',
|
|
233
|
+
type: 'string',
|
|
234
|
+
},
|
|
235
|
+
error_code: {
|
|
236
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
237
|
+
enum: ['no_space_for_access_code_on_device'],
|
|
238
|
+
type: 'string',
|
|
239
|
+
},
|
|
240
|
+
is_access_code_error: {
|
|
241
|
+
description: 'Indicates that this is an access code error.',
|
|
242
|
+
enum: [true],
|
|
243
|
+
type: 'boolean',
|
|
244
|
+
},
|
|
245
|
+
message: {
|
|
246
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
247
|
+
type: 'string',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
251
|
+
type: 'object',
|
|
252
|
+
},
|
|
227
253
|
{
|
|
228
254
|
description: 'Igloohome bridge has too many pending jobs in the queue.',
|
|
229
255
|
properties: {
|
|
@@ -304,6 +330,34 @@ export default {
|
|
|
304
330
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
305
331
|
type: 'object',
|
|
306
332
|
},
|
|
333
|
+
{
|
|
334
|
+
description: 'Lock has reached maximum amount of codes.',
|
|
335
|
+
properties: {
|
|
336
|
+
created_at: {
|
|
337
|
+
description: 'Date and time at which Seam created the error.',
|
|
338
|
+
format: 'date-time',
|
|
339
|
+
type: 'string',
|
|
340
|
+
},
|
|
341
|
+
error_code: {
|
|
342
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
343
|
+
enum: [
|
|
344
|
+
'schlage_lock_exceeds_maximum_number_of_access_codes',
|
|
345
|
+
],
|
|
346
|
+
type: 'string',
|
|
347
|
+
},
|
|
348
|
+
is_access_code_error: {
|
|
349
|
+
description: 'Indicates that this is an access code error.',
|
|
350
|
+
enum: [true],
|
|
351
|
+
type: 'boolean',
|
|
352
|
+
},
|
|
353
|
+
message: {
|
|
354
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
355
|
+
type: 'string',
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
359
|
+
type: 'object',
|
|
360
|
+
},
|
|
307
361
|
{
|
|
308
362
|
description: 'Unable to confirm that the access code is set on Kwikset device.',
|
|
309
363
|
properties: {
|
|
@@ -2596,6 +2650,13 @@ export default {
|
|
|
2596
2650
|
description: 'Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users).',
|
|
2597
2651
|
type: 'boolean',
|
|
2598
2652
|
},
|
|
2653
|
+
last_successful_sync_at: {
|
|
2654
|
+
description: 'The last time an internal sync job completed for this ACS user.',
|
|
2655
|
+
format: 'date-time',
|
|
2656
|
+
nullable: true,
|
|
2657
|
+
type: 'string',
|
|
2658
|
+
'x-undocumented': 'Only used internally.',
|
|
2659
|
+
},
|
|
2599
2660
|
pending_mutations: {
|
|
2600
2661
|
description: 'Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system.',
|
|
2601
2662
|
items: {
|
|
@@ -2958,6 +3019,7 @@ export default {
|
|
|
2958
3019
|
'display_name',
|
|
2959
3020
|
'warnings',
|
|
2960
3021
|
'errors',
|
|
3022
|
+
'last_successful_sync_at',
|
|
2961
3023
|
'is_managed',
|
|
2962
3024
|
],
|
|
2963
3025
|
type: 'object',
|
|
@@ -14089,6 +14151,32 @@ export default {
|
|
|
14089
14151
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
14090
14152
|
type: 'object',
|
|
14091
14153
|
},
|
|
14154
|
+
{
|
|
14155
|
+
description: 'No space for access code on device.',
|
|
14156
|
+
properties: {
|
|
14157
|
+
created_at: {
|
|
14158
|
+
description: 'Date and time at which Seam created the error.',
|
|
14159
|
+
format: 'date-time',
|
|
14160
|
+
type: 'string',
|
|
14161
|
+
},
|
|
14162
|
+
error_code: {
|
|
14163
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
14164
|
+
enum: ['no_space_for_access_code_on_device'],
|
|
14165
|
+
type: 'string',
|
|
14166
|
+
},
|
|
14167
|
+
is_access_code_error: {
|
|
14168
|
+
description: 'Indicates that this is an access code error.',
|
|
14169
|
+
enum: [true],
|
|
14170
|
+
type: 'boolean',
|
|
14171
|
+
},
|
|
14172
|
+
message: {
|
|
14173
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
14174
|
+
type: 'string',
|
|
14175
|
+
},
|
|
14176
|
+
},
|
|
14177
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
14178
|
+
type: 'object',
|
|
14179
|
+
},
|
|
14092
14180
|
{
|
|
14093
14181
|
description: 'Igloohome bridge has too many pending jobs in the queue.',
|
|
14094
14182
|
properties: {
|
|
@@ -14169,6 +14257,34 @@ export default {
|
|
|
14169
14257
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
14170
14258
|
type: 'object',
|
|
14171
14259
|
},
|
|
14260
|
+
{
|
|
14261
|
+
description: 'Lock has reached maximum amount of codes.',
|
|
14262
|
+
properties: {
|
|
14263
|
+
created_at: {
|
|
14264
|
+
description: 'Date and time at which Seam created the error.',
|
|
14265
|
+
format: 'date-time',
|
|
14266
|
+
type: 'string',
|
|
14267
|
+
},
|
|
14268
|
+
error_code: {
|
|
14269
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
14270
|
+
enum: [
|
|
14271
|
+
'schlage_lock_exceeds_maximum_number_of_access_codes',
|
|
14272
|
+
],
|
|
14273
|
+
type: 'string',
|
|
14274
|
+
},
|
|
14275
|
+
is_access_code_error: {
|
|
14276
|
+
description: 'Indicates that this is an access code error.',
|
|
14277
|
+
enum: [true],
|
|
14278
|
+
type: 'boolean',
|
|
14279
|
+
},
|
|
14280
|
+
message: {
|
|
14281
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
14282
|
+
type: 'string',
|
|
14283
|
+
},
|
|
14284
|
+
},
|
|
14285
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
14286
|
+
type: 'object',
|
|
14287
|
+
},
|
|
14172
14288
|
{
|
|
14173
14289
|
description: 'Unable to confirm that the access code is set on Kwikset device.',
|
|
14174
14290
|
properties: {
|
|
@@ -15774,6 +15890,13 @@ export default {
|
|
|
15774
15890
|
description: 'Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users).',
|
|
15775
15891
|
type: 'boolean',
|
|
15776
15892
|
},
|
|
15893
|
+
last_successful_sync_at: {
|
|
15894
|
+
description: 'The last time an internal sync job completed for this ACS user.',
|
|
15895
|
+
format: 'date-time',
|
|
15896
|
+
nullable: true,
|
|
15897
|
+
type: 'string',
|
|
15898
|
+
'x-undocumented': 'Only used internally.',
|
|
15899
|
+
},
|
|
15777
15900
|
pending_mutations: {
|
|
15778
15901
|
description: 'Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system.',
|
|
15779
15902
|
items: {
|
|
@@ -16136,6 +16259,7 @@ export default {
|
|
|
16136
16259
|
'display_name',
|
|
16137
16260
|
'warnings',
|
|
16138
16261
|
'errors',
|
|
16262
|
+
'last_successful_sync_at',
|
|
16139
16263
|
'is_managed',
|
|
16140
16264
|
],
|
|
16141
16265
|
type: 'object',
|