@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.
@@ -2689,6 +2689,17 @@ declare const _default: {
2689
2689
  };
2690
2690
  properties: {
2691
2691
  properties: {
2692
+ accessory_keypad: {
2693
+ description: string;
2694
+ properties: {
2695
+ is_connected: {
2696
+ description: string;
2697
+ type: string;
2698
+ };
2699
+ };
2700
+ required: string[];
2701
+ type: string;
2702
+ };
2692
2703
  battery: {
2693
2704
  description: string;
2694
2705
  properties: {
@@ -20442,6 +20453,11 @@ interface Routes {
20442
20453
  created_at: string;
20443
20454
  is_managed: false;
20444
20455
  properties: {
20456
+ /** Represents the accessory keypad state. */
20457
+ accessory_keypad?: {
20458
+ /** Indicates if the accessory_keypad is connected to the device. */
20459
+ is_connected: boolean;
20460
+ } | undefined;
20445
20461
  /**
20446
20462
  ---
20447
20463
  deprecated: use device.display_name instead
@@ -20540,6 +20556,11 @@ interface Routes {
20540
20556
  created_at: string;
20541
20557
  is_managed: false;
20542
20558
  properties: {
20559
+ /** Represents the accessory keypad state. */
20560
+ accessory_keypad?: {
20561
+ /** Indicates if the accessory_keypad is connected to the device. */
20562
+ is_connected: boolean;
20563
+ } | undefined;
20543
20564
  /**
20544
20565
  ---
20545
20566
  deprecated: use device.display_name instead
@@ -89,7 +89,7 @@ export declare const unmanaged_device: z.ZodObject<{
89
89
  offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
90
90
  supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
91
91
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
92
- }, "name" | "online" | "image_url" | "image_alt_text" | "battery" | "model" | "battery_level" | "manufacturer" | "online_access_codes_enabled" | "offline_access_codes_enabled">, "strip", z.ZodTypeAny, {
92
+ }, "name" | "online" | "image_url" | "image_alt_text" | "battery" | "model" | "battery_level" | "manufacturer" | "accessory_keypad" | "online_access_codes_enabled" | "offline_access_codes_enabled">, "strip", z.ZodTypeAny, {
93
93
  name: string;
94
94
  online: boolean;
95
95
  model: {
@@ -109,6 +109,9 @@ export declare const unmanaged_device: z.ZodObject<{
109
109
  } | undefined;
110
110
  battery_level?: number | undefined;
111
111
  manufacturer?: string | undefined;
112
+ accessory_keypad?: {
113
+ is_connected: boolean;
114
+ } | undefined;
112
115
  online_access_codes_enabled?: boolean | undefined;
113
116
  offline_access_codes_enabled?: boolean | undefined;
114
117
  }, {
@@ -131,6 +134,9 @@ export declare const unmanaged_device: z.ZodObject<{
131
134
  } | undefined;
132
135
  battery_level?: number | undefined;
133
136
  manufacturer?: string | undefined;
137
+ accessory_keypad?: {
138
+ is_connected: boolean;
139
+ } | undefined;
134
140
  online_access_codes_enabled?: boolean | undefined;
135
141
  offline_access_codes_enabled?: boolean | undefined;
136
142
  }>;
@@ -175,6 +181,9 @@ export declare const unmanaged_device: z.ZodObject<{
175
181
  } | undefined;
176
182
  battery_level?: number | undefined;
177
183
  manufacturer?: string | undefined;
184
+ accessory_keypad?: {
185
+ is_connected: boolean;
186
+ } | undefined;
178
187
  online_access_codes_enabled?: boolean | undefined;
179
188
  offline_access_codes_enabled?: boolean | undefined;
180
189
  };
@@ -219,6 +228,9 @@ export declare const unmanaged_device: z.ZodObject<{
219
228
  } | undefined;
220
229
  battery_level?: number | undefined;
221
230
  manufacturer?: string | undefined;
231
+ accessory_keypad?: {
232
+ is_connected: boolean;
233
+ } | undefined;
222
234
  online_access_codes_enabled?: boolean | undefined;
223
235
  offline_access_codes_enabled?: boolean | undefined;
224
236
  };
@@ -14,6 +14,7 @@ export const unmanaged_device = managed_device
14
14
  .extend({
15
15
  is_managed: z.literal(false),
16
16
  properties: common_device_properties.pick({
17
+ accessory_keypad: true,
17
18
  name: true,
18
19
  online: true,
19
20
  manufacturer: true,
@@ -1 +1 @@
1
- {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,cAAc,GACf,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC;CACH,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,cAAc,GACf,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC;CACH,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
@@ -2615,6 +2615,17 @@ declare const _default: {
2615
2615
  };
2616
2616
  properties: {
2617
2617
  properties: {
2618
+ accessory_keypad: {
2619
+ description: string;
2620
+ properties: {
2621
+ is_connected: {
2622
+ description: string;
2623
+ type: string;
2624
+ };
2625
+ };
2626
+ required: string[];
2627
+ type: string;
2628
+ };
2618
2629
  battery: {
2619
2630
  description: string;
2620
2631
  properties: {
@@ -2166,6 +2166,17 @@ export default {
2166
2166
  is_managed: { enum: [false], type: 'boolean' },
2167
2167
  properties: {
2168
2168
  properties: {
2169
+ accessory_keypad: {
2170
+ description: 'Represents the accessory keypad state.',
2171
+ properties: {
2172
+ is_connected: {
2173
+ description: 'Indicates if the accessory_keypad is connected to the device.',
2174
+ type: 'boolean',
2175
+ },
2176
+ },
2177
+ required: ['is_connected'],
2178
+ type: 'object',
2179
+ },
2169
2180
  battery: {
2170
2181
  description: '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.',
2171
2182
  properties: {