@seamapi/types 1.147.1 → 1.148.1

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.
@@ -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. */
@@ -3115,6 +3123,10 @@ export interface Routes {
3115
3123
  accessory_keypad?: {
3116
3124
  /** Indicates if the accessory_keypad is connected to the device. */
3117
3125
  is_connected: boolean;
3126
+ /** Indicates if the keypad battery properties. */
3127
+ battery?: {
3128
+ level: number;
3129
+ } | undefined;
3118
3130
  } | undefined;
3119
3131
  /**
3120
3132
  ---
@@ -3218,6 +3230,10 @@ export interface Routes {
3218
3230
  accessory_keypad?: {
3219
3231
  /** Indicates if the accessory_keypad is connected to the device. */
3220
3232
  is_connected: boolean;
3233
+ /** Indicates if the keypad battery properties. */
3234
+ battery?: {
3235
+ level: number;
3236
+ } | undefined;
3221
3237
  } | undefined;
3222
3238
  /**
3223
3239
  ---
@@ -3461,6 +3477,10 @@ export interface Routes {
3461
3477
  accessory_keypad?: {
3462
3478
  /** Indicates if the accessory_keypad is connected to the device. */
3463
3479
  is_connected: boolean;
3480
+ /** Indicates if the keypad battery properties. */
3481
+ battery?: {
3482
+ level: number;
3483
+ } | undefined;
3464
3484
  } | undefined;
3465
3485
  appearance: {
3466
3486
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -3961,6 +3981,10 @@ export interface Routes {
3961
3981
  accessory_keypad?: {
3962
3982
  /** Indicates if the accessory_keypad is connected to the device. */
3963
3983
  is_connected: boolean;
3984
+ /** Indicates if the keypad battery properties. */
3985
+ battery?: {
3986
+ level: number;
3987
+ } | undefined;
3964
3988
  } | undefined;
3965
3989
  appearance: {
3966
3990
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -4486,6 +4510,10 @@ export interface Routes {
4486
4510
  accessory_keypad?: {
4487
4511
  /** Indicates if the accessory_keypad is connected to the device. */
4488
4512
  is_connected: boolean;
4513
+ /** Indicates if the keypad battery properties. */
4514
+ battery?: {
4515
+ level: number;
4516
+ } | undefined;
4489
4517
  } | undefined;
4490
4518
  appearance: {
4491
4519
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -4986,6 +5014,10 @@ export interface Routes {
4986
5014
  accessory_keypad?: {
4987
5015
  /** Indicates if the accessory_keypad is connected to the device. */
4988
5016
  is_connected: boolean;
5017
+ /** Indicates if the keypad battery properties. */
5018
+ battery?: {
5019
+ level: number;
5020
+ } | undefined;
4989
5021
  } | undefined;
4990
5022
  appearance: {
4991
5023
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -6127,6 +6159,10 @@ export interface Routes {
6127
6159
  accessory_keypad?: {
6128
6160
  /** Indicates if the accessory_keypad is connected to the device. */
6129
6161
  is_connected: boolean;
6162
+ /** Indicates if the keypad battery properties. */
6163
+ battery?: {
6164
+ level: number;
6165
+ } | undefined;
6130
6166
  } | undefined;
6131
6167
  appearance: {
6132
6168
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -6728,6 +6764,10 @@ export interface Routes {
6728
6764
  accessory_keypad?: {
6729
6765
  /** Indicates if the accessory_keypad is connected to the device. */
6730
6766
  is_connected: boolean;
6767
+ /** Indicates if the keypad battery properties. */
6768
+ battery?: {
6769
+ level: number;
6770
+ } | undefined;
6731
6771
  } | undefined;
6732
6772
  appearance: {
6733
6773
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
@@ -7512,6 +7552,10 @@ export interface Routes {
7512
7552
  accessory_keypad?: {
7513
7553
  /** Indicates if the accessory_keypad is connected to the device. */
7514
7554
  is_connected: boolean;
7555
+ /** Indicates if the keypad battery properties. */
7556
+ battery?: {
7557
+ level: number;
7558
+ } | undefined;
7515
7559
  } | undefined;
7516
7560
  appearance: {
7517
7561
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.147.1",
3
+ "version": "1.148.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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.',
@@ -2224,6 +2237,14 @@ export default {
2224
2237
  accessory_keypad: {
2225
2238
  description: 'Represents the accessory keypad state.',
2226
2239
  properties: {
2240
+ battery: {
2241
+ description: 'Indicates if the keypad battery properties.',
2242
+ properties: {
2243
+ level: { maximum: 1, minimum: 0, type: 'number' },
2244
+ },
2245
+ required: ['level'],
2246
+ type: 'object',
2247
+ },
2227
2248
  is_connected: {
2228
2249
  description:
2229
2250
  '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: {
@@ -4030,6 +4042,12 @@ export interface Routes {
4030
4042
  | {
4031
4043
  /** Indicates if the accessory_keypad is connected to the device. */
4032
4044
  is_connected: boolean
4045
+ /** Indicates if the keypad battery properties. */
4046
+ battery?:
4047
+ | {
4048
+ level: number
4049
+ }
4050
+ | undefined
4033
4051
  }
4034
4052
  | undefined
4035
4053
  /**
@@ -4306,6 +4324,12 @@ export interface Routes {
4306
4324
  | {
4307
4325
  /** Indicates if the accessory_keypad is connected to the device. */
4308
4326
  is_connected: boolean
4327
+ /** Indicates if the keypad battery properties. */
4328
+ battery?:
4329
+ | {
4330
+ level: number
4331
+ }
4332
+ | undefined
4309
4333
  }
4310
4334
  | undefined
4311
4335
  /**
@@ -4707,6 +4731,12 @@ export interface Routes {
4707
4731
  | {
4708
4732
  /** Indicates if the accessory_keypad is connected to the device. */
4709
4733
  is_connected: boolean
4734
+ /** Indicates if the keypad battery properties. */
4735
+ battery?:
4736
+ | {
4737
+ level: number
4738
+ }
4739
+ | undefined
4710
4740
  }
4711
4741
  | undefined
4712
4742
  appearance: {
@@ -5424,6 +5454,12 @@ export interface Routes {
5424
5454
  | {
5425
5455
  /** Indicates if the accessory_keypad is connected to the device. */
5426
5456
  is_connected: boolean
5457
+ /** Indicates if the keypad battery properties. */
5458
+ battery?:
5459
+ | {
5460
+ level: number
5461
+ }
5462
+ | undefined
5427
5463
  }
5428
5464
  | undefined
5429
5465
  appearance: {
@@ -6293,6 +6329,12 @@ export interface Routes {
6293
6329
  | {
6294
6330
  /** Indicates if the accessory_keypad is connected to the device. */
6295
6331
  is_connected: boolean
6332
+ /** Indicates if the keypad battery properties. */
6333
+ battery?:
6334
+ | {
6335
+ level: number
6336
+ }
6337
+ | undefined
6296
6338
  }
6297
6339
  | undefined
6298
6340
  appearance: {
@@ -7010,6 +7052,12 @@ export interface Routes {
7010
7052
  | {
7011
7053
  /** Indicates if the accessory_keypad is connected to the device. */
7012
7054
  is_connected: boolean
7055
+ /** Indicates if the keypad battery properties. */
7056
+ battery?:
7057
+ | {
7058
+ level: number
7059
+ }
7060
+ | undefined
7013
7061
  }
7014
7062
  | undefined
7015
7063
  appearance: {
@@ -8404,6 +8452,12 @@ export interface Routes {
8404
8452
  | {
8405
8453
  /** Indicates if the accessory_keypad is connected to the device. */
8406
8454
  is_connected: boolean
8455
+ /** Indicates if the keypad battery properties. */
8456
+ battery?:
8457
+ | {
8458
+ level: number
8459
+ }
8460
+ | undefined
8407
8461
  }
8408
8462
  | undefined
8409
8463
  appearance: {
@@ -9355,6 +9409,12 @@ export interface Routes {
9355
9409
  | {
9356
9410
  /** Indicates if the accessory_keypad is connected to the device. */
9357
9411
  is_connected: boolean
9412
+ /** Indicates if the keypad battery properties. */
9413
+ battery?:
9414
+ | {
9415
+ level: number
9416
+ }
9417
+ | undefined
9358
9418
  }
9359
9419
  | undefined
9360
9420
  appearance: {
@@ -10364,6 +10424,12 @@ export interface Routes {
10364
10424
  | {
10365
10425
  /** Indicates if the accessory_keypad is connected to the device. */
10366
10426
  is_connected: boolean
10427
+ /** Indicates if the keypad battery properties. */
10428
+ battery?:
10429
+ | {
10430
+ level: number
10431
+ }
10432
+ | undefined
10367
10433
  }
10368
10434
  | undefined
10369
10435
  appearance: {