@seamapi/types 1.406.4 → 1.406.6
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 +110 -58
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +120 -72
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +4 -3
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +89 -59
- package/lib/seam/connect/openapi.js +100 -49
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -13
- package/package.json +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -3
- package/src/lib/seam/connect/openapi.ts +111 -49
- package/src/lib/seam/connect/route-types.ts +28 -13
|
@@ -21,11 +21,11 @@ export interface Routes {
|
|
|
21
21
|
common_code_key?: string | undefined
|
|
22
22
|
/** Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`. */
|
|
23
23
|
prefer_native_scheduling?: boolean | undefined
|
|
24
|
-
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api
|
|
24
|
+
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code). */
|
|
25
25
|
use_backup_access_code_pool?: boolean | undefined
|
|
26
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
26
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
27
27
|
allow_external_modification?: boolean | undefined
|
|
28
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
28
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
29
29
|
is_external_modification_allowed?: boolean | undefined
|
|
30
30
|
/** Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length. */
|
|
31
31
|
preferred_code_length?: number | undefined
|
|
@@ -1872,11 +1872,11 @@ export interface Routes {
|
|
|
1872
1872
|
attempt_for_offline_device?: boolean
|
|
1873
1873
|
/** Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`. */
|
|
1874
1874
|
prefer_native_scheduling?: boolean | undefined
|
|
1875
|
-
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api
|
|
1875
|
+
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code). */
|
|
1876
1876
|
use_backup_access_code_pool?: boolean | undefined
|
|
1877
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
1877
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
1878
1878
|
allow_external_modification?: boolean | undefined
|
|
1879
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
1879
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
1880
1880
|
is_external_modification_allowed?: boolean | undefined
|
|
1881
1881
|
use_offline_access_code?: boolean | undefined
|
|
1882
1882
|
/** Indicates whether the access code is an [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes). */
|
|
@@ -8769,11 +8769,11 @@ export interface Routes {
|
|
|
8769
8769
|
attempt_for_offline_device?: boolean
|
|
8770
8770
|
/** Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`. */
|
|
8771
8771
|
prefer_native_scheduling?: boolean | undefined
|
|
8772
|
-
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api
|
|
8772
|
+
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code). */
|
|
8773
8773
|
use_backup_access_code_pool?: boolean | undefined
|
|
8774
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
8774
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
8775
8775
|
allow_external_modification?: boolean | undefined
|
|
8776
|
-
/** Indicates whether [external modification](https://docs.seam.co/latest/
|
|
8776
|
+
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
8777
8777
|
is_external_modification_allowed?: boolean | undefined
|
|
8778
8778
|
/** Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length. */
|
|
8779
8779
|
preferred_code_length?: number | undefined
|
|
@@ -21538,6 +21538,7 @@ export interface Routes {
|
|
|
21538
21538
|
token: string
|
|
21539
21539
|
user_identifier_key: string | null
|
|
21540
21540
|
device_count: number
|
|
21541
|
+
customer_id?: string | undefined
|
|
21541
21542
|
connected_account_ids: string[]
|
|
21542
21543
|
connect_webview_ids: string[]
|
|
21543
21544
|
user_identity_ids: string[]
|
|
@@ -21586,6 +21587,7 @@ export interface Routes {
|
|
|
21586
21587
|
token: string
|
|
21587
21588
|
user_identifier_key: string | null
|
|
21588
21589
|
device_count: number
|
|
21590
|
+
customer_id?: string | undefined
|
|
21589
21591
|
connected_account_ids: string[]
|
|
21590
21592
|
connect_webview_ids: string[]
|
|
21591
21593
|
user_identity_ids: string[]
|
|
@@ -21628,6 +21630,7 @@ export interface Routes {
|
|
|
21628
21630
|
token: string
|
|
21629
21631
|
user_identifier_key: string | null
|
|
21630
21632
|
device_count: number
|
|
21633
|
+
customer_id?: string | undefined
|
|
21631
21634
|
connected_account_ids: string[]
|
|
21632
21635
|
connect_webview_ids: string[]
|
|
21633
21636
|
user_identity_ids: string[]
|
|
@@ -21670,6 +21673,7 @@ export interface Routes {
|
|
|
21670
21673
|
token: string
|
|
21671
21674
|
user_identifier_key: string | null
|
|
21672
21675
|
device_count: number
|
|
21676
|
+
customer_id?: string | undefined
|
|
21673
21677
|
connected_account_ids: string[]
|
|
21674
21678
|
connect_webview_ids: string[]
|
|
21675
21679
|
user_identity_ids: string[]
|
|
@@ -21703,6 +21707,7 @@ export interface Routes {
|
|
|
21703
21707
|
token: string
|
|
21704
21708
|
user_identifier_key: string | null
|
|
21705
21709
|
device_count: number
|
|
21710
|
+
customer_id?: string | undefined
|
|
21706
21711
|
connected_account_ids: string[]
|
|
21707
21712
|
connect_webview_ids: string[]
|
|
21708
21713
|
user_identity_ids: string[]
|
|
@@ -21946,7 +21951,7 @@ export interface Routes {
|
|
|
21946
21951
|
queryParams: {}
|
|
21947
21952
|
jsonBody: {}
|
|
21948
21953
|
commonParams: {
|
|
21949
|
-
|
|
21954
|
+
customer_ids?: string[] | undefined
|
|
21950
21955
|
/** Your user ID for the user by which you want to filter Connect Webviews. */
|
|
21951
21956
|
user_identifier_key?: string | undefined
|
|
21952
21957
|
/** Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
@@ -29940,7 +29945,9 @@ export interface Routes {
|
|
|
29940
29945
|
queryParams: {}
|
|
29941
29946
|
jsonBody: {}
|
|
29942
29947
|
commonParams: {
|
|
29948
|
+
/** ID of the lock that you want to get. */
|
|
29943
29949
|
device_id?: string | undefined
|
|
29950
|
+
/** Name of the lock that you want to get. */
|
|
29944
29951
|
name?: string | undefined
|
|
29945
29952
|
}
|
|
29946
29953
|
formData: {}
|
|
@@ -32838,7 +32845,7 @@ export interface Routes {
|
|
|
32838
32845
|
connected_account_ids?: string[] | undefined
|
|
32839
32846
|
/** ID of the Connect Webview for which you want to list devices. */
|
|
32840
32847
|
connect_webview_id?: string | undefined
|
|
32841
|
-
/** Device type
|
|
32848
|
+
/** Device type of the locks that you want to list. */
|
|
32842
32849
|
device_type?:
|
|
32843
32850
|
| (
|
|
32844
32851
|
| 'akuvox_lock'
|
|
@@ -32870,7 +32877,7 @@ export interface Routes {
|
|
|
32870
32877
|
| 'akiles_lock'
|
|
32871
32878
|
)
|
|
32872
32879
|
| undefined
|
|
32873
|
-
/**
|
|
32880
|
+
/** Device types of the locks that you want to list. */
|
|
32874
32881
|
device_types?:
|
|
32875
32882
|
| Array<
|
|
32876
32883
|
| 'akuvox_lock'
|
|
@@ -32902,7 +32909,7 @@ export interface Routes {
|
|
|
32902
32909
|
| 'akiles_lock'
|
|
32903
32910
|
>
|
|
32904
32911
|
| undefined
|
|
32905
|
-
/** Manufacturer
|
|
32912
|
+
/** Manufacturer of the locks that you want to list. */
|
|
32906
32913
|
manufacturer?:
|
|
32907
32914
|
| (
|
|
32908
32915
|
| 'akuvox'
|
|
@@ -35867,7 +35874,9 @@ export interface Routes {
|
|
|
35867
35874
|
method: 'POST'
|
|
35868
35875
|
queryParams: {}
|
|
35869
35876
|
jsonBody: {
|
|
35877
|
+
/** ID of the lock that you want to lock. */
|
|
35870
35878
|
device_id: string
|
|
35879
|
+
/** */
|
|
35871
35880
|
sync?: boolean
|
|
35872
35881
|
}
|
|
35873
35882
|
commonParams: {}
|
|
@@ -37172,7 +37181,9 @@ export interface Routes {
|
|
|
37172
37181
|
method: 'POST'
|
|
37173
37182
|
queryParams: {}
|
|
37174
37183
|
jsonBody: {
|
|
37184
|
+
/** ID of the device for which you want to simulate a keypad code entry. */
|
|
37175
37185
|
device_id: string
|
|
37186
|
+
/** Code that you want to simulate entering on a keypad. */
|
|
37176
37187
|
code: string
|
|
37177
37188
|
}
|
|
37178
37189
|
commonParams: {}
|
|
@@ -38477,6 +38488,7 @@ export interface Routes {
|
|
|
38477
38488
|
method: 'POST'
|
|
38478
38489
|
queryParams: {}
|
|
38479
38490
|
jsonBody: {
|
|
38491
|
+
/** ID of the device for which you want to simulate a manual lock action using a keypad. */
|
|
38480
38492
|
device_id: string
|
|
38481
38493
|
}
|
|
38482
38494
|
commonParams: {}
|
|
@@ -39781,7 +39793,9 @@ export interface Routes {
|
|
|
39781
39793
|
method: 'POST'
|
|
39782
39794
|
queryParams: {}
|
|
39783
39795
|
jsonBody: {
|
|
39796
|
+
/** ID of the lock that you want to unlock. */
|
|
39784
39797
|
device_id: string
|
|
39798
|
+
/** */
|
|
39785
39799
|
sync?: boolean
|
|
39786
39800
|
}
|
|
39787
39801
|
commonParams: {}
|
|
@@ -48580,6 +48594,7 @@ export interface Routes {
|
|
|
48580
48594
|
token: string
|
|
48581
48595
|
user_identifier_key: string | null
|
|
48582
48596
|
device_count: number
|
|
48597
|
+
customer_id?: string | undefined
|
|
48583
48598
|
connected_account_ids: string[]
|
|
48584
48599
|
connect_webview_ids: string[]
|
|
48585
48600
|
user_identity_ids: string[]
|