@seamapi/types 1.148.0 → 1.149.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.
@@ -2150,6 +2150,8 @@ export interface Routes {
2150
2150
  device_id: string;
2151
2151
  device_name: string;
2152
2152
  keypad_battery_critical?: boolean | undefined;
2153
+ keypad_paired?: boolean | undefined;
2154
+ keypad_2_paired?: boolean | undefined;
2153
2155
  } | undefined;
2154
2156
  kwikset_metadata?: {
2155
2157
  device_id: string;
@@ -2679,6 +2681,8 @@ export interface Routes {
2679
2681
  device_id: string;
2680
2682
  device_name: string;
2681
2683
  keypad_battery_critical?: boolean | undefined;
2684
+ keypad_paired?: boolean | undefined;
2685
+ keypad_2_paired?: boolean | undefined;
2682
2686
  } | undefined;
2683
2687
  kwikset_metadata?: {
2684
2688
  device_id: string;
@@ -3123,6 +3127,10 @@ export interface Routes {
3123
3127
  accessory_keypad?: {
3124
3128
  /** Indicates if the accessory_keypad is connected to the device. */
3125
3129
  is_connected: boolean;
3130
+ /** Indicates if the keypad battery properties. */
3131
+ battery?: {
3132
+ level: number;
3133
+ } | undefined;
3126
3134
  } | undefined;
3127
3135
  /**
3128
3136
  ---
@@ -3226,6 +3234,10 @@ export interface Routes {
3226
3234
  accessory_keypad?: {
3227
3235
  /** Indicates if the accessory_keypad is connected to the device. */
3228
3236
  is_connected: boolean;
3237
+ /** Indicates if the keypad battery properties. */
3238
+ battery?: {
3239
+ level: number;
3240
+ } | undefined;
3229
3241
  } | undefined;
3230
3242
  /**
3231
3243
  ---
@@ -3574,6 +3586,8 @@ export interface Routes {
3574
3586
  device_id: string;
3575
3587
  device_name: string;
3576
3588
  keypad_battery_critical?: boolean | undefined;
3589
+ keypad_paired?: boolean | undefined;
3590
+ keypad_2_paired?: boolean | undefined;
3577
3591
  } | undefined;
3578
3592
  kwikset_metadata?: {
3579
3593
  device_id: string;
@@ -4078,6 +4092,8 @@ export interface Routes {
4078
4092
  device_id: string;
4079
4093
  device_name: string;
4080
4094
  keypad_battery_critical?: boolean | undefined;
4095
+ keypad_paired?: boolean | undefined;
4096
+ keypad_2_paired?: boolean | undefined;
4081
4097
  } | undefined;
4082
4098
  kwikset_metadata?: {
4083
4099
  device_id: string;
@@ -4607,6 +4623,8 @@ export interface Routes {
4607
4623
  device_id: string;
4608
4624
  device_name: string;
4609
4625
  keypad_battery_critical?: boolean | undefined;
4626
+ keypad_paired?: boolean | undefined;
4627
+ keypad_2_paired?: boolean | undefined;
4610
4628
  } | undefined;
4611
4629
  kwikset_metadata?: {
4612
4630
  device_id: string;
@@ -5111,6 +5129,8 @@ export interface Routes {
5111
5129
  device_id: string;
5112
5130
  device_name: string;
5113
5131
  keypad_battery_critical?: boolean | undefined;
5132
+ keypad_paired?: boolean | undefined;
5133
+ keypad_2_paired?: boolean | undefined;
5114
5134
  } | undefined;
5115
5135
  kwikset_metadata?: {
5116
5136
  device_id: string;
@@ -6256,6 +6276,8 @@ export interface Routes {
6256
6276
  device_id: string;
6257
6277
  device_name: string;
6258
6278
  keypad_battery_critical?: boolean | undefined;
6279
+ keypad_paired?: boolean | undefined;
6280
+ keypad_2_paired?: boolean | undefined;
6259
6281
  } | undefined;
6260
6282
  kwikset_metadata?: {
6261
6283
  device_id: string;
@@ -6861,6 +6883,8 @@ export interface Routes {
6861
6883
  device_id: string;
6862
6884
  device_name: string;
6863
6885
  keypad_battery_critical?: boolean | undefined;
6886
+ keypad_paired?: boolean | undefined;
6887
+ keypad_2_paired?: boolean | undefined;
6864
6888
  } | undefined;
6865
6889
  kwikset_metadata?: {
6866
6890
  device_id: string;
@@ -7649,6 +7673,8 @@ export interface Routes {
7649
7673
  device_id: string;
7650
7674
  device_name: string;
7651
7675
  keypad_battery_critical?: boolean | undefined;
7676
+ keypad_paired?: boolean | undefined;
7677
+ keypad_2_paired?: boolean | undefined;
7652
7678
  } | undefined;
7653
7679
  kwikset_metadata?: {
7654
7680
  device_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.148.0",
3
+ "version": "1.149.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -62,6 +62,8 @@ export const device_metadata = z
62
62
  device_id: z.string(),
63
63
  device_name: z.string(),
64
64
  keypad_battery_critical: z.boolean().optional(),
65
+ keypad_paired: z.boolean().optional(),
66
+ keypad_2_paired: z.boolean().optional(),
65
67
  }),
66
68
 
67
69
  kwikset_metadata: z.object({
@@ -1137,7 +1137,9 @@ export default {
1137
1137
  properties: {
1138
1138
  device_id: { type: 'string' },
1139
1139
  device_name: { type: 'string' },
1140
+ keypad_2_paired: { type: 'boolean' },
1140
1141
  keypad_battery_critical: { type: 'boolean' },
1142
+ keypad_paired: { type: 'boolean' },
1141
1143
  },
1142
1144
  required: ['device_id', 'device_name'],
1143
1145
  type: 'object',
@@ -2237,6 +2239,14 @@ export default {
2237
2239
  accessory_keypad: {
2238
2240
  description: 'Represents the accessory keypad state.',
2239
2241
  properties: {
2242
+ battery: {
2243
+ description: 'Indicates if the keypad battery properties.',
2244
+ properties: {
2245
+ level: { maximum: 1, minimum: 0, type: 'number' },
2246
+ },
2247
+ required: ['level'],
2248
+ type: 'object',
2249
+ },
2240
2250
  is_connected: {
2241
2251
  description:
2242
2252
  'Indicates if the accessory_keypad is connected to the device.',
@@ -7374,9 +7384,10 @@ export default {
7374
7384
  401: { description: 'Unauthorized' },
7375
7385
  },
7376
7386
  security: [
7377
- { access_token: [], seam_workspace: [] },
7378
- { seam_client_session_token: [] },
7379
- { client_session_token: [] },
7387
+ { client_session: [] },
7388
+ { pat_with_workspace: [] },
7389
+ { console_session: [] },
7390
+ { api_key: [] },
7380
7391
  ],
7381
7392
  summary: '/connect_webviews/get',
7382
7393
  tags: ['/connect_webviews'],
@@ -2474,6 +2474,8 @@ export interface Routes {
2474
2474
  device_id: string
2475
2475
  device_name: string
2476
2476
  keypad_battery_critical?: boolean | undefined
2477
+ keypad_paired?: boolean | undefined
2478
+ keypad_2_paired?: boolean | undefined
2477
2479
  }
2478
2480
  | undefined
2479
2481
  kwikset_metadata?:
@@ -3349,6 +3351,8 @@ export interface Routes {
3349
3351
  device_id: string
3350
3352
  device_name: string
3351
3353
  keypad_battery_critical?: boolean | undefined
3354
+ keypad_paired?: boolean | undefined
3355
+ keypad_2_paired?: boolean | undefined
3352
3356
  }
3353
3357
  | undefined
3354
3358
  kwikset_metadata?:
@@ -4042,6 +4046,12 @@ export interface Routes {
4042
4046
  | {
4043
4047
  /** Indicates if the accessory_keypad is connected to the device. */
4044
4048
  is_connected: boolean
4049
+ /** Indicates if the keypad battery properties. */
4050
+ battery?:
4051
+ | {
4052
+ level: number
4053
+ }
4054
+ | undefined
4045
4055
  }
4046
4056
  | undefined
4047
4057
  /**
@@ -4318,6 +4328,12 @@ export interface Routes {
4318
4328
  | {
4319
4329
  /** Indicates if the accessory_keypad is connected to the device. */
4320
4330
  is_connected: boolean
4331
+ /** Indicates if the keypad battery properties. */
4332
+ battery?:
4333
+ | {
4334
+ level: number
4335
+ }
4336
+ | undefined
4321
4337
  }
4322
4338
  | undefined
4323
4339
  /**
@@ -4845,6 +4861,8 @@ export interface Routes {
4845
4861
  device_id: string
4846
4862
  device_name: string
4847
4863
  keypad_battery_critical?: boolean | undefined
4864
+ keypad_paired?: boolean | undefined
4865
+ keypad_2_paired?: boolean | undefined
4848
4866
  }
4849
4867
  | undefined
4850
4868
  kwikset_metadata?:
@@ -5568,6 +5586,8 @@ export interface Routes {
5568
5586
  device_id: string
5569
5587
  device_name: string
5570
5588
  keypad_battery_critical?: boolean | undefined
5589
+ keypad_paired?: boolean | undefined
5590
+ keypad_2_paired?: boolean | undefined
5571
5591
  }
5572
5592
  | undefined
5573
5593
  kwikset_metadata?:
@@ -6443,6 +6463,8 @@ export interface Routes {
6443
6463
  device_id: string
6444
6464
  device_name: string
6445
6465
  keypad_battery_critical?: boolean | undefined
6466
+ keypad_paired?: boolean | undefined
6467
+ keypad_2_paired?: boolean | undefined
6446
6468
  }
6447
6469
  | undefined
6448
6470
  kwikset_metadata?:
@@ -7166,6 +7188,8 @@ export interface Routes {
7166
7188
  device_id: string
7167
7189
  device_name: string
7168
7190
  keypad_battery_critical?: boolean | undefined
7191
+ keypad_paired?: boolean | undefined
7192
+ keypad_2_paired?: boolean | undefined
7169
7193
  }
7170
7194
  | undefined
7171
7195
  kwikset_metadata?:
@@ -8566,6 +8590,8 @@ export interface Routes {
8566
8590
  device_id: string
8567
8591
  device_name: string
8568
8592
  keypad_battery_critical?: boolean | undefined
8593
+ keypad_paired?: boolean | undefined
8594
+ keypad_2_paired?: boolean | undefined
8569
8595
  }
8570
8596
  | undefined
8571
8597
  kwikset_metadata?:
@@ -9523,6 +9549,8 @@ export interface Routes {
9523
9549
  device_id: string
9524
9550
  device_name: string
9525
9551
  keypad_battery_critical?: boolean | undefined
9552
+ keypad_paired?: boolean | undefined
9553
+ keypad_2_paired?: boolean | undefined
9526
9554
  }
9527
9555
  | undefined
9528
9556
  kwikset_metadata?:
@@ -10538,6 +10566,8 @@ export interface Routes {
10538
10566
  device_id: string
10539
10567
  device_name: string
10540
10568
  keypad_battery_critical?: boolean | undefined
10569
+ keypad_paired?: boolean | undefined
10570
+ keypad_2_paired?: boolean | undefined
10541
10571
  }
10542
10572
  | undefined
10543
10573
  kwikset_metadata?: