@seamapi/types 1.272.0 → 1.274.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.
@@ -3204,7 +3204,9 @@ export interface Routes {
3204
3204
  queryParams: {};
3205
3205
  jsonBody: {};
3206
3206
  commonParams: {
3207
+ /** ID of the desired access group. */
3207
3208
  acs_access_group_id: string;
3209
+ /** ID of the desired user. */
3208
3210
  acs_user_id: string;
3209
3211
  };
3210
3212
  formData: {};
@@ -3216,14 +3218,24 @@ export interface Routes {
3216
3218
  queryParams: {};
3217
3219
  jsonBody: {};
3218
3220
  commonParams: {
3221
+ /** ID of the desired access group. */
3219
3222
  acs_access_group_id: string;
3220
3223
  };
3221
3224
  formData: {};
3222
3225
  jsonResponse: {
3226
+ /**
3227
+ Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
3228
+
3229
+ The `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
3230
+ */
3223
3231
  acs_access_group: {
3232
+ /** ID of the access group. */
3224
3233
  acs_access_group_id: string;
3234
+ /** ID of the access control system that contains the access group. */
3225
3235
  acs_system_id: string;
3236
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
3226
3237
  workspace_id: string;
3238
+ /** Name of the access group. */
3227
3239
  name: string;
3228
3240
  /**
3229
3241
  * @deprecated use external_type */
@@ -3232,8 +3244,11 @@ export interface Routes {
3232
3244
  * @deprecated use external_type_display_name */
3233
3245
  access_group_type_display_name: string;
3234
3246
  display_name: string;
3247
+ /** Brand-specific terminology for the access group type. */
3235
3248
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3249
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
3236
3250
  external_type_display_name: string;
3251
+ /** Date and time at which the access group was created. */
3237
3252
  created_at: string;
3238
3253
  is_managed: true;
3239
3254
  };
@@ -3245,15 +3260,21 @@ export interface Routes {
3245
3260
  queryParams: {};
3246
3261
  jsonBody: {};
3247
3262
  commonParams: {
3263
+ /** ID of the access control system for which you want to retrieve all access groups. */
3248
3264
  acs_system_id?: string | undefined;
3265
+ /** ID of the user for which you want to retrieve all access groups. */
3249
3266
  acs_user_id?: string | undefined;
3250
3267
  };
3251
3268
  formData: {};
3252
3269
  jsonResponse: {
3253
3270
  acs_access_groups: Array<{
3271
+ /** ID of the access group. */
3254
3272
  acs_access_group_id: string;
3273
+ /** ID of the access control system that contains the access group. */
3255
3274
  acs_system_id: string;
3275
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
3256
3276
  workspace_id: string;
3277
+ /** Name of the access group. */
3257
3278
  name: string;
3258
3279
  /**
3259
3280
  * @deprecated use external_type */
@@ -3262,8 +3283,11 @@ export interface Routes {
3262
3283
  * @deprecated use external_type_display_name */
3263
3284
  access_group_type_display_name: string;
3264
3285
  display_name: string;
3286
+ /** Brand-specific terminology for the access group type. */
3265
3287
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3288
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
3266
3289
  external_type_display_name: string;
3290
+ /** Date and time at which the access group was created. */
3267
3291
  created_at: string;
3268
3292
  is_managed: true;
3269
3293
  }>;
@@ -3275,6 +3299,7 @@ export interface Routes {
3275
3299
  queryParams: {};
3276
3300
  jsonBody: {};
3277
3301
  commonParams: {
3302
+ /** ID of the access group for which you want to retrieve all accessible entrances. */
3278
3303
  acs_access_group_id: string;
3279
3304
  };
3280
3305
  formData: {};
@@ -3325,6 +3350,7 @@ export interface Routes {
3325
3350
  queryParams: {};
3326
3351
  jsonBody: {};
3327
3352
  commonParams: {
3353
+ /** ID of the access group for which you want to retrieve all users. */
3328
3354
  acs_access_group_id: string;
3329
3355
  };
3330
3356
  formData: {};
@@ -3425,7 +3451,9 @@ export interface Routes {
3425
3451
  queryParams: {};
3426
3452
  jsonBody: {};
3427
3453
  commonParams: {
3454
+ /** ID of the desired access group. */
3428
3455
  acs_access_group_id: string;
3456
+ /** ID of the desired user. */
3429
3457
  acs_user_id: string;
3430
3458
  };
3431
3459
  formData: {};
@@ -3437,14 +3465,19 @@ export interface Routes {
3437
3465
  queryParams: {};
3438
3466
  jsonBody: {};
3439
3467
  commonParams: {
3468
+ /** ID of the desired unmanaged access group. */
3440
3469
  acs_access_group_id: string;
3441
3470
  };
3442
3471
  formData: {};
3443
3472
  jsonResponse: {
3444
3473
  acs_access_group: {
3474
+ /** ID of the access group. */
3445
3475
  acs_access_group_id: string;
3476
+ /** ID of the access control system that contains the access group. */
3446
3477
  acs_system_id: string;
3478
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
3447
3479
  workspace_id: string;
3480
+ /** Name of the access group. */
3448
3481
  name: string;
3449
3482
  /**
3450
3483
  * @deprecated use external_type */
@@ -3453,8 +3486,11 @@ export interface Routes {
3453
3486
  * @deprecated use external_type_display_name */
3454
3487
  access_group_type_display_name: string;
3455
3488
  display_name: string;
3489
+ /** Brand-specific terminology for the access group type. */
3456
3490
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3491
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
3457
3492
  external_type_display_name: string;
3493
+ /** Date and time at which the access group was created. */
3458
3494
  created_at: string;
3459
3495
  is_managed: false;
3460
3496
  };
@@ -3466,15 +3502,21 @@ export interface Routes {
3466
3502
  queryParams: {};
3467
3503
  jsonBody: {};
3468
3504
  commonParams: {
3505
+ /** ID of the access control system for which you want to retrieve all unmanaged access groups. */
3469
3506
  acs_system_id?: string | undefined;
3507
+ /** ID of the user for which you want to retrieve all unmanaged access groups. */
3470
3508
  acs_user_id?: string | undefined;
3471
3509
  };
3472
3510
  formData: {};
3473
3511
  jsonResponse: {
3474
3512
  acs_access_groups: Array<{
3513
+ /** ID of the access group. */
3475
3514
  acs_access_group_id: string;
3515
+ /** ID of the access control system that contains the access group. */
3476
3516
  acs_system_id: string;
3517
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
3477
3518
  workspace_id: string;
3519
+ /** Name of the access group. */
3478
3520
  name: string;
3479
3521
  /**
3480
3522
  * @deprecated use external_type */
@@ -3483,8 +3525,11 @@ export interface Routes {
3483
3525
  * @deprecated use external_type_display_name */
3484
3526
  access_group_type_display_name: string;
3485
3527
  display_name: string;
3528
+ /** Brand-specific terminology for the access group type. */
3486
3529
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3530
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
3487
3531
  external_type_display_name: string;
3532
+ /** Date and time at which the access group was created. */
3488
3533
  created_at: string;
3489
3534
  is_managed: false;
3490
3535
  }>;
@@ -4855,6 +4900,10 @@ export interface Routes {
4855
4900
  device_name: string;
4856
4901
  model_number: string;
4857
4902
  } | undefined;
4903
+ /**
4904
+ ---
4905
+ deprecated: Use `salto_ks_metadata ` instead.
4906
+ */
4858
4907
  salto_metadata?: {
4859
4908
  lock_id: string;
4860
4909
  customer_reference: string;
@@ -4863,6 +4912,14 @@ export interface Routes {
4863
4912
  locked_state: string;
4864
4913
  model?: string | undefined;
4865
4914
  } | undefined;
4915
+ salto_ks_metadata?: {
4916
+ lock_id: string;
4917
+ customer_reference: string;
4918
+ lock_type: string;
4919
+ battery_level: string;
4920
+ locked_state: string;
4921
+ model?: string | undefined;
4922
+ } | undefined;
4866
4923
  genie_metadata?: {
4867
4924
  device_name: string;
4868
4925
  door_name: string;
@@ -8831,6 +8888,10 @@ export interface Routes {
8831
8888
  device_name: string;
8832
8889
  model_number: string;
8833
8890
  } | undefined;
8891
+ /**
8892
+ ---
8893
+ deprecated: Use `salto_ks_metadata ` instead.
8894
+ */
8834
8895
  salto_metadata?: {
8835
8896
  lock_id: string;
8836
8897
  customer_reference: string;
@@ -8839,6 +8900,14 @@ export interface Routes {
8839
8900
  locked_state: string;
8840
8901
  model?: string | undefined;
8841
8902
  } | undefined;
8903
+ salto_ks_metadata?: {
8904
+ lock_id: string;
8905
+ customer_reference: string;
8906
+ lock_type: string;
8907
+ battery_level: string;
8908
+ locked_state: string;
8909
+ model?: string | undefined;
8910
+ } | undefined;
8842
8911
  genie_metadata?: {
8843
8912
  device_name: string;
8844
8913
  door_name: string;
@@ -9297,6 +9366,10 @@ export interface Routes {
9297
9366
  device_name: string;
9298
9367
  model_number: string;
9299
9368
  } | undefined;
9369
+ /**
9370
+ ---
9371
+ deprecated: Use `salto_ks_metadata ` instead.
9372
+ */
9300
9373
  salto_metadata?: {
9301
9374
  lock_id: string;
9302
9375
  customer_reference: string;
@@ -9305,6 +9378,14 @@ export interface Routes {
9305
9378
  locked_state: string;
9306
9379
  model?: string | undefined;
9307
9380
  } | undefined;
9381
+ salto_ks_metadata?: {
9382
+ lock_id: string;
9383
+ customer_reference: string;
9384
+ lock_type: string;
9385
+ battery_level: string;
9386
+ locked_state: string;
9387
+ model?: string | undefined;
9388
+ } | undefined;
9308
9389
  genie_metadata?: {
9309
9390
  device_name: string;
9310
9391
  door_name: string;
@@ -10163,6 +10244,10 @@ export interface Routes {
10163
10244
  device_name: string;
10164
10245
  model_number: string;
10165
10246
  } | undefined;
10247
+ /**
10248
+ ---
10249
+ deprecated: Use `salto_ks_metadata ` instead.
10250
+ */
10166
10251
  salto_metadata?: {
10167
10252
  lock_id: string;
10168
10253
  customer_reference: string;
@@ -10171,6 +10256,14 @@ export interface Routes {
10171
10256
  locked_state: string;
10172
10257
  model?: string | undefined;
10173
10258
  } | undefined;
10259
+ salto_ks_metadata?: {
10260
+ lock_id: string;
10261
+ customer_reference: string;
10262
+ lock_type: string;
10263
+ battery_level: string;
10264
+ locked_state: string;
10265
+ model?: string | undefined;
10266
+ } | undefined;
10174
10267
  genie_metadata?: {
10175
10268
  device_name: string;
10176
10269
  door_name: string;
@@ -10604,6 +10697,10 @@ export interface Routes {
10604
10697
  device_name: string;
10605
10698
  model_number: string;
10606
10699
  } | undefined;
10700
+ /**
10701
+ ---
10702
+ deprecated: Use `salto_ks_metadata ` instead.
10703
+ */
10607
10704
  salto_metadata?: {
10608
10705
  lock_id: string;
10609
10706
  customer_reference: string;
@@ -10612,6 +10709,14 @@ export interface Routes {
10612
10709
  locked_state: string;
10613
10710
  model?: string | undefined;
10614
10711
  } | undefined;
10712
+ salto_ks_metadata?: {
10713
+ lock_id: string;
10714
+ customer_reference: string;
10715
+ lock_type: string;
10716
+ battery_level: string;
10717
+ locked_state: string;
10718
+ model?: string | undefined;
10719
+ } | undefined;
10615
10720
  genie_metadata?: {
10616
10721
  device_name: string;
10617
10722
  door_name: string;
@@ -11070,6 +11175,10 @@ export interface Routes {
11070
11175
  device_name: string;
11071
11176
  model_number: string;
11072
11177
  } | undefined;
11178
+ /**
11179
+ ---
11180
+ deprecated: Use `salto_ks_metadata ` instead.
11181
+ */
11073
11182
  salto_metadata?: {
11074
11183
  lock_id: string;
11075
11184
  customer_reference: string;
@@ -11078,6 +11187,14 @@ export interface Routes {
11078
11187
  locked_state: string;
11079
11188
  model?: string | undefined;
11080
11189
  } | undefined;
11190
+ salto_ks_metadata?: {
11191
+ lock_id: string;
11192
+ customer_reference: string;
11193
+ lock_type: string;
11194
+ battery_level: string;
11195
+ locked_state: string;
11196
+ model?: string | undefined;
11197
+ } | undefined;
11081
11198
  genie_metadata?: {
11082
11199
  device_name: string;
11083
11200
  door_name: string;
@@ -11511,6 +11628,10 @@ export interface Routes {
11511
11628
  device_name: string;
11512
11629
  model_number: string;
11513
11630
  } | undefined;
11631
+ /**
11632
+ ---
11633
+ deprecated: Use `salto_ks_metadata ` instead.
11634
+ */
11514
11635
  salto_metadata?: {
11515
11636
  lock_id: string;
11516
11637
  customer_reference: string;
@@ -11519,6 +11640,14 @@ export interface Routes {
11519
11640
  locked_state: string;
11520
11641
  model?: string | undefined;
11521
11642
  } | undefined;
11643
+ salto_ks_metadata?: {
11644
+ lock_id: string;
11645
+ customer_reference: string;
11646
+ lock_type: string;
11647
+ battery_level: string;
11648
+ locked_state: string;
11649
+ model?: string | undefined;
11650
+ } | undefined;
11522
11651
  genie_metadata?: {
11523
11652
  device_name: string;
11524
11653
  door_name: string;
@@ -13297,6 +13426,10 @@ export interface Routes {
13297
13426
  device_name: string;
13298
13427
  model_number: string;
13299
13428
  } | undefined;
13429
+ /**
13430
+ ---
13431
+ deprecated: Use `salto_ks_metadata ` instead.
13432
+ */
13300
13433
  salto_metadata?: {
13301
13434
  lock_id: string;
13302
13435
  customer_reference: string;
@@ -13305,6 +13438,14 @@ export interface Routes {
13305
13438
  locked_state: string;
13306
13439
  model?: string | undefined;
13307
13440
  } | undefined;
13441
+ salto_ks_metadata?: {
13442
+ lock_id: string;
13443
+ customer_reference: string;
13444
+ lock_type: string;
13445
+ battery_level: string;
13446
+ locked_state: string;
13447
+ model?: string | undefined;
13448
+ } | undefined;
13308
13449
  genie_metadata?: {
13309
13450
  device_name: string;
13310
13451
  door_name: string;
@@ -13738,6 +13879,10 @@ export interface Routes {
13738
13879
  device_name: string;
13739
13880
  model_number: string;
13740
13881
  } | undefined;
13882
+ /**
13883
+ ---
13884
+ deprecated: Use `salto_ks_metadata ` instead.
13885
+ */
13741
13886
  salto_metadata?: {
13742
13887
  lock_id: string;
13743
13888
  customer_reference: string;
@@ -13746,6 +13891,14 @@ export interface Routes {
13746
13891
  locked_state: string;
13747
13892
  model?: string | undefined;
13748
13893
  } | undefined;
13894
+ salto_ks_metadata?: {
13895
+ lock_id: string;
13896
+ customer_reference: string;
13897
+ lock_type: string;
13898
+ battery_level: string;
13899
+ locked_state: string;
13900
+ model?: string | undefined;
13901
+ } | undefined;
13749
13902
  genie_metadata?: {
13750
13903
  device_name: string;
13751
13904
  door_name: string;
@@ -17687,6 +17840,10 @@ export interface Routes {
17687
17840
  device_name: string;
17688
17841
  model_number: string;
17689
17842
  } | undefined;
17843
+ /**
17844
+ ---
17845
+ deprecated: Use `salto_ks_metadata ` instead.
17846
+ */
17690
17847
  salto_metadata?: {
17691
17848
  lock_id: string;
17692
17849
  customer_reference: string;
@@ -17695,6 +17852,14 @@ export interface Routes {
17695
17852
  locked_state: string;
17696
17853
  model?: string | undefined;
17697
17854
  } | undefined;
17855
+ salto_ks_metadata?: {
17856
+ lock_id: string;
17857
+ customer_reference: string;
17858
+ lock_type: string;
17859
+ battery_level: string;
17860
+ locked_state: string;
17861
+ model?: string | undefined;
17862
+ } | undefined;
17698
17863
  genie_metadata?: {
17699
17864
  device_name: string;
17700
17865
  door_name: string;
@@ -19445,6 +19610,10 @@ export interface Routes {
19445
19610
  device_name: string;
19446
19611
  model_number: string;
19447
19612
  } | undefined;
19613
+ /**
19614
+ ---
19615
+ deprecated: Use `salto_ks_metadata ` instead.
19616
+ */
19448
19617
  salto_metadata?: {
19449
19618
  lock_id: string;
19450
19619
  customer_reference: string;
@@ -19453,6 +19622,14 @@ export interface Routes {
19453
19622
  locked_state: string;
19454
19623
  model?: string | undefined;
19455
19624
  } | undefined;
19625
+ salto_ks_metadata?: {
19626
+ lock_id: string;
19627
+ customer_reference: string;
19628
+ lock_type: string;
19629
+ battery_level: string;
19630
+ locked_state: string;
19631
+ model?: string | undefined;
19632
+ } | undefined;
19456
19633
  genie_metadata?: {
19457
19634
  device_name: string;
19458
19635
  door_name: string;
@@ -19886,6 +20063,10 @@ export interface Routes {
19886
20063
  device_name: string;
19887
20064
  model_number: string;
19888
20065
  } | undefined;
20066
+ /**
20067
+ ---
20068
+ deprecated: Use `salto_ks_metadata ` instead.
20069
+ */
19889
20070
  salto_metadata?: {
19890
20071
  lock_id: string;
19891
20072
  customer_reference: string;
@@ -19894,6 +20075,14 @@ export interface Routes {
19894
20075
  locked_state: string;
19895
20076
  model?: string | undefined;
19896
20077
  } | undefined;
20078
+ salto_ks_metadata?: {
20079
+ lock_id: string;
20080
+ customer_reference: string;
20081
+ lock_type: string;
20082
+ battery_level: string;
20083
+ locked_state: string;
20084
+ model?: string | undefined;
20085
+ } | undefined;
19897
20086
  genie_metadata?: {
19898
20087
  device_name: string;
19899
20088
  door_name: string;
@@ -21945,6 +22134,10 @@ export interface Routes {
21945
22134
  device_name: string;
21946
22135
  model_number: string;
21947
22136
  } | undefined;
22137
+ /**
22138
+ ---
22139
+ deprecated: Use `salto_ks_metadata ` instead.
22140
+ */
21948
22141
  salto_metadata?: {
21949
22142
  lock_id: string;
21950
22143
  customer_reference: string;
@@ -21953,6 +22146,14 @@ export interface Routes {
21953
22146
  locked_state: string;
21954
22147
  model?: string | undefined;
21955
22148
  } | undefined;
22149
+ salto_ks_metadata?: {
22150
+ lock_id: string;
22151
+ customer_reference: string;
22152
+ lock_type: string;
22153
+ battery_level: string;
22154
+ locked_state: string;
22155
+ model?: string | undefined;
22156
+ } | undefined;
21956
22157
  genie_metadata?: {
21957
22158
  device_name: string;
21958
22159
  door_name: string;
@@ -22388,6 +22589,10 @@ export interface Routes {
22388
22589
  device_name: string;
22389
22590
  model_number: string;
22390
22591
  } | undefined;
22592
+ /**
22593
+ ---
22594
+ deprecated: Use `salto_ks_metadata ` instead.
22595
+ */
22391
22596
  salto_metadata?: {
22392
22597
  lock_id: string;
22393
22598
  customer_reference: string;
@@ -22396,6 +22601,14 @@ export interface Routes {
22396
22601
  locked_state: string;
22397
22602
  model?: string | undefined;
22398
22603
  } | undefined;
22604
+ salto_ks_metadata?: {
22605
+ lock_id: string;
22606
+ customer_reference: string;
22607
+ lock_type: string;
22608
+ battery_level: string;
22609
+ locked_state: string;
22610
+ model?: string | undefined;
22611
+ } | undefined;
22399
22612
  genie_metadata?: {
22400
22613
  device_name: string;
22401
22614
  door_name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.272.0",
3
+ "version": "1.274.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -13,10 +13,20 @@ export type AcsAccessGroupExternalType = z.infer<
13
13
  >
14
14
 
15
15
  const common_acs_access_group = z.object({
16
- acs_access_group_id: z.string().uuid(),
17
- acs_system_id: z.string().uuid(),
18
- workspace_id: z.string().uuid(),
19
- name: z.string(),
16
+ acs_access_group_id: z.string().uuid().describe('ID of the access group.'),
17
+ acs_system_id: z
18
+ .string()
19
+ .uuid()
20
+ .describe(
21
+ 'ID of the access control system that contains the access group.',
22
+ ),
23
+ workspace_id: z
24
+ .string()
25
+ .uuid()
26
+ .describe(
27
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.',
28
+ ),
29
+ name: z.string().describe('Name of the access group.'),
20
30
  access_group_type: acs_access_group_external_type.describe(`
21
31
  ---
22
32
  deprecated: use external_type
@@ -28,14 +38,27 @@ const common_acs_access_group = z.object({
28
38
  ---
29
39
  `),
30
40
  display_name: z.string(),
31
- external_type: acs_access_group_external_type,
32
- external_type_display_name: z.string(),
33
- created_at: z.string().datetime(),
41
+ external_type: acs_access_group_external_type.describe(
42
+ 'Brand-specific terminology for the access group type.',
43
+ ),
44
+ external_type_display_name: z
45
+ .string()
46
+ .describe(
47
+ 'Display name that corresponds to the brand-specific terminology for the access group type.',
48
+ ),
49
+ created_at: z
50
+ .string()
51
+ .datetime()
52
+ .describe('Date and time at which the access group was created.'),
34
53
  })
35
54
 
36
55
  export const acs_access_group = common_acs_access_group.extend({
37
56
  is_managed: z.literal(true),
38
- })
57
+ }).describe(`
58
+ Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
59
+
60
+ The \`acs_access_group\` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
61
+ `)
39
62
  export const unmanaged_acs_access_group = common_acs_access_group.extend({
40
63
  is_managed: z.literal(false),
41
64
  })
@@ -72,7 +72,6 @@ export const device_metadata = z
72
72
  device_name: z.string(),
73
73
  model_number: z.string(),
74
74
  }),
75
-
76
75
  salto_metadata: z.object({
77
76
  lock_id: z.string(),
78
77
  customer_reference: z.string(),
@@ -80,6 +79,17 @@ export const device_metadata = z
80
79
  battery_level: z.string(),
81
80
  locked_state: z.string(),
82
81
  model: z.string().optional(),
82
+ }).describe(`
83
+ ---
84
+ deprecated: Use \`salto_ks_metadata \` instead.
85
+ `),
86
+ salto_ks_metadata: z.object({
87
+ lock_id: z.string(),
88
+ customer_reference: z.string(),
89
+ lock_type: z.string(),
90
+ battery_level: z.string(),
91
+ locked_state: z.string(),
92
+ model: z.string().optional(),
83
93
  }),
84
94
 
85
95
  genie_metadata: z.object({