@seamapi/types 1.145.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.
@@ -854,6 +854,7 @@ export interface Routes {
854
854
  access_method: 'code' | 'card' | 'mobile_key';
855
855
  code?: string | undefined;
856
856
  is_multi_phone_sync_credential?: boolean;
857
+ allowed_acs_entrance_ids?: string[];
857
858
  visionline_metadata?: {
858
859
  assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
859
860
  card_format?: ('TLCode' | 'rfid48') | undefined;
@@ -3110,6 +3111,11 @@ export interface Routes {
3110
3111
  created_at: string;
3111
3112
  is_managed: false;
3112
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;
3113
3119
  /**
3114
3120
  ---
3115
3121
  deprecated: use device.display_name instead
@@ -3208,6 +3214,11 @@ export interface Routes {
3208
3214
  created_at: string;
3209
3215
  is_managed: false;
3210
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;
3211
3222
  /**
3212
3223
  ---
3213
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.145.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.',
@@ -4282,6 +4294,11 @@ export default {
4282
4294
  type: 'string',
4283
4295
  },
4284
4296
  acs_user_id: { format: 'uuid', type: 'string' },
4297
+ allowed_acs_entrance_ids: {
4298
+ default: [],
4299
+ items: { format: 'uuid', type: 'string' },
4300
+ type: 'array',
4301
+ },
4285
4302
  code: { pattern: '^\\d+$', type: 'string' },
4286
4303
  credential_manager_acs_system_id: {
4287
4304
  format: 'uuid',
@@ -900,6 +900,7 @@ export interface Routes {
900
900
  access_method: 'code' | 'card' | 'mobile_key'
901
901
  code?: string | undefined
902
902
  is_multi_phone_sync_credential?: boolean
903
+ allowed_acs_entrance_ids?: string[]
903
904
  visionline_metadata?:
904
905
  | {
905
906
  assa_abloy_credential_service_mobile_endpoint_id?:
@@ -4024,6 +4025,13 @@ export interface Routes {
4024
4025
  created_at: string
4025
4026
  is_managed: false
4026
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
4027
4035
  /**
4028
4036
  ---
4029
4037
  deprecated: use device.display_name instead
@@ -4293,6 +4301,13 @@ export interface Routes {
4293
4301
  created_at: string
4294
4302
  is_managed: false
4295
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
4296
4311
  /**
4297
4312
  ---
4298
4313
  deprecated: use device.display_name instead