@seamapi/types 1.985.0 → 1.986.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/acs/acs-entrance.js +7 -4
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.js +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +5 -4
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +12 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/openapi.js +32 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +69 -261
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -9
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -1
- package/src/lib/seam/connect/models/events/connected-accounts.ts +5 -4
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +33 -16
- package/src/lib/seam/connect/route-types.ts +69 -261
|
@@ -11890,7 +11890,7 @@ export type Routes = {
|
|
|
11890
11890
|
model_number?: (string | undefined) | undefined;
|
|
11891
11891
|
} | undefined;
|
|
11892
11892
|
/** Metada for a Salto device.
|
|
11893
|
-
* @deprecated Use `salto_ks_metadata
|
|
11893
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
11894
11894
|
salto_metadata?: {
|
|
11895
11895
|
/** Lock ID for a Salto device. */
|
|
11896
11896
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -18790,7 +18790,7 @@ export type Routes = {
|
|
|
18790
18790
|
model_number?: (string | undefined) | undefined;
|
|
18791
18791
|
} | undefined;
|
|
18792
18792
|
/** Metada for a Salto device.
|
|
18793
|
-
* @deprecated Use `salto_ks_metadata
|
|
18793
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
18794
18794
|
salto_metadata?: {
|
|
18795
18795
|
/** Lock ID for a Salto device. */
|
|
18796
18796
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -42080,7 +42080,7 @@ export type Routes = {
|
|
|
42080
42080
|
model_number?: (string | undefined) | undefined;
|
|
42081
42081
|
} | undefined;
|
|
42082
42082
|
/** Metada for a Salto device.
|
|
42083
|
-
* @deprecated Use `salto_ks_metadata
|
|
42083
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
42084
42084
|
salto_metadata?: {
|
|
42085
42085
|
/** Lock ID for a Salto device. */
|
|
42086
42086
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -43599,7 +43599,7 @@ export type Routes = {
|
|
|
43599
43599
|
model_number?: (string | undefined) | undefined;
|
|
43600
43600
|
} | undefined;
|
|
43601
43601
|
/** Metada for a Salto device.
|
|
43602
|
-
* @deprecated Use `salto_ks_metadata
|
|
43602
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
43603
43603
|
salto_metadata?: {
|
|
43604
43604
|
/** Lock ID for a Salto device. */
|
|
43605
43605
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -47713,7 +47713,7 @@ export type Routes = {
|
|
|
47713
47713
|
[x: string]: string | boolean;
|
|
47714
47714
|
} | undefined;
|
|
47715
47715
|
event_type: 'connected_account.deleted';
|
|
47716
|
-
/**
|
|
47716
|
+
/** */
|
|
47717
47717
|
connected_account_type?: string | undefined;
|
|
47718
47718
|
/** The customer key associated with this connected account, if any. */
|
|
47719
47719
|
customer_key?: string | undefined;
|
|
@@ -48827,29 +48827,13 @@ export type Routes = {
|
|
|
48827
48827
|
action_attempt_id?: string | undefined;
|
|
48828
48828
|
/** Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined. */
|
|
48829
48829
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
48830
|
-
/**
|
|
48831
|
-
undocumented: Unreleased.
|
|
48832
|
-
---
|
|
48833
|
-
ID of the user identity associated with the lock event.
|
|
48834
|
-
*/
|
|
48830
|
+
/** ID of the user identity associated with the lock event. */
|
|
48835
48831
|
user_identity_id?: string | undefined;
|
|
48836
|
-
/**
|
|
48837
|
-
undocumented: Unreleased.
|
|
48838
|
-
---
|
|
48839
|
-
ID of the ACS system associated with the lock event.
|
|
48840
|
-
*/
|
|
48832
|
+
/** ID of the ACS system associated with the lock event. */
|
|
48841
48833
|
acs_system_id?: string | undefined;
|
|
48842
|
-
/**
|
|
48843
|
-
undocumented: Unreleased.
|
|
48844
|
-
---
|
|
48845
|
-
ID of the ACS user associated with the lock event.
|
|
48846
|
-
*/
|
|
48834
|
+
/** ID of the ACS user associated with the lock event. */
|
|
48847
48835
|
acs_user_id?: string | undefined;
|
|
48848
|
-
/**
|
|
48849
|
-
undocumented: Unreleased.
|
|
48850
|
-
---
|
|
48851
|
-
ID of the ACS entrance associated with the lock event.
|
|
48852
|
-
*/
|
|
48836
|
+
/** ID of the ACS entrance associated with the lock event. */
|
|
48853
48837
|
acs_entrance_id?: string | undefined;
|
|
48854
48838
|
/**
|
|
48855
48839
|
Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -48897,29 +48881,13 @@ export type Routes = {
|
|
|
48897
48881
|
action_attempt_id?: string | undefined;
|
|
48898
48882
|
/** Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined. */
|
|
48899
48883
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
48900
|
-
/**
|
|
48901
|
-
undocumented: Unreleased.
|
|
48902
|
-
---
|
|
48903
|
-
ID of the user identity associated with the unlock event.
|
|
48904
|
-
*/
|
|
48884
|
+
/** ID of the user identity associated with the unlock event. */
|
|
48905
48885
|
user_identity_id?: string | undefined;
|
|
48906
|
-
/**
|
|
48907
|
-
undocumented: Unreleased.
|
|
48908
|
-
---
|
|
48909
|
-
ID of the ACS system associated with the unlock event.
|
|
48910
|
-
*/
|
|
48886
|
+
/** ID of the ACS system associated with the unlock event. */
|
|
48911
48887
|
acs_system_id?: string | undefined;
|
|
48912
|
-
/**
|
|
48913
|
-
undocumented: Unreleased.
|
|
48914
|
-
---
|
|
48915
|
-
ID of the ACS user associated with the unlock event.
|
|
48916
|
-
*/
|
|
48888
|
+
/** ID of the ACS user associated with the unlock event. */
|
|
48917
48889
|
acs_user_id?: string | undefined;
|
|
48918
|
-
/**
|
|
48919
|
-
undocumented: Unreleased.
|
|
48920
|
-
---
|
|
48921
|
-
ID of the ACS entrance associated with the unlock event.
|
|
48922
|
-
*/
|
|
48890
|
+
/** ID of the ACS entrance associated with the unlock event. */
|
|
48923
48891
|
acs_entrance_id?: string | undefined;
|
|
48924
48892
|
/**
|
|
48925
48893
|
Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -48957,29 +48925,13 @@ export type Routes = {
|
|
|
48957
48925
|
event_type: 'lock.access_denied';
|
|
48958
48926
|
/** ID of the access code that was used in the unlock attempts. */
|
|
48959
48927
|
access_code_id?: string | undefined;
|
|
48960
|
-
/**
|
|
48961
|
-
undocumented: Unreleased.
|
|
48962
|
-
---
|
|
48963
|
-
ID of the user identity associated with the access-denied event.
|
|
48964
|
-
*/
|
|
48928
|
+
/** ID of the user identity associated with the access-denied event. */
|
|
48965
48929
|
user_identity_id?: string | undefined;
|
|
48966
|
-
/**
|
|
48967
|
-
undocumented: Unreleased.
|
|
48968
|
-
---
|
|
48969
|
-
ID of the ACS system associated with the access-denied event.
|
|
48970
|
-
*/
|
|
48930
|
+
/** ID of the ACS system associated with the access-denied event. */
|
|
48971
48931
|
acs_system_id?: string | undefined;
|
|
48972
|
-
/**
|
|
48973
|
-
undocumented: Unreleased.
|
|
48974
|
-
---
|
|
48975
|
-
ID of the ACS user associated with the access-denied event.
|
|
48976
|
-
*/
|
|
48932
|
+
/** ID of the ACS user associated with the access-denied event. */
|
|
48977
48933
|
acs_user_id?: string | undefined;
|
|
48978
|
-
/**
|
|
48979
|
-
undocumented: Unreleased.
|
|
48980
|
-
---
|
|
48981
|
-
ID of the ACS entrance associated with the access-denied event.
|
|
48982
|
-
*/
|
|
48934
|
+
/** ID of the ACS entrance associated with the access-denied event. */
|
|
48983
48935
|
acs_entrance_id?: string | undefined;
|
|
48984
48936
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
48985
48937
|
reason?: {
|
|
@@ -51039,7 +50991,7 @@ export type Routes = {
|
|
|
51039
50991
|
[x: string]: string | boolean;
|
|
51040
50992
|
} | undefined;
|
|
51041
50993
|
event_type: 'connected_account.deleted';
|
|
51042
|
-
/**
|
|
50994
|
+
/** */
|
|
51043
50995
|
connected_account_type?: string | undefined;
|
|
51044
50996
|
/** The customer key associated with this connected account, if any. */
|
|
51045
50997
|
customer_key?: string | undefined;
|
|
@@ -52153,29 +52105,13 @@ export type Routes = {
|
|
|
52153
52105
|
action_attempt_id?: string | undefined;
|
|
52154
52106
|
/** Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined. */
|
|
52155
52107
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
52156
|
-
/**
|
|
52157
|
-
undocumented: Unreleased.
|
|
52158
|
-
---
|
|
52159
|
-
ID of the user identity associated with the lock event.
|
|
52160
|
-
*/
|
|
52108
|
+
/** ID of the user identity associated with the lock event. */
|
|
52161
52109
|
user_identity_id?: string | undefined;
|
|
52162
|
-
/**
|
|
52163
|
-
undocumented: Unreleased.
|
|
52164
|
-
---
|
|
52165
|
-
ID of the ACS system associated with the lock event.
|
|
52166
|
-
*/
|
|
52110
|
+
/** ID of the ACS system associated with the lock event. */
|
|
52167
52111
|
acs_system_id?: string | undefined;
|
|
52168
|
-
/**
|
|
52169
|
-
undocumented: Unreleased.
|
|
52170
|
-
---
|
|
52171
|
-
ID of the ACS user associated with the lock event.
|
|
52172
|
-
*/
|
|
52112
|
+
/** ID of the ACS user associated with the lock event. */
|
|
52173
52113
|
acs_user_id?: string | undefined;
|
|
52174
|
-
/**
|
|
52175
|
-
undocumented: Unreleased.
|
|
52176
|
-
---
|
|
52177
|
-
ID of the ACS entrance associated with the lock event.
|
|
52178
|
-
*/
|
|
52114
|
+
/** ID of the ACS entrance associated with the lock event. */
|
|
52179
52115
|
acs_entrance_id?: string | undefined;
|
|
52180
52116
|
/**
|
|
52181
52117
|
Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -52223,29 +52159,13 @@ export type Routes = {
|
|
|
52223
52159
|
action_attempt_id?: string | undefined;
|
|
52224
52160
|
/** Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined. */
|
|
52225
52161
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
52226
|
-
/**
|
|
52227
|
-
undocumented: Unreleased.
|
|
52228
|
-
---
|
|
52229
|
-
ID of the user identity associated with the unlock event.
|
|
52230
|
-
*/
|
|
52162
|
+
/** ID of the user identity associated with the unlock event. */
|
|
52231
52163
|
user_identity_id?: string | undefined;
|
|
52232
|
-
/**
|
|
52233
|
-
undocumented: Unreleased.
|
|
52234
|
-
---
|
|
52235
|
-
ID of the ACS system associated with the unlock event.
|
|
52236
|
-
*/
|
|
52164
|
+
/** ID of the ACS system associated with the unlock event. */
|
|
52237
52165
|
acs_system_id?: string | undefined;
|
|
52238
|
-
/**
|
|
52239
|
-
undocumented: Unreleased.
|
|
52240
|
-
---
|
|
52241
|
-
ID of the ACS user associated with the unlock event.
|
|
52242
|
-
*/
|
|
52166
|
+
/** ID of the ACS user associated with the unlock event. */
|
|
52243
52167
|
acs_user_id?: string | undefined;
|
|
52244
|
-
/**
|
|
52245
|
-
undocumented: Unreleased.
|
|
52246
|
-
---
|
|
52247
|
-
ID of the ACS entrance associated with the unlock event.
|
|
52248
|
-
*/
|
|
52168
|
+
/** ID of the ACS entrance associated with the unlock event. */
|
|
52249
52169
|
acs_entrance_id?: string | undefined;
|
|
52250
52170
|
/**
|
|
52251
52171
|
Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -52283,29 +52203,13 @@ export type Routes = {
|
|
|
52283
52203
|
event_type: 'lock.access_denied';
|
|
52284
52204
|
/** ID of the access code that was used in the unlock attempts. */
|
|
52285
52205
|
access_code_id?: string | undefined;
|
|
52286
|
-
/**
|
|
52287
|
-
undocumented: Unreleased.
|
|
52288
|
-
---
|
|
52289
|
-
ID of the user identity associated with the access-denied event.
|
|
52290
|
-
*/
|
|
52206
|
+
/** ID of the user identity associated with the access-denied event. */
|
|
52291
52207
|
user_identity_id?: string | undefined;
|
|
52292
|
-
/**
|
|
52293
|
-
undocumented: Unreleased.
|
|
52294
|
-
---
|
|
52295
|
-
ID of the ACS system associated with the access-denied event.
|
|
52296
|
-
*/
|
|
52208
|
+
/** ID of the ACS system associated with the access-denied event. */
|
|
52297
52209
|
acs_system_id?: string | undefined;
|
|
52298
|
-
/**
|
|
52299
|
-
undocumented: Unreleased.
|
|
52300
|
-
---
|
|
52301
|
-
ID of the ACS user associated with the access-denied event.
|
|
52302
|
-
*/
|
|
52210
|
+
/** ID of the ACS user associated with the access-denied event. */
|
|
52303
52211
|
acs_user_id?: string | undefined;
|
|
52304
|
-
/**
|
|
52305
|
-
undocumented: Unreleased.
|
|
52306
|
-
---
|
|
52307
|
-
ID of the ACS entrance associated with the access-denied event.
|
|
52308
|
-
*/
|
|
52212
|
+
/** ID of the ACS entrance associated with the access-denied event. */
|
|
52309
52213
|
acs_entrance_id?: string | undefined;
|
|
52310
52214
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
52311
52215
|
reason?: {
|
|
@@ -54782,7 +54686,7 @@ export type Routes = {
|
|
|
54782
54686
|
model_number?: (string | undefined) | undefined;
|
|
54783
54687
|
} | undefined;
|
|
54784
54688
|
/** Metada for a Salto device.
|
|
54785
|
-
* @deprecated Use `salto_ks_metadata
|
|
54689
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
54786
54690
|
salto_metadata?: {
|
|
54787
54691
|
/** Lock ID for a Salto device. */
|
|
54788
54692
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -56251,7 +56155,7 @@ export type Routes = {
|
|
|
56251
56155
|
model_number?: (string | undefined) | undefined;
|
|
56252
56156
|
} | undefined;
|
|
56253
56157
|
/** Metada for a Salto device.
|
|
56254
|
-
* @deprecated Use `salto_ks_metadata
|
|
56158
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
56255
56159
|
salto_metadata?: {
|
|
56256
56160
|
/** Lock ID for a Salto device. */
|
|
56257
56161
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -57770,7 +57674,7 @@ export type Routes = {
|
|
|
57770
57674
|
model_number?: (string | undefined) | undefined;
|
|
57771
57675
|
} | undefined;
|
|
57772
57676
|
/** Metada for a Salto device.
|
|
57773
|
-
* @deprecated Use `salto_ks_metadata
|
|
57677
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
57774
57678
|
salto_metadata?: {
|
|
57775
57679
|
/** Lock ID for a Salto device. */
|
|
57776
57680
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -59238,7 +59142,7 @@ export type Routes = {
|
|
|
59238
59142
|
model_number?: (string | undefined) | undefined;
|
|
59239
59143
|
} | undefined;
|
|
59240
59144
|
/** Metada for a Salto device.
|
|
59241
|
-
* @deprecated Use `salto_ks_metadata
|
|
59145
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
59242
59146
|
salto_metadata?: {
|
|
59243
59147
|
/** Lock ID for a Salto device. */
|
|
59244
59148
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -67719,7 +67623,7 @@ export type Routes = {
|
|
|
67719
67623
|
model_number?: (string | undefined) | undefined;
|
|
67720
67624
|
} | undefined;
|
|
67721
67625
|
/** Metada for a Salto device.
|
|
67722
|
-
* @deprecated Use `salto_ks_metadata
|
|
67626
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
67723
67627
|
salto_metadata?: {
|
|
67724
67628
|
/** Lock ID for a Salto device. */
|
|
67725
67629
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -69187,7 +69091,7 @@ export type Routes = {
|
|
|
69187
69091
|
model_number?: (string | undefined) | undefined;
|
|
69188
69092
|
} | undefined;
|
|
69189
69093
|
/** Metada for a Salto device.
|
|
69190
|
-
* @deprecated Use `salto_ks_metadata
|
|
69094
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
69191
69095
|
salto_metadata?: {
|
|
69192
69096
|
/** Lock ID for a Salto device. */
|
|
69193
69097
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -81810,7 +81714,7 @@ export type Routes = {
|
|
|
81810
81714
|
[x: string]: string | boolean;
|
|
81811
81715
|
} | undefined;
|
|
81812
81716
|
event_type: 'connected_account.deleted';
|
|
81813
|
-
/**
|
|
81717
|
+
/** */
|
|
81814
81718
|
connected_account_type?: string | undefined;
|
|
81815
81719
|
/** The customer key associated with this connected account, if any. */
|
|
81816
81720
|
customer_key?: string | undefined;
|
|
@@ -82924,29 +82828,13 @@ export type Routes = {
|
|
|
82924
82828
|
action_attempt_id?: string | undefined;
|
|
82925
82829
|
/** Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined. */
|
|
82926
82830
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
82927
|
-
/**
|
|
82928
|
-
undocumented: Unreleased.
|
|
82929
|
-
---
|
|
82930
|
-
ID of the user identity associated with the lock event.
|
|
82931
|
-
*/
|
|
82831
|
+
/** ID of the user identity associated with the lock event. */
|
|
82932
82832
|
user_identity_id?: string | undefined;
|
|
82933
|
-
/**
|
|
82934
|
-
undocumented: Unreleased.
|
|
82935
|
-
---
|
|
82936
|
-
ID of the ACS system associated with the lock event.
|
|
82937
|
-
*/
|
|
82833
|
+
/** ID of the ACS system associated with the lock event. */
|
|
82938
82834
|
acs_system_id?: string | undefined;
|
|
82939
|
-
/**
|
|
82940
|
-
undocumented: Unreleased.
|
|
82941
|
-
---
|
|
82942
|
-
ID of the ACS user associated with the lock event.
|
|
82943
|
-
*/
|
|
82835
|
+
/** ID of the ACS user associated with the lock event. */
|
|
82944
82836
|
acs_user_id?: string | undefined;
|
|
82945
|
-
/**
|
|
82946
|
-
undocumented: Unreleased.
|
|
82947
|
-
---
|
|
82948
|
-
ID of the ACS entrance associated with the lock event.
|
|
82949
|
-
*/
|
|
82837
|
+
/** ID of the ACS entrance associated with the lock event. */
|
|
82950
82838
|
acs_entrance_id?: string | undefined;
|
|
82951
82839
|
/**
|
|
82952
82840
|
Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -82994,29 +82882,13 @@ export type Routes = {
|
|
|
82994
82882
|
action_attempt_id?: string | undefined;
|
|
82995
82883
|
/** Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined. */
|
|
82996
82884
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
82997
|
-
/**
|
|
82998
|
-
undocumented: Unreleased.
|
|
82999
|
-
---
|
|
83000
|
-
ID of the user identity associated with the unlock event.
|
|
83001
|
-
*/
|
|
82885
|
+
/** ID of the user identity associated with the unlock event. */
|
|
83002
82886
|
user_identity_id?: string | undefined;
|
|
83003
|
-
/**
|
|
83004
|
-
undocumented: Unreleased.
|
|
83005
|
-
---
|
|
83006
|
-
ID of the ACS system associated with the unlock event.
|
|
83007
|
-
*/
|
|
82887
|
+
/** ID of the ACS system associated with the unlock event. */
|
|
83008
82888
|
acs_system_id?: string | undefined;
|
|
83009
|
-
/**
|
|
83010
|
-
undocumented: Unreleased.
|
|
83011
|
-
---
|
|
83012
|
-
ID of the ACS user associated with the unlock event.
|
|
83013
|
-
*/
|
|
82889
|
+
/** ID of the ACS user associated with the unlock event. */
|
|
83014
82890
|
acs_user_id?: string | undefined;
|
|
83015
|
-
/**
|
|
83016
|
-
undocumented: Unreleased.
|
|
83017
|
-
---
|
|
83018
|
-
ID of the ACS entrance associated with the unlock event.
|
|
83019
|
-
*/
|
|
82891
|
+
/** ID of the ACS entrance associated with the unlock event. */
|
|
83020
82892
|
acs_entrance_id?: string | undefined;
|
|
83021
82893
|
/**
|
|
83022
82894
|
Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -83054,29 +82926,13 @@ export type Routes = {
|
|
|
83054
82926
|
event_type: 'lock.access_denied';
|
|
83055
82927
|
/** ID of the access code that was used in the unlock attempts. */
|
|
83056
82928
|
access_code_id?: string | undefined;
|
|
83057
|
-
/**
|
|
83058
|
-
undocumented: Unreleased.
|
|
83059
|
-
---
|
|
83060
|
-
ID of the user identity associated with the access-denied event.
|
|
83061
|
-
*/
|
|
82929
|
+
/** ID of the user identity associated with the access-denied event. */
|
|
83062
82930
|
user_identity_id?: string | undefined;
|
|
83063
|
-
/**
|
|
83064
|
-
undocumented: Unreleased.
|
|
83065
|
-
---
|
|
83066
|
-
ID of the ACS system associated with the access-denied event.
|
|
83067
|
-
*/
|
|
82931
|
+
/** ID of the ACS system associated with the access-denied event. */
|
|
83068
82932
|
acs_system_id?: string | undefined;
|
|
83069
|
-
/**
|
|
83070
|
-
undocumented: Unreleased.
|
|
83071
|
-
---
|
|
83072
|
-
ID of the ACS user associated with the access-denied event.
|
|
83073
|
-
*/
|
|
82933
|
+
/** ID of the ACS user associated with the access-denied event. */
|
|
83074
82934
|
acs_user_id?: string | undefined;
|
|
83075
|
-
/**
|
|
83076
|
-
undocumented: Unreleased.
|
|
83077
|
-
---
|
|
83078
|
-
ID of the ACS entrance associated with the access-denied event.
|
|
83079
|
-
*/
|
|
82935
|
+
/** ID of the ACS entrance associated with the access-denied event. */
|
|
83080
82936
|
acs_entrance_id?: string | undefined;
|
|
83081
82937
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
83082
82938
|
reason?: {
|
|
@@ -85955,7 +85811,7 @@ export type Routes = {
|
|
|
85955
85811
|
model_number?: (string | undefined) | undefined;
|
|
85956
85812
|
} | undefined;
|
|
85957
85813
|
/** Metada for a Salto device.
|
|
85958
|
-
* @deprecated Use `salto_ks_metadata
|
|
85814
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
85959
85815
|
salto_metadata?: {
|
|
85960
85816
|
/** Lock ID for a Salto device. */
|
|
85961
85817
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -93649,7 +93505,7 @@ export type Routes = {
|
|
|
93649
93505
|
model_number?: (string | undefined) | undefined;
|
|
93650
93506
|
} | undefined;
|
|
93651
93507
|
/** Metada for a Salto device.
|
|
93652
|
-
* @deprecated Use `salto_ks_metadata
|
|
93508
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
93653
93509
|
salto_metadata?: {
|
|
93654
93510
|
/** Lock ID for a Salto device. */
|
|
93655
93511
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -98662,7 +98518,7 @@ export type Routes = {
|
|
|
98662
98518
|
model_number?: (string | undefined) | undefined;
|
|
98663
98519
|
} | undefined;
|
|
98664
98520
|
/** Metada for a Salto device.
|
|
98665
|
-
* @deprecated Use `salto_ks_metadata
|
|
98521
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
98666
98522
|
salto_metadata?: {
|
|
98667
98523
|
/** Lock ID for a Salto device. */
|
|
98668
98524
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -100130,7 +99986,7 @@ export type Routes = {
|
|
|
100130
99986
|
model_number?: (string | undefined) | undefined;
|
|
100131
99987
|
} | undefined;
|
|
100132
99988
|
/** Metada for a Salto device.
|
|
100133
|
-
* @deprecated Use `salto_ks_metadata
|
|
99989
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
100134
99990
|
salto_metadata?: {
|
|
100135
99991
|
/** Lock ID for a Salto device. */
|
|
100136
99992
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -109556,7 +109412,7 @@ export type Routes = {
|
|
|
109556
109412
|
model_number?: (string | undefined) | undefined;
|
|
109557
109413
|
} | undefined;
|
|
109558
109414
|
/** Metada for a Salto device.
|
|
109559
|
-
* @deprecated Use `salto_ks_metadata
|
|
109415
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
109560
109416
|
salto_metadata?: {
|
|
109561
109417
|
/** Lock ID for a Salto device. */
|
|
109562
109418
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -111026,7 +110882,7 @@ export type Routes = {
|
|
|
111026
110882
|
model_number?: (string | undefined) | undefined;
|
|
111027
110883
|
} | undefined;
|
|
111028
110884
|
/** Metada for a Salto device.
|
|
111029
|
-
* @deprecated Use `salto_ks_metadata
|
|
110885
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
111030
110886
|
salto_metadata?: {
|
|
111031
110887
|
/** Lock ID for a Salto device. */
|
|
111032
110888
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -113787,7 +113643,7 @@ export type Routes = {
|
|
|
113787
113643
|
model_number?: (string | undefined) | undefined;
|
|
113788
113644
|
} | undefined;
|
|
113789
113645
|
/** Metada for a Salto device.
|
|
113790
|
-
* @deprecated Use `salto_ks_metadata
|
|
113646
|
+
* @deprecated Use `salto_ks_metadata` instead.*/
|
|
113791
113647
|
salto_metadata?: {
|
|
113792
113648
|
/** Lock ID for a Salto device. */
|
|
113793
113649
|
lock_id?: (string | undefined) | undefined;
|
|
@@ -120653,7 +120509,7 @@ export type Routes = {
|
|
|
120653
120509
|
[x: string]: string | boolean;
|
|
120654
120510
|
} | undefined;
|
|
120655
120511
|
event_type: 'connected_account.deleted';
|
|
120656
|
-
/**
|
|
120512
|
+
/** */
|
|
120657
120513
|
connected_account_type?: string | undefined;
|
|
120658
120514
|
/** The customer key associated with this connected account, if any. */
|
|
120659
120515
|
customer_key?: string | undefined;
|
|
@@ -121767,29 +121623,13 @@ export type Routes = {
|
|
|
121767
121623
|
action_attempt_id?: string | undefined;
|
|
121768
121624
|
/** Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined. */
|
|
121769
121625
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
121770
|
-
/**
|
|
121771
|
-
undocumented: Unreleased.
|
|
121772
|
-
---
|
|
121773
|
-
ID of the user identity associated with the lock event.
|
|
121774
|
-
*/
|
|
121626
|
+
/** ID of the user identity associated with the lock event. */
|
|
121775
121627
|
user_identity_id?: string | undefined;
|
|
121776
|
-
/**
|
|
121777
|
-
undocumented: Unreleased.
|
|
121778
|
-
---
|
|
121779
|
-
ID of the ACS system associated with the lock event.
|
|
121780
|
-
*/
|
|
121628
|
+
/** ID of the ACS system associated with the lock event. */
|
|
121781
121629
|
acs_system_id?: string | undefined;
|
|
121782
|
-
/**
|
|
121783
|
-
undocumented: Unreleased.
|
|
121784
|
-
---
|
|
121785
|
-
ID of the ACS user associated with the lock event.
|
|
121786
|
-
*/
|
|
121630
|
+
/** ID of the ACS user associated with the lock event. */
|
|
121787
121631
|
acs_user_id?: string | undefined;
|
|
121788
|
-
/**
|
|
121789
|
-
undocumented: Unreleased.
|
|
121790
|
-
---
|
|
121791
|
-
ID of the ACS entrance associated with the lock event.
|
|
121792
|
-
*/
|
|
121632
|
+
/** ID of the ACS entrance associated with the lock event. */
|
|
121793
121633
|
acs_entrance_id?: string | undefined;
|
|
121794
121634
|
/**
|
|
121795
121635
|
Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -121837,29 +121677,13 @@ export type Routes = {
|
|
|
121837
121677
|
action_attempt_id?: string | undefined;
|
|
121838
121678
|
/** Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined. */
|
|
121839
121679
|
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card';
|
|
121840
|
-
/**
|
|
121841
|
-
undocumented: Unreleased.
|
|
121842
|
-
---
|
|
121843
|
-
ID of the user identity associated with the unlock event.
|
|
121844
|
-
*/
|
|
121680
|
+
/** ID of the user identity associated with the unlock event. */
|
|
121845
121681
|
user_identity_id?: string | undefined;
|
|
121846
|
-
/**
|
|
121847
|
-
undocumented: Unreleased.
|
|
121848
|
-
---
|
|
121849
|
-
ID of the ACS system associated with the unlock event.
|
|
121850
|
-
*/
|
|
121682
|
+
/** ID of the ACS system associated with the unlock event. */
|
|
121851
121683
|
acs_system_id?: string | undefined;
|
|
121852
|
-
/**
|
|
121853
|
-
undocumented: Unreleased.
|
|
121854
|
-
---
|
|
121855
|
-
ID of the ACS user associated with the unlock event.
|
|
121856
|
-
*/
|
|
121684
|
+
/** ID of the ACS user associated with the unlock event. */
|
|
121857
121685
|
acs_user_id?: string | undefined;
|
|
121858
|
-
/**
|
|
121859
|
-
undocumented: Unreleased.
|
|
121860
|
-
---
|
|
121861
|
-
ID of the ACS entrance associated with the unlock event.
|
|
121862
|
-
*/
|
|
121686
|
+
/** ID of the ACS entrance associated with the unlock event. */
|
|
121863
121687
|
acs_entrance_id?: string | undefined;
|
|
121864
121688
|
/**
|
|
121865
121689
|
Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
@@ -121897,29 +121721,13 @@ export type Routes = {
|
|
|
121897
121721
|
event_type: 'lock.access_denied';
|
|
121898
121722
|
/** ID of the access code that was used in the unlock attempts. */
|
|
121899
121723
|
access_code_id?: string | undefined;
|
|
121900
|
-
/**
|
|
121901
|
-
undocumented: Unreleased.
|
|
121902
|
-
---
|
|
121903
|
-
ID of the user identity associated with the access-denied event.
|
|
121904
|
-
*/
|
|
121724
|
+
/** ID of the user identity associated with the access-denied event. */
|
|
121905
121725
|
user_identity_id?: string | undefined;
|
|
121906
|
-
/**
|
|
121907
|
-
undocumented: Unreleased.
|
|
121908
|
-
---
|
|
121909
|
-
ID of the ACS system associated with the access-denied event.
|
|
121910
|
-
*/
|
|
121726
|
+
/** ID of the ACS system associated with the access-denied event. */
|
|
121911
121727
|
acs_system_id?: string | undefined;
|
|
121912
|
-
/**
|
|
121913
|
-
undocumented: Unreleased.
|
|
121914
|
-
---
|
|
121915
|
-
ID of the ACS user associated with the access-denied event.
|
|
121916
|
-
*/
|
|
121728
|
+
/** ID of the ACS user associated with the access-denied event. */
|
|
121917
121729
|
acs_user_id?: string | undefined;
|
|
121918
|
-
/**
|
|
121919
|
-
undocumented: Unreleased.
|
|
121920
|
-
---
|
|
121921
|
-
ID of the ACS entrance associated with the access-denied event.
|
|
121922
|
-
*/
|
|
121730
|
+
/** ID of the ACS entrance associated with the access-denied event. */
|
|
121923
121731
|
acs_entrance_id?: string | undefined;
|
|
121924
121732
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
121925
121733
|
reason?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.986.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@seamapi/blueprint": "^1.
|
|
93
|
+
"@seamapi/blueprint": "^1.2.0",
|
|
94
94
|
"@types/node": "^24.10.9",
|
|
95
95
|
"concurrently": "^9.2.0",
|
|
96
96
|
"del-cli": "^7.0.0",
|
|
@@ -60,15 +60,16 @@ const entrance_setup_required = common_acs_entrance_warning
|
|
|
60
60
|
'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.',
|
|
61
61
|
)
|
|
62
62
|
|
|
63
|
-
const salto_ks_privacy_mode = common_acs_entrance_warning
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
63
|
+
const salto_ks_privacy_mode = common_acs_entrance_warning.extend({
|
|
64
|
+
warning_code: z
|
|
65
|
+
.literal('salto_ks_privacy_mode')
|
|
66
|
+
.describe(warning_code_description),
|
|
67
|
+
}).describe(`
|
|
68
|
+
---
|
|
69
|
+
deprecated: Use \`privacy_mode\` instead.
|
|
70
|
+
---
|
|
71
|
+
Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.
|
|
72
|
+
`)
|
|
72
73
|
|
|
73
74
|
const privacy_mode = common_acs_entrance_warning
|
|
74
75
|
.extend({
|