@seamapi/types 1.411.1 → 1.413.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 +139 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +336 -3
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +26 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +4 -1
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +87 -0
- package/lib/seam/connect/models/devices/device.js +9 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -0
- package/lib/seam/connect/openapi.d.ts +45 -0
- package/lib/seam/connect/openapi.js +125 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +168 -3
- package/package.json +2 -2
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -1
- package/src/lib/seam/connect/models/devices/device.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +138 -3
- package/src/lib/seam/connect/route-types.ts +192 -3
|
@@ -964,6 +964,26 @@ export default {
|
|
|
964
964
|
],
|
|
965
965
|
type: 'object',
|
|
966
966
|
},
|
|
967
|
+
{
|
|
968
|
+
description: 'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
969
|
+
properties: {
|
|
970
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
971
|
+
error_code: {
|
|
972
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
973
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
974
|
+
type: 'string',
|
|
975
|
+
},
|
|
976
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
977
|
+
message: { type: 'string' },
|
|
978
|
+
},
|
|
979
|
+
required: [
|
|
980
|
+
'message',
|
|
981
|
+
'is_device_error',
|
|
982
|
+
'created_at',
|
|
983
|
+
'error_code',
|
|
984
|
+
],
|
|
985
|
+
type: 'object',
|
|
986
|
+
},
|
|
967
987
|
{
|
|
968
988
|
description: 'Credentials provided were invalid.',
|
|
969
989
|
properties: {
|
|
@@ -6577,7 +6597,9 @@ export default {
|
|
|
6577
6597
|
expires_at: { format: 'date-time', type: 'string' },
|
|
6578
6598
|
token: { type: 'string' },
|
|
6579
6599
|
user_identifier_key: { nullable: true, type: 'string' },
|
|
6600
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
6580
6601
|
user_identity_ids: {
|
|
6602
|
+
description: 'deprecated: Use `user_identity_id`.',
|
|
6581
6603
|
items: { format: 'uuid', type: 'string' },
|
|
6582
6604
|
type: 'array',
|
|
6583
6605
|
},
|
|
@@ -7485,6 +7507,26 @@ export default {
|
|
|
7485
7507
|
],
|
|
7486
7508
|
type: 'object',
|
|
7487
7509
|
},
|
|
7510
|
+
{
|
|
7511
|
+
description: 'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
7512
|
+
properties: {
|
|
7513
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7514
|
+
error_code: {
|
|
7515
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
7516
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
7517
|
+
type: 'string',
|
|
7518
|
+
},
|
|
7519
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
7520
|
+
message: { type: 'string' },
|
|
7521
|
+
},
|
|
7522
|
+
required: [
|
|
7523
|
+
'message',
|
|
7524
|
+
'is_device_error',
|
|
7525
|
+
'created_at',
|
|
7526
|
+
'error_code',
|
|
7527
|
+
],
|
|
7528
|
+
type: 'object',
|
|
7529
|
+
},
|
|
7488
7530
|
{
|
|
7489
7531
|
description: 'Credentials provided were invalid.',
|
|
7490
7532
|
properties: {
|
|
@@ -16588,6 +16630,26 @@ export default {
|
|
|
16588
16630
|
],
|
|
16589
16631
|
type: 'object',
|
|
16590
16632
|
},
|
|
16633
|
+
{
|
|
16634
|
+
description: 'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
16635
|
+
properties: {
|
|
16636
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
16637
|
+
error_code: {
|
|
16638
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
16639
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
16640
|
+
type: 'string',
|
|
16641
|
+
},
|
|
16642
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
16643
|
+
message: { type: 'string' },
|
|
16644
|
+
},
|
|
16645
|
+
required: [
|
|
16646
|
+
'message',
|
|
16647
|
+
'is_device_error',
|
|
16648
|
+
'created_at',
|
|
16649
|
+
'error_code',
|
|
16650
|
+
],
|
|
16651
|
+
type: 'object',
|
|
16652
|
+
},
|
|
16591
16653
|
{
|
|
16592
16654
|
description: 'Credentials provided were invalid.',
|
|
16593
16655
|
properties: {
|
|
@@ -18344,6 +18406,26 @@ export default {
|
|
|
18344
18406
|
],
|
|
18345
18407
|
type: 'object',
|
|
18346
18408
|
},
|
|
18409
|
+
{
|
|
18410
|
+
description: 'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
18411
|
+
properties: {
|
|
18412
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
18413
|
+
error_code: {
|
|
18414
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
18415
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
18416
|
+
type: 'string',
|
|
18417
|
+
},
|
|
18418
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
18419
|
+
message: { type: 'string' },
|
|
18420
|
+
},
|
|
18421
|
+
required: [
|
|
18422
|
+
'message',
|
|
18423
|
+
'is_device_error',
|
|
18424
|
+
'created_at',
|
|
18425
|
+
'error_code',
|
|
18426
|
+
],
|
|
18427
|
+
type: 'object',
|
|
18428
|
+
},
|
|
18347
18429
|
{
|
|
18348
18430
|
description: 'Credentials provided were invalid.',
|
|
18349
18431
|
properties: {
|
|
@@ -25497,10 +25579,18 @@ export default {
|
|
|
25497
25579
|
minLength: 1,
|
|
25498
25580
|
type: 'string',
|
|
25499
25581
|
},
|
|
25582
|
+
user_identity_id: {
|
|
25583
|
+
description: 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
|
|
25584
|
+
type: 'string',
|
|
25585
|
+
},
|
|
25500
25586
|
user_identity_ids: {
|
|
25501
|
-
|
|
25587
|
+
deprecated: true,
|
|
25588
|
+
description: 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25502
25589
|
items: { type: 'string' },
|
|
25590
|
+
maxItems: 1,
|
|
25591
|
+
minItems: 1,
|
|
25503
25592
|
type: 'array',
|
|
25593
|
+
'x-deprecated': 'Use `user_identity_id`.',
|
|
25504
25594
|
},
|
|
25505
25595
|
},
|
|
25506
25596
|
type: 'object',
|
|
@@ -25573,10 +25663,18 @@ export default {
|
|
|
25573
25663
|
minLength: 1,
|
|
25574
25664
|
type: 'string',
|
|
25575
25665
|
},
|
|
25666
|
+
user_identity_id: {
|
|
25667
|
+
description: 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
|
|
25668
|
+
type: 'string',
|
|
25669
|
+
},
|
|
25576
25670
|
user_identity_ids: {
|
|
25577
|
-
|
|
25671
|
+
deprecated: true,
|
|
25672
|
+
description: 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25578
25673
|
items: { type: 'string' },
|
|
25674
|
+
maxItems: 1,
|
|
25675
|
+
minItems: 1,
|
|
25579
25676
|
type: 'array',
|
|
25677
|
+
'x-deprecated': 'Use `user_identity_id`.',
|
|
25580
25678
|
},
|
|
25581
25679
|
},
|
|
25582
25680
|
type: 'object',
|
|
@@ -25756,10 +25854,18 @@ export default {
|
|
|
25756
25854
|
minLength: 1,
|
|
25757
25855
|
type: 'string',
|
|
25758
25856
|
},
|
|
25857
|
+
user_identity_id: {
|
|
25858
|
+
description: 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).',
|
|
25859
|
+
type: 'string',
|
|
25860
|
+
},
|
|
25759
25861
|
user_identity_ids: {
|
|
25760
|
-
|
|
25862
|
+
deprecated: true,
|
|
25863
|
+
description: 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25761
25864
|
items: { type: 'string' },
|
|
25865
|
+
maxItems: 1,
|
|
25866
|
+
minItems: 1,
|
|
25762
25867
|
type: 'array',
|
|
25868
|
+
'x-deprecated': 'Use `user_identity_id`.',
|
|
25763
25869
|
},
|
|
25764
25870
|
},
|
|
25765
25871
|
type: 'object',
|
|
@@ -25830,10 +25936,18 @@ export default {
|
|
|
25830
25936
|
description: 'Your user ID for the user that you want to associate with the client session.',
|
|
25831
25937
|
type: 'string',
|
|
25832
25938
|
},
|
|
25939
|
+
user_identity_id: {
|
|
25940
|
+
description: 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25941
|
+
type: 'string',
|
|
25942
|
+
},
|
|
25833
25943
|
user_identity_ids: {
|
|
25944
|
+
deprecated: true,
|
|
25834
25945
|
description: 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25835
25946
|
items: { type: 'string' },
|
|
25947
|
+
maxItems: 1,
|
|
25948
|
+
minItems: 1,
|
|
25836
25949
|
type: 'array',
|
|
25950
|
+
'x-deprecated': 'Use `user_identity_id`.',
|
|
25837
25951
|
},
|
|
25838
25952
|
},
|
|
25839
25953
|
type: 'object',
|
|
@@ -25899,10 +26013,18 @@ export default {
|
|
|
25899
26013
|
description: 'Your user ID for the user that you want to associate with the client session.',
|
|
25900
26014
|
type: 'string',
|
|
25901
26015
|
},
|
|
26016
|
+
user_identity_id: {
|
|
26017
|
+
description: 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
26018
|
+
type: 'string',
|
|
26019
|
+
},
|
|
25902
26020
|
user_identity_ids: {
|
|
26021
|
+
deprecated: true,
|
|
25903
26022
|
description: 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
|
|
25904
26023
|
items: { type: 'string' },
|
|
26024
|
+
maxItems: 1,
|
|
26025
|
+
minItems: 1,
|
|
25905
26026
|
type: 'array',
|
|
26027
|
+
'x-deprecated': 'Use `user_identity_id`.',
|
|
25906
26028
|
},
|
|
25907
26029
|
},
|
|
25908
26030
|
type: 'object',
|