@seamapi/types 1.147.0 → 1.148.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 +32 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +96 -188
- package/lib/seam/connect/internal/model-types.d.ts +2 -1
- package/lib/seam/connect/internal/model-types.js +1 -1
- package/lib/seam/connect/internal/model-types.js.map +1 -1
- package/lib/seam/connect/internal/schemas.d.ts +2 -1
- package/lib/seam/connect/internal/schemas.js +2 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
- package/lib/seam/connect/models/custom-metadata.js +2 -1
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +53 -3
- package/lib/seam/connect/models/devices/managed-device.js +7 -1
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +25 -0
- package/lib/seam/connect/openapi.d.ts +32 -160
- package/lib/seam/connect/openapi.js +25 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +59 -23
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +2 -32
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
- package/src/lib/seam/connect/models/devices/managed-device.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +26 -60
- package/src/lib/seam/connect/route-types.ts +77 -23
|
@@ -2046,7 +2046,7 @@ export interface Routes {
|
|
|
2046
2046
|
status: 'pending' | 'failed' | 'authorized'
|
|
2047
2047
|
custom_redirect_url: string | null
|
|
2048
2048
|
custom_redirect_failure_url: string | null
|
|
2049
|
-
custom_metadata: Record<string, string | boolean
|
|
2049
|
+
custom_metadata: Record<string, string | boolean>
|
|
2050
2050
|
automatically_manage_new_devices: boolean
|
|
2051
2051
|
wait_for_device_creation: boolean
|
|
2052
2052
|
authorized_at: string | null
|
|
@@ -2090,7 +2090,7 @@ export interface Routes {
|
|
|
2090
2090
|
status: 'pending' | 'failed' | 'authorized'
|
|
2091
2091
|
custom_redirect_url: string | null
|
|
2092
2092
|
custom_redirect_failure_url: string | null
|
|
2093
|
-
custom_metadata: Record<string, string | boolean
|
|
2093
|
+
custom_metadata: Record<string, string | boolean>
|
|
2094
2094
|
automatically_manage_new_devices: boolean
|
|
2095
2095
|
wait_for_device_creation: boolean
|
|
2096
2096
|
authorized_at: string | null
|
|
@@ -2106,7 +2106,7 @@ export interface Routes {
|
|
|
2106
2106
|
commonParams: {
|
|
2107
2107
|
user_identifier_key?: string | undefined
|
|
2108
2108
|
/** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
|
|
2109
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
2109
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
2110
2110
|
}
|
|
2111
2111
|
formData: {}
|
|
2112
2112
|
jsonResponse: {
|
|
@@ -2125,7 +2125,7 @@ export interface Routes {
|
|
|
2125
2125
|
status: 'pending' | 'failed' | 'authorized'
|
|
2126
2126
|
custom_redirect_url: string | null
|
|
2127
2127
|
custom_redirect_failure_url: string | null
|
|
2128
|
-
custom_metadata: Record<string, string | boolean
|
|
2128
|
+
custom_metadata: Record<string, string | boolean>
|
|
2129
2129
|
automatically_manage_new_devices: boolean
|
|
2130
2130
|
wait_for_device_creation: boolean
|
|
2131
2131
|
authorized_at: string | null
|
|
@@ -2187,7 +2187,7 @@ export interface Routes {
|
|
|
2187
2187
|
account_type_display_name: string
|
|
2188
2188
|
errors?: any
|
|
2189
2189
|
warnings?: any
|
|
2190
|
-
custom_metadata
|
|
2190
|
+
custom_metadata: Record<string, string | boolean>
|
|
2191
2191
|
automatically_manage_new_devices: boolean
|
|
2192
2192
|
}
|
|
2193
2193
|
}
|
|
@@ -2199,7 +2199,7 @@ export interface Routes {
|
|
|
2199
2199
|
jsonBody: {}
|
|
2200
2200
|
commonParams: {
|
|
2201
2201
|
/** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
|
|
2202
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
2202
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
2203
2203
|
}
|
|
2204
2204
|
formData: {}
|
|
2205
2205
|
jsonResponse: {
|
|
@@ -2219,7 +2219,7 @@ export interface Routes {
|
|
|
2219
2219
|
account_type_display_name: string
|
|
2220
2220
|
errors?: any
|
|
2221
2221
|
warnings?: any
|
|
2222
|
-
custom_metadata
|
|
2222
|
+
custom_metadata: Record<string, string | boolean>
|
|
2223
2223
|
automatically_manage_new_devices: boolean
|
|
2224
2224
|
}>
|
|
2225
2225
|
}
|
|
@@ -2252,7 +2252,7 @@ export interface Routes {
|
|
|
2252
2252
|
account_type_display_name: string
|
|
2253
2253
|
errors?: any
|
|
2254
2254
|
warnings?: any
|
|
2255
|
-
custom_metadata
|
|
2255
|
+
custom_metadata: Record<string, string | boolean>
|
|
2256
2256
|
automatically_manage_new_devices: boolean
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
@@ -2348,6 +2348,12 @@ export interface Routes {
|
|
|
2348
2348
|
| {
|
|
2349
2349
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
2350
2350
|
is_connected: boolean
|
|
2351
|
+
/** Indicates if the keypad battery properties. */
|
|
2352
|
+
battery?:
|
|
2353
|
+
| {
|
|
2354
|
+
level: number
|
|
2355
|
+
}
|
|
2356
|
+
| undefined
|
|
2351
2357
|
}
|
|
2352
2358
|
| undefined
|
|
2353
2359
|
appearance: {
|
|
@@ -2990,7 +2996,7 @@ export interface Routes {
|
|
|
2990
2996
|
created_at: string
|
|
2991
2997
|
/** Indicates whether Seam manages the device. */
|
|
2992
2998
|
is_managed: true
|
|
2993
|
-
custom_metadata
|
|
2999
|
+
custom_metadata: Record<string, string | boolean>
|
|
2994
3000
|
can_remotely_unlock?: boolean | undefined
|
|
2995
3001
|
can_remotely_lock?: boolean | undefined
|
|
2996
3002
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -3128,7 +3134,7 @@ export interface Routes {
|
|
|
3128
3134
|
limit?: number
|
|
3129
3135
|
created_before?: Date | undefined
|
|
3130
3136
|
user_identifier_key?: string | undefined
|
|
3131
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
3137
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
3132
3138
|
include_if?:
|
|
3133
3139
|
| Array<
|
|
3134
3140
|
| 'can_remotely_unlock'
|
|
@@ -3217,6 +3223,12 @@ export interface Routes {
|
|
|
3217
3223
|
| {
|
|
3218
3224
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3219
3225
|
is_connected: boolean
|
|
3226
|
+
/** Indicates if the keypad battery properties. */
|
|
3227
|
+
battery?:
|
|
3228
|
+
| {
|
|
3229
|
+
level: number
|
|
3230
|
+
}
|
|
3231
|
+
| undefined
|
|
3220
3232
|
}
|
|
3221
3233
|
| undefined
|
|
3222
3234
|
appearance: {
|
|
@@ -3859,7 +3871,7 @@ export interface Routes {
|
|
|
3859
3871
|
created_at: string
|
|
3860
3872
|
/** Indicates whether Seam manages the device. */
|
|
3861
3873
|
is_managed: true
|
|
3862
|
-
custom_metadata
|
|
3874
|
+
custom_metadata: Record<string, string | boolean>
|
|
3863
3875
|
can_remotely_unlock?: boolean | undefined
|
|
3864
3876
|
can_remotely_lock?: boolean | undefined
|
|
3865
3877
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -4214,7 +4226,7 @@ export interface Routes {
|
|
|
4214
4226
|
limit?: number
|
|
4215
4227
|
created_before?: Date | undefined
|
|
4216
4228
|
user_identifier_key?: string | undefined
|
|
4217
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
4229
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
4218
4230
|
include_if?:
|
|
4219
4231
|
| Array<
|
|
4220
4232
|
| 'can_remotely_unlock'
|
|
@@ -4707,6 +4719,12 @@ export interface Routes {
|
|
|
4707
4719
|
| {
|
|
4708
4720
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4709
4721
|
is_connected: boolean
|
|
4722
|
+
/** Indicates if the keypad battery properties. */
|
|
4723
|
+
battery?:
|
|
4724
|
+
| {
|
|
4725
|
+
level: number
|
|
4726
|
+
}
|
|
4727
|
+
| undefined
|
|
4710
4728
|
}
|
|
4711
4729
|
| undefined
|
|
4712
4730
|
appearance: {
|
|
@@ -5349,7 +5367,7 @@ export interface Routes {
|
|
|
5349
5367
|
created_at: string
|
|
5350
5368
|
/** Indicates whether Seam manages the device. */
|
|
5351
5369
|
is_managed: true
|
|
5352
|
-
custom_metadata
|
|
5370
|
+
custom_metadata: Record<string, string | boolean>
|
|
5353
5371
|
can_remotely_unlock?: boolean | undefined
|
|
5354
5372
|
can_remotely_lock?: boolean | undefined
|
|
5355
5373
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -5424,6 +5442,12 @@ export interface Routes {
|
|
|
5424
5442
|
| {
|
|
5425
5443
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
5426
5444
|
is_connected: boolean
|
|
5445
|
+
/** Indicates if the keypad battery properties. */
|
|
5446
|
+
battery?:
|
|
5447
|
+
| {
|
|
5448
|
+
level: number
|
|
5449
|
+
}
|
|
5450
|
+
| undefined
|
|
5427
5451
|
}
|
|
5428
5452
|
| undefined
|
|
5429
5453
|
appearance: {
|
|
@@ -6066,7 +6090,7 @@ export interface Routes {
|
|
|
6066
6090
|
created_at: string
|
|
6067
6091
|
/** Indicates whether Seam manages the device. */
|
|
6068
6092
|
is_managed: true
|
|
6069
|
-
custom_metadata
|
|
6093
|
+
custom_metadata: Record<string, string | boolean>
|
|
6070
6094
|
can_remotely_unlock?: boolean | undefined
|
|
6071
6095
|
can_remotely_lock?: boolean | undefined
|
|
6072
6096
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -6204,7 +6228,7 @@ export interface Routes {
|
|
|
6204
6228
|
limit?: number
|
|
6205
6229
|
created_before?: Date | undefined
|
|
6206
6230
|
user_identifier_key?: string | undefined
|
|
6207
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
6231
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
6208
6232
|
include_if?:
|
|
6209
6233
|
| Array<
|
|
6210
6234
|
| 'can_remotely_unlock'
|
|
@@ -6293,6 +6317,12 @@ export interface Routes {
|
|
|
6293
6317
|
| {
|
|
6294
6318
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
6295
6319
|
is_connected: boolean
|
|
6320
|
+
/** Indicates if the keypad battery properties. */
|
|
6321
|
+
battery?:
|
|
6322
|
+
| {
|
|
6323
|
+
level: number
|
|
6324
|
+
}
|
|
6325
|
+
| undefined
|
|
6296
6326
|
}
|
|
6297
6327
|
| undefined
|
|
6298
6328
|
appearance: {
|
|
@@ -6935,7 +6965,7 @@ export interface Routes {
|
|
|
6935
6965
|
created_at: string
|
|
6936
6966
|
/** Indicates whether Seam manages the device. */
|
|
6937
6967
|
is_managed: true
|
|
6938
|
-
custom_metadata
|
|
6968
|
+
custom_metadata: Record<string, string | boolean>
|
|
6939
6969
|
can_remotely_unlock?: boolean | undefined
|
|
6940
6970
|
can_remotely_lock?: boolean | undefined
|
|
6941
6971
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -7010,6 +7040,12 @@ export interface Routes {
|
|
|
7010
7040
|
| {
|
|
7011
7041
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
7012
7042
|
is_connected: boolean
|
|
7043
|
+
/** Indicates if the keypad battery properties. */
|
|
7044
|
+
battery?:
|
|
7045
|
+
| {
|
|
7046
|
+
level: number
|
|
7047
|
+
}
|
|
7048
|
+
| undefined
|
|
7013
7049
|
}
|
|
7014
7050
|
| undefined
|
|
7015
7051
|
appearance: {
|
|
@@ -7652,7 +7688,7 @@ export interface Routes {
|
|
|
7652
7688
|
created_at: string
|
|
7653
7689
|
/** Indicates whether Seam manages the device. */
|
|
7654
7690
|
is_managed: true
|
|
7655
|
-
custom_metadata
|
|
7691
|
+
custom_metadata: Record<string, string | boolean>
|
|
7656
7692
|
can_remotely_unlock?: boolean | undefined
|
|
7657
7693
|
can_remotely_lock?: boolean | undefined
|
|
7658
7694
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -8031,7 +8067,7 @@ export interface Routes {
|
|
|
8031
8067
|
created_at: string
|
|
8032
8068
|
/** Indicates whether Seam manages the device. */
|
|
8033
8069
|
is_managed: true
|
|
8034
|
-
custom_metadata
|
|
8070
|
+
custom_metadata: Record<string, string | boolean>
|
|
8035
8071
|
can_remotely_unlock?: boolean | undefined
|
|
8036
8072
|
can_remotely_lock?: boolean | undefined
|
|
8037
8073
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -8115,7 +8151,7 @@ export interface Routes {
|
|
|
8115
8151
|
created_at: string
|
|
8116
8152
|
/** Indicates whether Seam manages the device. */
|
|
8117
8153
|
is_managed: true
|
|
8118
|
-
custom_metadata
|
|
8154
|
+
custom_metadata: Record<string, string | boolean>
|
|
8119
8155
|
can_remotely_unlock?: boolean | undefined
|
|
8120
8156
|
can_remotely_lock?: boolean | undefined
|
|
8121
8157
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -8404,6 +8440,12 @@ export interface Routes {
|
|
|
8404
8440
|
| {
|
|
8405
8441
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
8406
8442
|
is_connected: boolean
|
|
8443
|
+
/** Indicates if the keypad battery properties. */
|
|
8444
|
+
battery?:
|
|
8445
|
+
| {
|
|
8446
|
+
level: number
|
|
8447
|
+
}
|
|
8448
|
+
| undefined
|
|
8407
8449
|
}
|
|
8408
8450
|
| undefined
|
|
8409
8451
|
appearance: {
|
|
@@ -9046,7 +9088,7 @@ export interface Routes {
|
|
|
9046
9088
|
created_at: string
|
|
9047
9089
|
/** Indicates whether Seam manages the device. */
|
|
9048
9090
|
is_managed: true
|
|
9049
|
-
custom_metadata
|
|
9091
|
+
custom_metadata: Record<string, string | boolean>
|
|
9050
9092
|
can_remotely_unlock?: boolean | undefined
|
|
9051
9093
|
can_remotely_lock?: boolean | undefined
|
|
9052
9094
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -9266,7 +9308,7 @@ export interface Routes {
|
|
|
9266
9308
|
limit?: number
|
|
9267
9309
|
created_before?: Date | undefined
|
|
9268
9310
|
user_identifier_key?: string | undefined
|
|
9269
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
9311
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
9270
9312
|
include_if?:
|
|
9271
9313
|
| Array<
|
|
9272
9314
|
| 'can_remotely_unlock'
|
|
@@ -9355,6 +9397,12 @@ export interface Routes {
|
|
|
9355
9397
|
| {
|
|
9356
9398
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
9357
9399
|
is_connected: boolean
|
|
9400
|
+
/** Indicates if the keypad battery properties. */
|
|
9401
|
+
battery?:
|
|
9402
|
+
| {
|
|
9403
|
+
level: number
|
|
9404
|
+
}
|
|
9405
|
+
| undefined
|
|
9358
9406
|
}
|
|
9359
9407
|
| undefined
|
|
9360
9408
|
appearance: {
|
|
@@ -9997,7 +10045,7 @@ export interface Routes {
|
|
|
9997
10045
|
created_at: string
|
|
9998
10046
|
/** Indicates whether Seam manages the device. */
|
|
9999
10047
|
is_managed: true
|
|
10000
|
-
custom_metadata
|
|
10048
|
+
custom_metadata: Record<string, string | boolean>
|
|
10001
10049
|
can_remotely_unlock?: boolean | undefined
|
|
10002
10050
|
can_remotely_lock?: boolean | undefined
|
|
10003
10051
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -10364,6 +10412,12 @@ export interface Routes {
|
|
|
10364
10412
|
| {
|
|
10365
10413
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
10366
10414
|
is_connected: boolean
|
|
10415
|
+
/** Indicates if the keypad battery properties. */
|
|
10416
|
+
battery?:
|
|
10417
|
+
| {
|
|
10418
|
+
level: number
|
|
10419
|
+
}
|
|
10420
|
+
| undefined
|
|
10367
10421
|
}
|
|
10368
10422
|
| undefined
|
|
10369
10423
|
appearance: {
|
|
@@ -11006,7 +11060,7 @@ export interface Routes {
|
|
|
11006
11060
|
created_at: string
|
|
11007
11061
|
/** Indicates whether Seam manages the device. */
|
|
11008
11062
|
is_managed: true
|
|
11009
|
-
custom_metadata
|
|
11063
|
+
custom_metadata: Record<string, string | boolean>
|
|
11010
11064
|
can_remotely_unlock?: boolean | undefined
|
|
11011
11065
|
can_remotely_lock?: boolean | undefined
|
|
11012
11066
|
can_program_online_access_codes?: boolean | undefined
|