@seamapi/types 1.148.0 → 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.
@@ -3123,6 +3123,10 @@ export interface Routes {
3123
3123
  accessory_keypad?: {
3124
3124
  /** Indicates if the accessory_keypad is connected to the device. */
3125
3125
  is_connected: boolean;
3126
+ /** Indicates if the keypad battery properties. */
3127
+ battery?: {
3128
+ level: number;
3129
+ } | undefined;
3126
3130
  } | undefined;
3127
3131
  /**
3128
3132
  ---
@@ -3226,6 +3230,10 @@ export interface Routes {
3226
3230
  accessory_keypad?: {
3227
3231
  /** Indicates if the accessory_keypad is connected to the device. */
3228
3232
  is_connected: boolean;
3233
+ /** Indicates if the keypad battery properties. */
3234
+ battery?: {
3235
+ level: number;
3236
+ } | undefined;
3229
3237
  } | undefined;
3230
3238
  /**
3231
3239
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.148.0",
3
+ "version": "1.148.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2237,6 +2237,14 @@ export default {
2237
2237
  accessory_keypad: {
2238
2238
  description: 'Represents the accessory keypad state.',
2239
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
+ },
2240
2248
  is_connected: {
2241
2249
  description:
2242
2250
  'Indicates if the accessory_keypad is connected to the device.',
@@ -4042,6 +4042,12 @@ export interface Routes {
4042
4042
  | {
4043
4043
  /** Indicates if the accessory_keypad is connected to the device. */
4044
4044
  is_connected: boolean
4045
+ /** Indicates if the keypad battery properties. */
4046
+ battery?:
4047
+ | {
4048
+ level: number
4049
+ }
4050
+ | undefined
4045
4051
  }
4046
4052
  | undefined
4047
4053
  /**
@@ -4318,6 +4324,12 @@ export interface Routes {
4318
4324
  | {
4319
4325
  /** Indicates if the accessory_keypad is connected to the device. */
4320
4326
  is_connected: boolean
4327
+ /** Indicates if the keypad battery properties. */
4328
+ battery?:
4329
+ | {
4330
+ level: number
4331
+ }
4332
+ | undefined
4321
4333
  }
4322
4334
  | undefined
4323
4335
  /**