@seamapi/types 1.255.0 → 1.257.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.
@@ -2536,6 +2536,16 @@ export interface Routes {
2536
2536
  visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
2537
2537
  }> | undefined;
2538
2538
  } | undefined;
2539
+ salto_ks_metadata?: {
2540
+ door_name: string;
2541
+ locked_state: string;
2542
+ lock_type: string;
2543
+ online: boolean;
2544
+ battery_level: string;
2545
+ left_open_alarm: boolean;
2546
+ intrusion_alarm: boolean;
2547
+ privacy_mode: boolean;
2548
+ } | undefined;
2539
2549
  }>;
2540
2550
  };
2541
2551
  };
@@ -2800,6 +2810,7 @@ export interface Routes {
2800
2810
  guest_acs_entrance_ids?: string[] | undefined;
2801
2811
  common_acs_entrance_ids?: string[] | undefined;
2802
2812
  is_valid?: boolean | undefined;
2813
+ auto_join?: boolean | undefined;
2803
2814
  card_id?: string | undefined;
2804
2815
  credential_id?: string | undefined;
2805
2816
  } | undefined;
@@ -2827,6 +2838,7 @@ export interface Routes {
2827
2838
  * @deprecated use override. */
2828
2839
  is_override_key?: boolean | undefined;
2829
2840
  override?: boolean | undefined;
2841
+ auto_join?: boolean | undefined;
2830
2842
  joiner_acs_credential_ids?: string[] | undefined;
2831
2843
  } | undefined;
2832
2844
  starts_at?: string | undefined;
@@ -2869,6 +2881,7 @@ export interface Routes {
2869
2881
  guest_acs_entrance_ids?: string[] | undefined;
2870
2882
  common_acs_entrance_ids?: string[] | undefined;
2871
2883
  is_valid?: boolean | undefined;
2884
+ auto_join?: boolean | undefined;
2872
2885
  card_id?: string | undefined;
2873
2886
  credential_id?: string | undefined;
2874
2887
  } | undefined;
@@ -2932,6 +2945,7 @@ export interface Routes {
2932
2945
  guest_acs_entrance_ids?: string[] | undefined;
2933
2946
  common_acs_entrance_ids?: string[] | undefined;
2934
2947
  is_valid?: boolean | undefined;
2948
+ auto_join?: boolean | undefined;
2935
2949
  card_id?: string | undefined;
2936
2950
  credential_id?: string | undefined;
2937
2951
  } | undefined;
@@ -2995,6 +3009,7 @@ export interface Routes {
2995
3009
  guest_acs_entrance_ids?: string[] | undefined;
2996
3010
  common_acs_entrance_ids?: string[] | undefined;
2997
3011
  is_valid?: boolean | undefined;
3012
+ auto_join?: boolean | undefined;
2998
3013
  card_id?: string | undefined;
2999
3014
  credential_id?: string | undefined;
3000
3015
  } | undefined;
@@ -3035,6 +3050,16 @@ export interface Routes {
3035
3050
  visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
3036
3051
  }> | undefined;
3037
3052
  } | undefined;
3053
+ salto_ks_metadata?: {
3054
+ door_name: string;
3055
+ locked_state: string;
3056
+ lock_type: string;
3057
+ online: boolean;
3058
+ battery_level: string;
3059
+ left_open_alarm: boolean;
3060
+ intrusion_alarm: boolean;
3061
+ privacy_mode: boolean;
3062
+ } | undefined;
3038
3063
  }>;
3039
3064
  };
3040
3065
  };
@@ -3084,6 +3109,7 @@ export interface Routes {
3084
3109
  guest_acs_entrance_ids?: string[] | undefined;
3085
3110
  common_acs_entrance_ids?: string[] | undefined;
3086
3111
  is_valid?: boolean | undefined;
3112
+ auto_join?: boolean | undefined;
3087
3113
  card_id?: string | undefined;
3088
3114
  credential_id?: string | undefined;
3089
3115
  } | undefined;
@@ -3136,6 +3162,7 @@ export interface Routes {
3136
3162
  guest_acs_entrance_ids?: string[] | undefined;
3137
3163
  common_acs_entrance_ids?: string[] | undefined;
3138
3164
  is_valid?: boolean | undefined;
3165
+ auto_join?: boolean | undefined;
3139
3166
  card_id?: string | undefined;
3140
3167
  credential_id?: string | undefined;
3141
3168
  } | undefined;
@@ -3195,6 +3222,7 @@ export interface Routes {
3195
3222
  guest_acs_entrance_ids?: string[] | undefined;
3196
3223
  common_acs_entrance_ids?: string[] | undefined;
3197
3224
  is_valid?: boolean | undefined;
3225
+ auto_join?: boolean | undefined;
3198
3226
  card_id?: string | undefined;
3199
3227
  credential_id?: string | undefined;
3200
3228
  } | undefined;
@@ -3249,6 +3277,7 @@ export interface Routes {
3249
3277
  guest_acs_entrance_ids?: string[] | undefined;
3250
3278
  common_acs_entrance_ids?: string[] | undefined;
3251
3279
  is_valid?: boolean | undefined;
3280
+ auto_join?: boolean | undefined;
3252
3281
  card_id?: string | undefined;
3253
3282
  credential_id?: string | undefined;
3254
3283
  } | undefined;
@@ -4205,6 +4234,16 @@ export interface Routes {
4205
4234
  visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
4206
4235
  }> | undefined;
4207
4236
  } | undefined;
4237
+ salto_ks_metadata?: {
4238
+ door_name: string;
4239
+ locked_state: string;
4240
+ lock_type: string;
4241
+ online: boolean;
4242
+ battery_level: string;
4243
+ left_open_alarm: boolean;
4244
+ intrusion_alarm: boolean;
4245
+ privacy_mode: boolean;
4246
+ } | undefined;
4208
4247
  };
4209
4248
  };
4210
4249
  };
@@ -4254,6 +4293,16 @@ export interface Routes {
4254
4293
  visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
4255
4294
  }> | undefined;
4256
4295
  } | undefined;
4296
+ salto_ks_metadata?: {
4297
+ door_name: string;
4298
+ locked_state: string;
4299
+ lock_type: string;
4300
+ online: boolean;
4301
+ battery_level: string;
4302
+ left_open_alarm: boolean;
4303
+ intrusion_alarm: boolean;
4304
+ privacy_mode: boolean;
4305
+ } | undefined;
4257
4306
  }>;
4258
4307
  };
4259
4308
  };
@@ -4303,6 +4352,7 @@ export interface Routes {
4303
4352
  guest_acs_entrance_ids?: string[] | undefined;
4304
4353
  common_acs_entrance_ids?: string[] | undefined;
4305
4354
  is_valid?: boolean | undefined;
4355
+ auto_join?: boolean | undefined;
4306
4356
  card_id?: string | undefined;
4307
4357
  credential_id?: string | undefined;
4308
4358
  } | undefined;
@@ -5003,6 +5053,16 @@ export interface Routes {
5003
5053
  visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
5004
5054
  }> | undefined;
5005
5055
  } | undefined;
5056
+ salto_ks_metadata?: {
5057
+ door_name: string;
5058
+ locked_state: string;
5059
+ lock_type: string;
5060
+ online: boolean;
5061
+ battery_level: string;
5062
+ left_open_alarm: boolean;
5063
+ intrusion_alarm: boolean;
5064
+ privacy_mode: boolean;
5065
+ } | undefined;
5006
5066
  }>;
5007
5067
  };
5008
5068
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.255.0",
3
+ "version": "1.257.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2,6 +2,7 @@ import { z } from 'zod'
2
2
 
3
3
  import {
4
4
  acs_entrance_latch_metadata,
5
+ acs_entrance_salto_ks_metadata,
5
6
  acs_entrance_visionline_metadata,
6
7
  } from './metadata/index.js'
7
8
 
@@ -18,6 +19,7 @@ export const acs_entrance = z.object({
18
19
  ),
19
20
  latch_metadata: acs_entrance_latch_metadata.optional(),
20
21
  visionline_metadata: acs_entrance_visionline_metadata.optional(),
22
+ salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
21
23
  })
22
24
 
23
25
  export type AcsEntrance = z.infer<typeof acs_entrance>
@@ -1,9 +1,16 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const acs_entrance_salto_metadata = z.object({
3
+ export const acs_entrance_salto_ks_metadata = z.object({
4
4
  door_name: z.string(),
5
+ locked_state: z.string(),
6
+ lock_type: z.string(),
7
+ online: z.boolean(),
8
+ battery_level: z.string(),
9
+ left_open_alarm: z.boolean(),
10
+ intrusion_alarm: z.boolean(),
11
+ privacy_mode: z.boolean(),
5
12
  })
6
13
 
7
- export type AcsEntranceSaltoMetadata = z.infer<
8
- typeof acs_entrance_salto_metadata
14
+ export type AcsEntranceSaltoKSMetadata = z.infer<
15
+ typeof acs_entrance_salto_ks_metadata
9
16
  >
@@ -25,6 +25,7 @@ export const acs_credential_visionline_metadata = z.object({
25
25
  guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
26
26
  common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
27
27
  is_valid: z.boolean().optional(),
28
+ auto_join: z.boolean().optional(),
28
29
  card_id: z.string().optional(),
29
30
  credential_id: z.string().optional(),
30
31
  })
@@ -286,6 +286,7 @@ export default {
286
286
  starts_at: { type: 'string' },
287
287
  visionline_metadata: {
288
288
  properties: {
289
+ auto_join: { type: 'boolean' },
289
290
  card_function_type: { enum: ['guest', 'staff'], type: 'string' },
290
291
  card_id: { type: 'string' },
291
292
  common_acs_entrance_ids: {
@@ -405,6 +406,29 @@ export default {
405
406
  ],
406
407
  type: 'object',
407
408
  },
409
+ salto_ks_metadata: {
410
+ properties: {
411
+ battery_level: { type: 'string' },
412
+ door_name: { type: 'string' },
413
+ intrusion_alarm: { type: 'boolean' },
414
+ left_open_alarm: { type: 'boolean' },
415
+ lock_type: { type: 'string' },
416
+ locked_state: { type: 'string' },
417
+ online: { type: 'boolean' },
418
+ privacy_mode: { type: 'boolean' },
419
+ },
420
+ required: [
421
+ 'door_name',
422
+ 'locked_state',
423
+ 'lock_type',
424
+ 'online',
425
+ 'battery_level',
426
+ 'left_open_alarm',
427
+ 'intrusion_alarm',
428
+ 'privacy_mode',
429
+ ],
430
+ type: 'object',
431
+ },
408
432
  visionline_metadata: {
409
433
  properties: {
410
434
  door_category: {
@@ -6627,6 +6651,7 @@ export default {
6627
6651
  format: 'uuid',
6628
6652
  type: 'string',
6629
6653
  },
6654
+ auto_join: { type: 'boolean' },
6630
6655
  card_format: {
6631
6656
  enum: ['TLCode', 'rfid48'],
6632
6657
  type: 'string',
@@ -7099,6 +7124,7 @@ export default {
7099
7124
  starts_at: { type: 'string' },
7100
7125
  visionline_metadata: {
7101
7126
  properties: {
7127
+ auto_join: { type: 'boolean' },
7102
7128
  card_function_type: {
7103
7129
  enum: ['guest', 'staff'],
7104
7130
  type: 'string',
@@ -7283,6 +7309,7 @@ export default {
7283
7309
  starts_at: { type: 'string' },
7284
7310
  visionline_metadata: {
7285
7311
  properties: {
7312
+ auto_join: { type: 'boolean' },
7286
7313
  card_function_type: {
7287
7314
  enum: ['guest', 'staff'],
7288
7315
  type: 'string',
@@ -2811,6 +2811,18 @@ export interface Routes {
2811
2811
  | undefined
2812
2812
  }
2813
2813
  | undefined
2814
+ salto_ks_metadata?:
2815
+ | {
2816
+ door_name: string
2817
+ locked_state: string
2818
+ lock_type: string
2819
+ online: boolean
2820
+ battery_level: string
2821
+ left_open_alarm: boolean
2822
+ intrusion_alarm: boolean
2823
+ privacy_mode: boolean
2824
+ }
2825
+ | undefined
2814
2826
  }>
2815
2827
  }
2816
2828
  }
@@ -3119,6 +3131,7 @@ export interface Routes {
3119
3131
  guest_acs_entrance_ids?: string[] | undefined
3120
3132
  common_acs_entrance_ids?: string[] | undefined
3121
3133
  is_valid?: boolean | undefined
3134
+ auto_join?: boolean | undefined
3122
3135
  card_id?: string | undefined
3123
3136
  credential_id?: string | undefined
3124
3137
  }
@@ -3150,6 +3163,7 @@ export interface Routes {
3150
3163
  * @deprecated use override. */
3151
3164
  is_override_key?: boolean | undefined
3152
3165
  override?: boolean | undefined
3166
+ auto_join?: boolean | undefined
3153
3167
  joiner_acs_credential_ids?: string[] | undefined
3154
3168
  }
3155
3169
  | undefined
@@ -3202,6 +3216,7 @@ export interface Routes {
3202
3216
  guest_acs_entrance_ids?: string[] | undefined
3203
3217
  common_acs_entrance_ids?: string[] | undefined
3204
3218
  is_valid?: boolean | undefined
3219
+ auto_join?: boolean | undefined
3205
3220
  card_id?: string | undefined
3206
3221
  credential_id?: string | undefined
3207
3222
  }
@@ -3275,6 +3290,7 @@ export interface Routes {
3275
3290
  guest_acs_entrance_ids?: string[] | undefined
3276
3291
  common_acs_entrance_ids?: string[] | undefined
3277
3292
  is_valid?: boolean | undefined
3293
+ auto_join?: boolean | undefined
3278
3294
  card_id?: string | undefined
3279
3295
  credential_id?: string | undefined
3280
3296
  }
@@ -3353,6 +3369,7 @@ export interface Routes {
3353
3369
  guest_acs_entrance_ids?: string[] | undefined
3354
3370
  common_acs_entrance_ids?: string[] | undefined
3355
3371
  is_valid?: boolean | undefined
3372
+ auto_join?: boolean | undefined
3356
3373
  card_id?: string | undefined
3357
3374
  credential_id?: string | undefined
3358
3375
  }
@@ -3405,6 +3422,18 @@ export interface Routes {
3405
3422
  | undefined
3406
3423
  }
3407
3424
  | undefined
3425
+ salto_ks_metadata?:
3426
+ | {
3427
+ door_name: string
3428
+ locked_state: string
3429
+ lock_type: string
3430
+ online: boolean
3431
+ battery_level: string
3432
+ left_open_alarm: boolean
3433
+ intrusion_alarm: boolean
3434
+ privacy_mode: boolean
3435
+ }
3436
+ | undefined
3408
3437
  }>
3409
3438
  }
3410
3439
  }
@@ -3463,6 +3492,7 @@ export interface Routes {
3463
3492
  guest_acs_entrance_ids?: string[] | undefined
3464
3493
  common_acs_entrance_ids?: string[] | undefined
3465
3494
  is_valid?: boolean | undefined
3495
+ auto_join?: boolean | undefined
3466
3496
  card_id?: string | undefined
3467
3497
  credential_id?: string | undefined
3468
3498
  }
@@ -3525,6 +3555,7 @@ export interface Routes {
3525
3555
  guest_acs_entrance_ids?: string[] | undefined
3526
3556
  common_acs_entrance_ids?: string[] | undefined
3527
3557
  is_valid?: boolean | undefined
3558
+ auto_join?: boolean | undefined
3528
3559
  card_id?: string | undefined
3529
3560
  credential_id?: string | undefined
3530
3561
  }
@@ -3598,6 +3629,7 @@ export interface Routes {
3598
3629
  guest_acs_entrance_ids?: string[] | undefined
3599
3630
  common_acs_entrance_ids?: string[] | undefined
3600
3631
  is_valid?: boolean | undefined
3632
+ auto_join?: boolean | undefined
3601
3633
  card_id?: string | undefined
3602
3634
  credential_id?: string | undefined
3603
3635
  }
@@ -3662,6 +3694,7 @@ export interface Routes {
3662
3694
  guest_acs_entrance_ids?: string[] | undefined
3663
3695
  common_acs_entrance_ids?: string[] | undefined
3664
3696
  is_valid?: boolean | undefined
3697
+ auto_join?: boolean | undefined
3665
3698
  card_id?: string | undefined
3666
3699
  credential_id?: string | undefined
3667
3700
  }
@@ -4742,6 +4775,18 @@ export interface Routes {
4742
4775
  | undefined
4743
4776
  }
4744
4777
  | undefined
4778
+ salto_ks_metadata?:
4779
+ | {
4780
+ door_name: string
4781
+ locked_state: string
4782
+ lock_type: string
4783
+ online: boolean
4784
+ battery_level: string
4785
+ left_open_alarm: boolean
4786
+ intrusion_alarm: boolean
4787
+ privacy_mode: boolean
4788
+ }
4789
+ | undefined
4745
4790
  }
4746
4791
  }
4747
4792
  }
@@ -4802,6 +4847,18 @@ export interface Routes {
4802
4847
  | undefined
4803
4848
  }
4804
4849
  | undefined
4850
+ salto_ks_metadata?:
4851
+ | {
4852
+ door_name: string
4853
+ locked_state: string
4854
+ lock_type: string
4855
+ online: boolean
4856
+ battery_level: string
4857
+ left_open_alarm: boolean
4858
+ intrusion_alarm: boolean
4859
+ privacy_mode: boolean
4860
+ }
4861
+ | undefined
4805
4862
  }>
4806
4863
  }
4807
4864
  }
@@ -4860,6 +4917,7 @@ export interface Routes {
4860
4917
  guest_acs_entrance_ids?: string[] | undefined
4861
4918
  common_acs_entrance_ids?: string[] | undefined
4862
4919
  is_valid?: boolean | undefined
4920
+ auto_join?: boolean | undefined
4863
4921
  card_id?: string | undefined
4864
4922
  credential_id?: string | undefined
4865
4923
  }
@@ -5721,6 +5779,18 @@ export interface Routes {
5721
5779
  | undefined
5722
5780
  }
5723
5781
  | undefined
5782
+ salto_ks_metadata?:
5783
+ | {
5784
+ door_name: string
5785
+ locked_state: string
5786
+ lock_type: string
5787
+ online: boolean
5788
+ battery_level: string
5789
+ left_open_alarm: boolean
5790
+ intrusion_alarm: boolean
5791
+ privacy_mode: boolean
5792
+ }
5793
+ | undefined
5724
5794
  }>
5725
5795
  }
5726
5796
  }