@seamapi/types 1.204.0 → 1.205.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.
@@ -5451,6 +5451,13 @@ export interface Routes {
5451
5451
  display_name: string;
5452
5452
  image_url: string;
5453
5453
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
5454
+ can_remotely_unlock?: boolean | undefined;
5455
+ can_remotely_lock?: boolean | undefined;
5456
+ can_program_offline_access_codes?: boolean | undefined;
5457
+ can_program_online_access_codes?: boolean | undefined;
5458
+ can_simulate_removal?: boolean | undefined;
5459
+ can_simulate_connection?: boolean | undefined;
5460
+ can_simulate_disconnection?: boolean | undefined;
5454
5461
  }>;
5455
5462
  };
5456
5463
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.204.0",
3
+ "version": "1.205.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { device_capability_flags } from './device.js'
4
+
3
5
  export const DEVICE_PROVIDERS = {
4
6
  AKUVOX: 'akuvox',
5
7
  AUGUST: 'august',
@@ -112,11 +114,13 @@ export const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]] =
112
114
  export const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES =
113
115
  PROVIDER_CATEGORIES.filter((category) => category !== 'internal_beta') as any
114
116
 
115
- export const device_provider = z.object({
116
- device_provider_name: z.enum(ALL_DEVICE_PROVIDERS),
117
- display_name: z.string(),
118
- image_url: z.string(),
119
- provider_categories: z.array(z.enum(PUBLIC_PROVIDER_CATEGORIES)),
120
- })
117
+ export const device_provider = z
118
+ .object({
119
+ device_provider_name: z.enum(ALL_DEVICE_PROVIDERS),
120
+ display_name: z.string(),
121
+ image_url: z.string(),
122
+ provider_categories: z.array(z.enum(PUBLIC_PROVIDER_CATEGORIES)),
123
+ })
124
+ .extend(device_capability_flags.shape)
121
125
 
122
126
  export type DeviceProvider = z.infer<typeof device_provider>
@@ -3487,6 +3487,13 @@ export default {
3487
3487
  },
3488
3488
  device_provider: {
3489
3489
  properties: {
3490
+ can_program_offline_access_codes: { type: 'boolean' },
3491
+ can_program_online_access_codes: { type: 'boolean' },
3492
+ can_remotely_lock: { type: 'boolean' },
3493
+ can_remotely_unlock: { type: 'boolean' },
3494
+ can_simulate_connection: { type: 'boolean' },
3495
+ can_simulate_disconnection: { type: 'boolean' },
3496
+ can_simulate_removal: { type: 'boolean' },
3490
3497
  device_provider_name: {
3491
3498
  enum: [
3492
3499
  'akuvox',
@@ -6697,6 +6697,13 @@ export interface Routes {
6697
6697
  | 'noise_sensors'
6698
6698
  | 'access_control_systems'
6699
6699
  >
6700
+ can_remotely_unlock?: boolean | undefined
6701
+ can_remotely_lock?: boolean | undefined
6702
+ can_program_offline_access_codes?: boolean | undefined
6703
+ can_program_online_access_codes?: boolean | undefined
6704
+ can_simulate_removal?: boolean | undefined
6705
+ can_simulate_connection?: boolean | undefined
6706
+ can_simulate_disconnection?: boolean | undefined
6700
6707
  }>
6701
6708
  }
6702
6709
  }