@seamapi/types 1.872.0 → 1.873.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.
@@ -13886,6 +13886,13 @@ export type Routes = {
13886
13886
  message: string;
13887
13887
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13888
13888
  warning_code: 'entrance_setup_required';
13889
+ } | {
13890
+ /** Date and time at which Seam created the warning. */
13891
+ created_at: string;
13892
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13893
+ message: string;
13894
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13895
+ warning_code: 'salto_ks_privacy_mode';
13889
13896
  })[];
13890
13897
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
13891
13898
  latch_metadata?: {
@@ -14004,6 +14011,8 @@ export type Routes = {
14004
14011
  /** Total count of entry relays for an Avigilon Alta system. */
14005
14012
  entry_relays_total_count: number;
14006
14013
  } | undefined;
14014
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
14015
+ is_locked?: boolean | undefined;
14007
14016
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
14008
14017
  can_unlock_with_mobile_key?: boolean | undefined;
14009
14018
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -18572,6 +18581,13 @@ export type Routes = {
18572
18581
  message: string;
18573
18582
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18574
18583
  warning_code: 'entrance_setup_required';
18584
+ } | {
18585
+ /** Date and time at which Seam created the warning. */
18586
+ created_at: string;
18587
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18588
+ message: string;
18589
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18590
+ warning_code: 'salto_ks_privacy_mode';
18575
18591
  })[];
18576
18592
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
18577
18593
  latch_metadata?: {
@@ -18690,6 +18706,8 @@ export type Routes = {
18690
18706
  /** Total count of entry relays for an Avigilon Alta system. */
18691
18707
  entry_relays_total_count: number;
18692
18708
  } | undefined;
18709
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
18710
+ is_locked?: boolean | undefined;
18693
18711
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
18694
18712
  can_unlock_with_mobile_key?: boolean | undefined;
18695
18713
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -20006,6 +20024,13 @@ export type Routes = {
20006
20024
  message: string;
20007
20025
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20008
20026
  warning_code: 'entrance_setup_required';
20027
+ } | {
20028
+ /** Date and time at which Seam created the warning. */
20029
+ created_at: string;
20030
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20031
+ message: string;
20032
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20033
+ warning_code: 'salto_ks_privacy_mode';
20009
20034
  })[];
20010
20035
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
20011
20036
  latch_metadata?: {
@@ -20124,6 +20149,8 @@ export type Routes = {
20124
20149
  /** Total count of entry relays for an Avigilon Alta system. */
20125
20150
  entry_relays_total_count: number;
20126
20151
  } | undefined;
20152
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
20153
+ is_locked?: boolean | undefined;
20127
20154
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
20128
20155
  can_unlock_with_mobile_key?: boolean | undefined;
20129
20156
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -21741,6 +21768,13 @@ export type Routes = {
21741
21768
  message: string;
21742
21769
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21743
21770
  warning_code: 'entrance_setup_required';
21771
+ } | {
21772
+ /** Date and time at which Seam created the warning. */
21773
+ created_at: string;
21774
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
21775
+ message: string;
21776
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21777
+ warning_code: 'salto_ks_privacy_mode';
21744
21778
  })[];
21745
21779
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
21746
21780
  latch_metadata?: {
@@ -21859,6 +21893,8 @@ export type Routes = {
21859
21893
  /** Total count of entry relays for an Avigilon Alta system. */
21860
21894
  entry_relays_total_count: number;
21861
21895
  } | undefined;
21896
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
21897
+ is_locked?: boolean | undefined;
21862
21898
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
21863
21899
  can_unlock_with_mobile_key?: boolean | undefined;
21864
21900
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -27293,6 +27329,13 @@ export type Routes = {
27293
27329
  message: string;
27294
27330
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27295
27331
  warning_code: 'entrance_setup_required';
27332
+ } | {
27333
+ /** Date and time at which Seam created the warning. */
27334
+ created_at: string;
27335
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
27336
+ message: string;
27337
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27338
+ warning_code: 'salto_ks_privacy_mode';
27296
27339
  })[];
27297
27340
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27298
27341
  latch_metadata?: {
@@ -27411,6 +27454,8 @@ export type Routes = {
27411
27454
  /** Total count of entry relays for an Avigilon Alta system. */
27412
27455
  entry_relays_total_count: number;
27413
27456
  } | undefined;
27457
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
27458
+ is_locked?: boolean | undefined;
27414
27459
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
27415
27460
  can_unlock_with_mobile_key?: boolean | undefined;
27416
27461
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -27514,6 +27559,13 @@ export type Routes = {
27514
27559
  message: string;
27515
27560
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27516
27561
  warning_code: 'entrance_setup_required';
27562
+ } | {
27563
+ /** Date and time at which Seam created the warning. */
27564
+ created_at: string;
27565
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
27566
+ message: string;
27567
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27568
+ warning_code: 'salto_ks_privacy_mode';
27517
27569
  })[];
27518
27570
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27519
27571
  latch_metadata?: {
@@ -27632,6 +27684,8 @@ export type Routes = {
27632
27684
  /** Total count of entry relays for an Avigilon Alta system. */
27633
27685
  entry_relays_total_count: number;
27634
27686
  } | undefined;
27687
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
27688
+ is_locked?: boolean | undefined;
27635
27689
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
27636
27690
  can_unlock_with_mobile_key?: boolean | undefined;
27637
27691
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -30724,6 +30778,13 @@ export type Routes = {
30724
30778
  message: string;
30725
30779
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30726
30780
  warning_code: 'entrance_setup_required';
30781
+ } | {
30782
+ /** Date and time at which Seam created the warning. */
30783
+ created_at: string;
30784
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30785
+ message: string;
30786
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30787
+ warning_code: 'salto_ks_privacy_mode';
30727
30788
  })[];
30728
30789
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
30729
30790
  latch_metadata?: {
@@ -30842,6 +30903,8 @@ export type Routes = {
30842
30903
  /** Total count of entry relays for an Avigilon Alta system. */
30843
30904
  entry_relays_total_count: number;
30844
30905
  } | undefined;
30906
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
30907
+ is_locked?: boolean | undefined;
30845
30908
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
30846
30909
  can_unlock_with_mobile_key?: boolean | undefined;
30847
30910
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -74472,6 +74535,13 @@ export type Routes = {
74472
74535
  message: string;
74473
74536
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74474
74537
  warning_code: 'entrance_setup_required';
74538
+ } | {
74539
+ /** Date and time at which Seam created the warning. */
74540
+ created_at: string;
74541
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
74542
+ message: string;
74543
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74544
+ warning_code: 'salto_ks_privacy_mode';
74475
74545
  })[];
74476
74546
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
74477
74547
  latch_metadata?: {
@@ -74590,6 +74660,8 @@ export type Routes = {
74590
74660
  /** Total count of entry relays for an Avigilon Alta system. */
74591
74661
  entry_relays_total_count: number;
74592
74662
  } | undefined;
74663
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
74664
+ is_locked?: boolean | undefined;
74593
74665
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
74594
74666
  can_unlock_with_mobile_key?: boolean | undefined;
74595
74667
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -76326,6 +76398,13 @@ export type Routes = {
76326
76398
  message: string;
76327
76399
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76328
76400
  warning_code: 'entrance_setup_required';
76401
+ } | {
76402
+ /** Date and time at which Seam created the warning. */
76403
+ created_at: string;
76404
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76405
+ message: string;
76406
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76407
+ warning_code: 'salto_ks_privacy_mode';
76329
76408
  })[];
76330
76409
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
76331
76410
  latch_metadata?: {
@@ -76444,6 +76523,8 @@ export type Routes = {
76444
76523
  /** Total count of entry relays for an Avigilon Alta system. */
76445
76524
  entry_relays_total_count: number;
76446
76525
  } | undefined;
76526
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
76527
+ is_locked?: boolean | undefined;
76447
76528
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
76448
76529
  can_unlock_with_mobile_key?: boolean | undefined;
76449
76530
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -98611,6 +98692,13 @@ export type Routes = {
98611
98692
  message: string;
98612
98693
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
98613
98694
  warning_code: 'entrance_setup_required';
98695
+ } | {
98696
+ /** Date and time at which Seam created the warning. */
98697
+ created_at: string;
98698
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
98699
+ message: string;
98700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
98701
+ warning_code: 'salto_ks_privacy_mode';
98614
98702
  })[];
98615
98703
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
98616
98704
  latch_metadata?: {
@@ -98729,6 +98817,8 @@ export type Routes = {
98729
98817
  /** Total count of entry relays for an Avigilon Alta system. */
98730
98818
  entry_relays_total_count: number;
98731
98819
  } | undefined;
98820
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
98821
+ is_locked?: boolean | undefined;
98732
98822
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
98733
98823
  can_unlock_with_mobile_key?: boolean | undefined;
98734
98824
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -101132,6 +101222,13 @@ export type Routes = {
101132
101222
  message: string;
101133
101223
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101134
101224
  warning_code: 'entrance_setup_required';
101225
+ } | {
101226
+ /** Date and time at which Seam created the warning. */
101227
+ created_at: string;
101228
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
101229
+ message: string;
101230
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101231
+ warning_code: 'salto_ks_privacy_mode';
101135
101232
  })[];
101136
101233
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
101137
101234
  latch_metadata?: {
@@ -101250,6 +101347,8 @@ export type Routes = {
101250
101347
  /** Total count of entry relays for an Avigilon Alta system. */
101251
101348
  entry_relays_total_count: number;
101252
101349
  } | undefined;
101350
+ /** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
101351
+ is_locked?: boolean | undefined;
101253
101352
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
101254
101353
  can_unlock_with_mobile_key?: boolean | undefined;
101255
101354
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.872.0",
3
+ "version": "1.873.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -59,11 +59,22 @@ const entrance_setup_required = common_acs_entrance_warning
59
59
  'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.',
60
60
  )
61
61
 
62
+ const salto_ks_privacy_mode = common_acs_entrance_warning
63
+ .extend({
64
+ warning_code: z
65
+ .literal('salto_ks_privacy_mode')
66
+ .describe(warning_code_description),
67
+ })
68
+ .describe(
69
+ 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
70
+ )
71
+
62
72
  const acs_entrance_warning = z
63
73
  .discriminatedUnion('warning_code', [
64
74
  salto_ks_entrance_access_code_support_removed,
65
75
  entrance_shares_zone,
66
76
  entrance_setup_required,
77
+ salto_ks_privacy_mode,
67
78
  ])
68
79
  .describe(
69
80
  'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -74,6 +85,7 @@ const _acs_entrance_warning_map = z.object({
74
85
  salto_ks_entrance_access_code_support_removed.optional().nullable(),
75
86
  entrance_shares_zone: entrance_shares_zone.optional().nullable(),
76
87
  entrance_setup_required: entrance_setup_required.optional().nullable(),
88
+ salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
77
89
  })
78
90
 
79
91
  export type AcsEntranceWarningMap = z.infer<typeof _acs_entrance_warning_map>
@@ -218,6 +230,12 @@ export const acs_entrance = z
218
230
  .describe(
219
231
  'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
220
232
  ),
233
+ is_locked: z
234
+ .boolean()
235
+ .optional()
236
+ .describe(
237
+ 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
238
+ ),
221
239
  })
222
240
  .merge(acs_entrance_capability_flags).describe(`
223
241
  ---
@@ -4650,6 +4650,11 @@ const openapi: OpenAPISpec = {
4650
4650
  },
4651
4651
  type: 'object',
4652
4652
  },
4653
+ is_locked: {
4654
+ description:
4655
+ 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
4656
+ type: 'boolean',
4657
+ },
4653
4658
  latch_metadata: {
4654
4659
  description:
4655
4660
  'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -4902,6 +4907,31 @@ const openapi: OpenAPISpec = {
4902
4907
  required: ['created_at', 'message', 'warning_code'],
4903
4908
  type: 'object',
4904
4909
  },
4910
+ {
4911
+ description:
4912
+ 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
4913
+ properties: {
4914
+ created_at: {
4915
+ description:
4916
+ 'Date and time at which Seam created the warning.',
4917
+ format: 'date-time',
4918
+ type: 'string',
4919
+ },
4920
+ message: {
4921
+ description:
4922
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
4923
+ type: 'string',
4924
+ },
4925
+ warning_code: {
4926
+ description:
4927
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4928
+ enum: ['salto_ks_privacy_mode'],
4929
+ type: 'string',
4930
+ },
4931
+ },
4932
+ required: ['created_at', 'message', 'warning_code'],
4933
+ type: 'object',
4934
+ },
4905
4935
  ],
4906
4936
  },
4907
4937
  type: 'array',
@@ -26178,6 +26208,11 @@ const openapi: OpenAPISpec = {
26178
26208
  },
26179
26209
  type: 'object',
26180
26210
  },
26211
+ is_locked: {
26212
+ description:
26213
+ 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
26214
+ type: 'boolean',
26215
+ },
26181
26216
  latch_metadata: {
26182
26217
  description:
26183
26218
  'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -26454,6 +26489,35 @@ const openapi: OpenAPISpec = {
26454
26489
  ],
26455
26490
  type: 'object',
26456
26491
  },
26492
+ {
26493
+ description:
26494
+ 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
26495
+ properties: {
26496
+ created_at: {
26497
+ description:
26498
+ 'Date and time at which Seam created the warning.',
26499
+ format: 'date-time',
26500
+ type: 'string',
26501
+ },
26502
+ message: {
26503
+ description:
26504
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26505
+ type: 'string',
26506
+ },
26507
+ warning_code: {
26508
+ description:
26509
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26510
+ enum: ['salto_ks_privacy_mode'],
26511
+ type: 'string',
26512
+ },
26513
+ },
26514
+ required: [
26515
+ 'created_at',
26516
+ 'message',
26517
+ 'warning_code',
26518
+ ],
26519
+ type: 'object',
26520
+ },
26457
26521
  ],
26458
26522
  },
26459
26523
  type: 'array',