@seamapi/types 1.147.1 → 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 +12 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +48 -0
- package/lib/seam/connect/models/devices/managed-device.d.ts +50 -0
- package/lib/seam/connect/models/devices/managed-device.js +6 -0
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +25 -0
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +12 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/managed-device.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +13 -0
- package/src/lib/seam/connect/route-types.ts +54 -0
|
@@ -2045,6 +2045,10 @@ export interface Routes {
|
|
|
2045
2045
|
accessory_keypad?: {
|
|
2046
2046
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
2047
2047
|
is_connected: boolean;
|
|
2048
|
+
/** Indicates if the keypad battery properties. */
|
|
2049
|
+
battery?: {
|
|
2050
|
+
level: number;
|
|
2051
|
+
} | undefined;
|
|
2048
2052
|
} | undefined;
|
|
2049
2053
|
appearance: {
|
|
2050
2054
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -2570,6 +2574,10 @@ export interface Routes {
|
|
|
2570
2574
|
accessory_keypad?: {
|
|
2571
2575
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
2572
2576
|
is_connected: boolean;
|
|
2577
|
+
/** Indicates if the keypad battery properties. */
|
|
2578
|
+
battery?: {
|
|
2579
|
+
level: number;
|
|
2580
|
+
} | undefined;
|
|
2573
2581
|
} | undefined;
|
|
2574
2582
|
appearance: {
|
|
2575
2583
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -3461,6 +3469,10 @@ export interface Routes {
|
|
|
3461
3469
|
accessory_keypad?: {
|
|
3462
3470
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3463
3471
|
is_connected: boolean;
|
|
3472
|
+
/** Indicates if the keypad battery properties. */
|
|
3473
|
+
battery?: {
|
|
3474
|
+
level: number;
|
|
3475
|
+
} | undefined;
|
|
3464
3476
|
} | undefined;
|
|
3465
3477
|
appearance: {
|
|
3466
3478
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -3961,6 +3973,10 @@ export interface Routes {
|
|
|
3961
3973
|
accessory_keypad?: {
|
|
3962
3974
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3963
3975
|
is_connected: boolean;
|
|
3976
|
+
/** Indicates if the keypad battery properties. */
|
|
3977
|
+
battery?: {
|
|
3978
|
+
level: number;
|
|
3979
|
+
} | undefined;
|
|
3964
3980
|
} | undefined;
|
|
3965
3981
|
appearance: {
|
|
3966
3982
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -4486,6 +4502,10 @@ export interface Routes {
|
|
|
4486
4502
|
accessory_keypad?: {
|
|
4487
4503
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4488
4504
|
is_connected: boolean;
|
|
4505
|
+
/** Indicates if the keypad battery properties. */
|
|
4506
|
+
battery?: {
|
|
4507
|
+
level: number;
|
|
4508
|
+
} | undefined;
|
|
4489
4509
|
} | undefined;
|
|
4490
4510
|
appearance: {
|
|
4491
4511
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -4986,6 +5006,10 @@ export interface Routes {
|
|
|
4986
5006
|
accessory_keypad?: {
|
|
4987
5007
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4988
5008
|
is_connected: boolean;
|
|
5009
|
+
/** Indicates if the keypad battery properties. */
|
|
5010
|
+
battery?: {
|
|
5011
|
+
level: number;
|
|
5012
|
+
} | undefined;
|
|
4989
5013
|
} | undefined;
|
|
4990
5014
|
appearance: {
|
|
4991
5015
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -6127,6 +6151,10 @@ export interface Routes {
|
|
|
6127
6151
|
accessory_keypad?: {
|
|
6128
6152
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
6129
6153
|
is_connected: boolean;
|
|
6154
|
+
/** Indicates if the keypad battery properties. */
|
|
6155
|
+
battery?: {
|
|
6156
|
+
level: number;
|
|
6157
|
+
} | undefined;
|
|
6130
6158
|
} | undefined;
|
|
6131
6159
|
appearance: {
|
|
6132
6160
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -6728,6 +6756,10 @@ export interface Routes {
|
|
|
6728
6756
|
accessory_keypad?: {
|
|
6729
6757
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
6730
6758
|
is_connected: boolean;
|
|
6759
|
+
/** Indicates if the keypad battery properties. */
|
|
6760
|
+
battery?: {
|
|
6761
|
+
level: number;
|
|
6762
|
+
} | undefined;
|
|
6731
6763
|
} | undefined;
|
|
6732
6764
|
appearance: {
|
|
6733
6765
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -7512,6 +7544,10 @@ export interface Routes {
|
|
|
7512
7544
|
accessory_keypad?: {
|
|
7513
7545
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
7514
7546
|
is_connected: boolean;
|
|
7547
|
+
/** Indicates if the keypad battery properties. */
|
|
7548
|
+
battery?: {
|
|
7549
|
+
level: number;
|
|
7550
|
+
} | undefined;
|
|
7515
7551
|
} | undefined;
|
|
7516
7552
|
appearance: {
|
|
7517
7553
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
package/package.json
CHANGED
|
@@ -34,6 +34,12 @@ export const common_device_properties = z.object({
|
|
|
34
34
|
.describe(
|
|
35
35
|
'Indicates if the accessory_keypad is connected to the device.',
|
|
36
36
|
),
|
|
37
|
+
battery: z
|
|
38
|
+
.object({
|
|
39
|
+
level: z.number().min(0).max(1),
|
|
40
|
+
})
|
|
41
|
+
.optional()
|
|
42
|
+
.describe('Indicates if the keypad battery properties.'),
|
|
37
43
|
})
|
|
38
44
|
.optional()
|
|
39
45
|
.describe('Represents the accessory keypad state.'),
|
|
@@ -667,6 +667,19 @@ export default {
|
|
|
667
667
|
description:
|
|
668
668
|
'Represents the accessory keypad state.',
|
|
669
669
|
properties: {
|
|
670
|
+
battery: {
|
|
671
|
+
description:
|
|
672
|
+
'Indicates if the keypad battery properties.',
|
|
673
|
+
properties: {
|
|
674
|
+
level: {
|
|
675
|
+
maximum: 1,
|
|
676
|
+
minimum: 0,
|
|
677
|
+
type: 'number',
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
required: ['level'],
|
|
681
|
+
type: 'object',
|
|
682
|
+
},
|
|
670
683
|
is_connected: {
|
|
671
684
|
description:
|
|
672
685
|
'Indicates if the accessory_keypad is connected to the device.',
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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: {
|