@seamapi/types 1.146.0 → 1.147.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.
@@ -3111,6 +3111,11 @@ export interface Routes {
3111
3111
  created_at: string;
3112
3112
  is_managed: false;
3113
3113
  properties: {
3114
+ /** Represents the accessory keypad state. */
3115
+ accessory_keypad?: {
3116
+ /** Indicates if the accessory_keypad is connected to the device. */
3117
+ is_connected: boolean;
3118
+ } | undefined;
3114
3119
  /**
3115
3120
  ---
3116
3121
  deprecated: use device.display_name instead
@@ -3209,6 +3214,11 @@ export interface Routes {
3209
3214
  created_at: string;
3210
3215
  is_managed: false;
3211
3216
  properties: {
3217
+ /** Represents the accessory keypad state. */
3218
+ accessory_keypad?: {
3219
+ /** Indicates if the accessory_keypad is connected to the device. */
3220
+ is_connected: boolean;
3221
+ } | undefined;
3212
3222
  /**
3213
3223
  ---
3214
3224
  deprecated: use device.display_name instead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.146.0",
3
+ "version": "1.147.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20,6 +20,7 @@ export const unmanaged_device = managed_device
20
20
  .extend({
21
21
  is_managed: z.literal(false),
22
22
  properties: common_device_properties.pick({
23
+ accessory_keypad: true,
23
24
  name: true,
24
25
  online: true,
25
26
  manufacturer: true,
@@ -2238,6 +2238,18 @@ export default {
2238
2238
  is_managed: { enum: [false], type: 'boolean' },
2239
2239
  properties: {
2240
2240
  properties: {
2241
+ accessory_keypad: {
2242
+ description: 'Represents the accessory keypad state.',
2243
+ properties: {
2244
+ is_connected: {
2245
+ description:
2246
+ 'Indicates if the accessory_keypad is connected to the device.',
2247
+ type: 'boolean',
2248
+ },
2249
+ },
2250
+ required: ['is_connected'],
2251
+ type: 'object',
2252
+ },
2241
2253
  battery: {
2242
2254
  description:
2243
2255
  'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
@@ -4025,6 +4025,13 @@ export interface Routes {
4025
4025
  created_at: string
4026
4026
  is_managed: false
4027
4027
  properties: {
4028
+ /** Represents the accessory keypad state. */
4029
+ accessory_keypad?:
4030
+ | {
4031
+ /** Indicates if the accessory_keypad is connected to the device. */
4032
+ is_connected: boolean
4033
+ }
4034
+ | undefined
4028
4035
  /**
4029
4036
  ---
4030
4037
  deprecated: use device.display_name instead
@@ -4294,6 +4301,13 @@ export interface Routes {
4294
4301
  created_at: string
4295
4302
  is_managed: false
4296
4303
  properties: {
4304
+ /** Represents the accessory keypad state. */
4305
+ accessory_keypad?:
4306
+ | {
4307
+ /** Indicates if the accessory_keypad is connected to the device. */
4308
+ is_connected: boolean
4309
+ }
4310
+ | undefined
4297
4311
  /**
4298
4312
  ---
4299
4313
  deprecated: use device.display_name instead