@seamapi/types 1.561.0 → 1.563.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 +159 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +478 -4
- package/dist/index.cjs +159 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -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 +26 -0
- package/lib/seam/connect/models/batch.d.ts +315 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +11 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +54 -0
- package/lib/seam/connect/models/events/connected-accounts.js +9 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +27 -1
- package/lib/seam/connect/openapi.js +132 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +236 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +14 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +150 -0
- package/src/lib/seam/connect/route-types.ts +269 -0
|
@@ -807,6 +807,37 @@ export default {
|
|
|
807
807
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
808
808
|
type: 'object',
|
|
809
809
|
},
|
|
810
|
+
{
|
|
811
|
+
description:
|
|
812
|
+
'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
|
|
813
|
+
properties: {
|
|
814
|
+
created_at: {
|
|
815
|
+
description:
|
|
816
|
+
'Date and time at which Seam created the error.',
|
|
817
|
+
format: 'date-time',
|
|
818
|
+
type: 'string',
|
|
819
|
+
},
|
|
820
|
+
error_code: {
|
|
821
|
+
description:
|
|
822
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
823
|
+
enum: ['kwikset_insufficient_permissions'],
|
|
824
|
+
type: 'string',
|
|
825
|
+
},
|
|
826
|
+
is_access_code_error: {
|
|
827
|
+
description:
|
|
828
|
+
'Indicates that this is an access code error.',
|
|
829
|
+
enum: [true],
|
|
830
|
+
type: 'boolean',
|
|
831
|
+
},
|
|
832
|
+
message: {
|
|
833
|
+
description:
|
|
834
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
835
|
+
type: 'string',
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
839
|
+
type: 'object',
|
|
840
|
+
},
|
|
810
841
|
{
|
|
811
842
|
description: 'Indicates that the account is disconnected.',
|
|
812
843
|
properties: {
|
|
@@ -9254,6 +9285,31 @@ export default {
|
|
|
9254
9285
|
],
|
|
9255
9286
|
type: 'object',
|
|
9256
9287
|
},
|
|
9288
|
+
{
|
|
9289
|
+
description:
|
|
9290
|
+
'Indicates that the Connected Account requires reauthorization using a new Connect Webview. The account is still connected, but cannot access new features. Delaying reauthorization too long will eventually cause the Connected Account to become disconnected.',
|
|
9291
|
+
properties: {
|
|
9292
|
+
created_at: {
|
|
9293
|
+
description:
|
|
9294
|
+
'Date and time at which Seam created the warning.',
|
|
9295
|
+
format: 'date-time',
|
|
9296
|
+
type: 'string',
|
|
9297
|
+
},
|
|
9298
|
+
message: {
|
|
9299
|
+
description:
|
|
9300
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
9301
|
+
type: 'string',
|
|
9302
|
+
},
|
|
9303
|
+
warning_code: {
|
|
9304
|
+
description:
|
|
9305
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
9306
|
+
enum: ['account_reauthorization_requested'],
|
|
9307
|
+
type: 'string',
|
|
9308
|
+
},
|
|
9309
|
+
},
|
|
9310
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
9311
|
+
type: 'object',
|
|
9312
|
+
},
|
|
9257
9313
|
],
|
|
9258
9314
|
},
|
|
9259
9315
|
type: 'array',
|
|
@@ -16247,6 +16303,61 @@ export default {
|
|
|
16247
16303
|
type: 'object',
|
|
16248
16304
|
'x-route-path': '/connected_accounts',
|
|
16249
16305
|
},
|
|
16306
|
+
{
|
|
16307
|
+
description:
|
|
16308
|
+
'A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) requires reauthorization using a new Connect Webview. The account is still connected, but cannot access new features. Delaying reauthorization too long will eventually cause the Connected Account to become disconnected.',
|
|
16309
|
+
properties: {
|
|
16310
|
+
connected_account_custom_metadata: {
|
|
16311
|
+
additionalProperties: {
|
|
16312
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
16313
|
+
},
|
|
16314
|
+
description:
|
|
16315
|
+
'Custom metadata of the connected account, present when connected_account_id is provided.',
|
|
16316
|
+
type: 'object',
|
|
16317
|
+
},
|
|
16318
|
+
connected_account_id: {
|
|
16319
|
+
description:
|
|
16320
|
+
'ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
16321
|
+
format: 'uuid',
|
|
16322
|
+
type: 'string',
|
|
16323
|
+
},
|
|
16324
|
+
created_at: {
|
|
16325
|
+
description: 'Date and time at which the event was created.',
|
|
16326
|
+
format: 'date-time',
|
|
16327
|
+
type: 'string',
|
|
16328
|
+
},
|
|
16329
|
+
event_id: {
|
|
16330
|
+
description: 'ID of the event.',
|
|
16331
|
+
format: 'uuid',
|
|
16332
|
+
type: 'string',
|
|
16333
|
+
},
|
|
16334
|
+
event_type: {
|
|
16335
|
+
enum: ['connected_account.reauthorization_requested'],
|
|
16336
|
+
type: 'string',
|
|
16337
|
+
},
|
|
16338
|
+
occurred_at: {
|
|
16339
|
+
description: 'Date and time at which the event occurred.',
|
|
16340
|
+
format: 'date-time',
|
|
16341
|
+
type: 'string',
|
|
16342
|
+
},
|
|
16343
|
+
workspace_id: {
|
|
16344
|
+
description:
|
|
16345
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
16346
|
+
format: 'uuid',
|
|
16347
|
+
type: 'string',
|
|
16348
|
+
},
|
|
16349
|
+
},
|
|
16350
|
+
required: [
|
|
16351
|
+
'event_id',
|
|
16352
|
+
'workspace_id',
|
|
16353
|
+
'created_at',
|
|
16354
|
+
'occurred_at',
|
|
16355
|
+
'connected_account_id',
|
|
16356
|
+
'event_type',
|
|
16357
|
+
],
|
|
16358
|
+
type: 'object',
|
|
16359
|
+
'x-route-path': '/connected_accounts',
|
|
16360
|
+
},
|
|
16250
16361
|
{
|
|
16251
16362
|
description:
|
|
16252
16363
|
'A lock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.',
|
|
@@ -21663,6 +21774,37 @@ export default {
|
|
|
21663
21774
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
21664
21775
|
type: 'object',
|
|
21665
21776
|
},
|
|
21777
|
+
{
|
|
21778
|
+
description:
|
|
21779
|
+
'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
|
|
21780
|
+
properties: {
|
|
21781
|
+
created_at: {
|
|
21782
|
+
description:
|
|
21783
|
+
'Date and time at which Seam created the error.',
|
|
21784
|
+
format: 'date-time',
|
|
21785
|
+
type: 'string',
|
|
21786
|
+
},
|
|
21787
|
+
error_code: {
|
|
21788
|
+
description:
|
|
21789
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
21790
|
+
enum: ['kwikset_insufficient_permissions'],
|
|
21791
|
+
type: 'string',
|
|
21792
|
+
},
|
|
21793
|
+
is_access_code_error: {
|
|
21794
|
+
description:
|
|
21795
|
+
'Indicates that this is an access code error.',
|
|
21796
|
+
enum: [true],
|
|
21797
|
+
type: 'boolean',
|
|
21798
|
+
},
|
|
21799
|
+
message: {
|
|
21800
|
+
description:
|
|
21801
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
21802
|
+
type: 'string',
|
|
21803
|
+
},
|
|
21804
|
+
},
|
|
21805
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
21806
|
+
type: 'object',
|
|
21807
|
+
},
|
|
21666
21808
|
{
|
|
21667
21809
|
description: 'Indicates that the account is disconnected.',
|
|
21668
21810
|
properties: {
|
|
@@ -43413,6 +43555,7 @@ export default {
|
|
|
43413
43555
|
'connected_account.completed_first_sync',
|
|
43414
43556
|
'connected_account.deleted',
|
|
43415
43557
|
'connected_account.completed_first_sync_after_reconnection',
|
|
43558
|
+
'connected_account.reauthorization_requested',
|
|
43416
43559
|
'action_attempt.lock_door.succeeded',
|
|
43417
43560
|
'action_attempt.lock_door.failed',
|
|
43418
43561
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -43515,6 +43658,7 @@ export default {
|
|
|
43515
43658
|
'connected_account.completed_first_sync',
|
|
43516
43659
|
'connected_account.deleted',
|
|
43517
43660
|
'connected_account.completed_first_sync_after_reconnection',
|
|
43661
|
+
'connected_account.reauthorization_requested',
|
|
43518
43662
|
'action_attempt.lock_door.succeeded',
|
|
43519
43663
|
'action_attempt.lock_door.failed',
|
|
43520
43664
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -43772,6 +43916,7 @@ export default {
|
|
|
43772
43916
|
'connected_account.completed_first_sync',
|
|
43773
43917
|
'connected_account.deleted',
|
|
43774
43918
|
'connected_account.completed_first_sync_after_reconnection',
|
|
43919
|
+
'connected_account.reauthorization_requested',
|
|
43775
43920
|
'action_attempt.lock_door.succeeded',
|
|
43776
43921
|
'action_attempt.lock_door.failed',
|
|
43777
43922
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -43870,6 +44015,7 @@ export default {
|
|
|
43870
44015
|
'connected_account.completed_first_sync',
|
|
43871
44016
|
'connected_account.deleted',
|
|
43872
44017
|
'connected_account.completed_first_sync_after_reconnection',
|
|
44018
|
+
'connected_account.reauthorization_requested',
|
|
43873
44019
|
'action_attempt.lock_door.succeeded',
|
|
43874
44020
|
'action_attempt.lock_door.failed',
|
|
43875
44021
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -49045,6 +49191,7 @@ export default {
|
|
|
49045
49191
|
'connected_account.completed_first_sync',
|
|
49046
49192
|
'connected_account.deleted',
|
|
49047
49193
|
'connected_account.completed_first_sync_after_reconnection',
|
|
49194
|
+
'connected_account.reauthorization_requested',
|
|
49048
49195
|
'action_attempt.lock_door.succeeded',
|
|
49049
49196
|
'action_attempt.lock_door.failed',
|
|
49050
49197
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -49148,6 +49295,7 @@ export default {
|
|
|
49148
49295
|
'connected_account.completed_first_sync',
|
|
49149
49296
|
'connected_account.deleted',
|
|
49150
49297
|
'connected_account.completed_first_sync_after_reconnection',
|
|
49298
|
+
'connected_account.reauthorization_requested',
|
|
49151
49299
|
'action_attempt.lock_door.succeeded',
|
|
49152
49300
|
'action_attempt.lock_door.failed',
|
|
49153
49301
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -49314,6 +49462,7 @@ export default {
|
|
|
49314
49462
|
'connected_account.completed_first_sync',
|
|
49315
49463
|
'connected_account.deleted',
|
|
49316
49464
|
'connected_account.completed_first_sync_after_reconnection',
|
|
49465
|
+
'connected_account.reauthorization_requested',
|
|
49317
49466
|
'action_attempt.lock_door.succeeded',
|
|
49318
49467
|
'action_attempt.lock_door.failed',
|
|
49319
49468
|
'action_attempt.unlock_door.succeeded',
|
|
@@ -49412,6 +49561,7 @@ export default {
|
|
|
49412
49561
|
'connected_account.completed_first_sync',
|
|
49413
49562
|
'connected_account.deleted',
|
|
49414
49563
|
'connected_account.completed_first_sync_after_reconnection',
|
|
49564
|
+
'connected_account.reauthorization_requested',
|
|
49415
49565
|
'action_attempt.lock_door.succeeded',
|
|
49416
49566
|
'action_attempt.lock_door.failed',
|
|
49417
49567
|
'action_attempt.unlock_door.succeeded',
|