@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.
@@ -42,7 +42,26 @@ declare const _acs_entrance_warning_map: z.ZodObject<{
42
42
  created_at: string;
43
43
  warning_code: "entrance_setup_required";
44
44
  }>>>;
45
+ salto_ks_privacy_mode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
46
+ created_at: z.ZodString;
47
+ message: z.ZodString;
48
+ } & {
49
+ warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
50
+ }, "strip", z.ZodTypeAny, {
51
+ message: string;
52
+ created_at: string;
53
+ warning_code: "salto_ks_privacy_mode";
54
+ }, {
55
+ message: string;
56
+ created_at: string;
57
+ warning_code: "salto_ks_privacy_mode";
58
+ }>>>;
45
59
  }, "strip", z.ZodTypeAny, {
60
+ salto_ks_privacy_mode?: {
61
+ message: string;
62
+ created_at: string;
63
+ warning_code: "salto_ks_privacy_mode";
64
+ } | null | undefined;
46
65
  salto_ks_entrance_access_code_support_removed?: {
47
66
  message: string;
48
67
  created_at: string;
@@ -59,6 +78,11 @@ declare const _acs_entrance_warning_map: z.ZodObject<{
59
78
  warning_code: "entrance_setup_required";
60
79
  } | null | undefined;
61
80
  }, {
81
+ salto_ks_privacy_mode?: {
82
+ message: string;
83
+ created_at: string;
84
+ warning_code: "salto_ks_privacy_mode";
85
+ } | null | undefined;
62
86
  salto_ks_entrance_access_code_support_removed?: {
63
87
  message: string;
64
88
  created_at: string;
@@ -151,6 +175,19 @@ export declare const acs_entrance: z.ZodObject<{
151
175
  message: string;
152
176
  created_at: string;
153
177
  warning_code: "entrance_setup_required";
178
+ }>, z.ZodObject<{
179
+ created_at: z.ZodString;
180
+ message: z.ZodString;
181
+ } & {
182
+ warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
183
+ }, "strip", z.ZodTypeAny, {
184
+ message: string;
185
+ created_at: string;
186
+ warning_code: "salto_ks_privacy_mode";
187
+ }, {
188
+ message: string;
189
+ created_at: string;
190
+ warning_code: "salto_ks_privacy_mode";
154
191
  }>]>, "many">;
155
192
  latch_metadata: z.ZodOptional<z.ZodObject<{
156
193
  accessibility_type: z.ZodString;
@@ -330,6 +367,7 @@ export declare const acs_entrance: z.ZodObject<{
330
367
  zone_name: string;
331
368
  entry_relays_total_count: number;
332
369
  }>>;
370
+ is_locked: z.ZodOptional<z.ZodBoolean>;
333
371
  } & {
334
372
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
335
373
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
@@ -356,6 +394,10 @@ export declare const acs_entrance: z.ZodObject<{
356
394
  message: string;
357
395
  created_at: string;
358
396
  warning_code: "entrance_setup_required";
397
+ } | {
398
+ message: string;
399
+ created_at: string;
400
+ warning_code: "salto_ks_privacy_mode";
359
401
  })[];
360
402
  space_ids: string[];
361
403
  acs_entrance_id: string;
@@ -429,6 +471,7 @@ export declare const acs_entrance: z.ZodObject<{
429
471
  dormakaba_ambiance_metadata?: {
430
472
  access_point_name: string;
431
473
  } | undefined;
474
+ is_locked?: boolean | undefined;
432
475
  }, {
433
476
  display_name: string;
434
477
  created_at: string;
@@ -449,6 +492,10 @@ export declare const acs_entrance: z.ZodObject<{
449
492
  message: string;
450
493
  created_at: string;
451
494
  warning_code: "entrance_setup_required";
495
+ } | {
496
+ message: string;
497
+ created_at: string;
498
+ warning_code: "salto_ks_privacy_mode";
452
499
  })[];
453
500
  space_ids: string[];
454
501
  acs_entrance_id: string;
@@ -522,6 +569,7 @@ export declare const acs_entrance: z.ZodObject<{
522
569
  dormakaba_ambiance_metadata?: {
523
570
  access_point_name: string;
524
571
  } | undefined;
572
+ is_locked?: boolean | undefined;
525
573
  }>;
526
574
  export type AcsEntrance = z.infer<typeof acs_entrance>;
527
575
  export {};
@@ -34,17 +34,26 @@ const entrance_setup_required = common_acs_entrance_warning
34
34
  .describe(warning_code_description),
35
35
  })
36
36
  .describe('Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.');
37
+ const salto_ks_privacy_mode = common_acs_entrance_warning
38
+ .extend({
39
+ warning_code: z
40
+ .literal('salto_ks_privacy_mode')
41
+ .describe(warning_code_description),
42
+ })
43
+ .describe('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.');
37
44
  const acs_entrance_warning = z
38
45
  .discriminatedUnion('warning_code', [
39
46
  salto_ks_entrance_access_code_support_removed,
40
47
  entrance_shares_zone,
41
48
  entrance_setup_required,
49
+ salto_ks_privacy_mode,
42
50
  ])
43
51
  .describe('Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).');
44
52
  const _acs_entrance_warning_map = z.object({
45
53
  salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
46
54
  entrance_shares_zone: entrance_shares_zone.optional().nullable(),
47
55
  entrance_setup_required: entrance_setup_required.optional().nullable(),
56
+ salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
48
57
  });
49
58
  export const acs_entrance_capability_flags = z.object({
50
59
  can_unlock_with_mobile_key: z
@@ -135,6 +144,10 @@ export const acs_entrance = z
135
144
  avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata
136
145
  .optional()
137
146
  .describe('Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
147
+ is_locked: z
148
+ .boolean()
149
+ .optional()
150
+ .describe('Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.'),
138
151
  })
139
152
  .merge(acs_entrance_capability_flags).describe(`
140
153
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,E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nI;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,CACP,oIAAoI,CACrI;IACH,cAAc,EAAE,2BAA2B;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,mJAAmJ,CACpJ;IACH,cAAc,EAAE,2BAA2B;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,mJAAmJ,CACpJ;IACH,mBAAmB,EAAE,gCAAgC;SAClD,QAAQ,EAAE;SACV,QAAQ,CACP,wJAAwJ,CACzJ;IACH,iBAAiB,EAAE,8BAA8B;SAC9C,QAAQ,EAAE;SACV,QAAQ,CACP,sJAAsJ,CACvJ;IACH,4BAA4B,EAAE,yCAAyC;SACpE,QAAQ,EAAE;SACV,QAAQ,CACP,iKAAiK,CAClK;IACH,0BAA0B,EAAE,uCAAuC;SAChE,QAAQ,EAAE;SACV,QAAQ,CACP,+JAA+J,CAChK;IACH,oBAAoB,EAAE,iCAAiC;SACpD,QAAQ,EAAE;SACV,QAAQ,CACP,yJAAyJ,CAC1J;IACH,2BAA2B,EAAE,wCAAwC;SAClE,QAAQ,EAAE;SACV,QAAQ,CACP,gKAAgK,CACjK;IACH,cAAc,EAAE,2BAA2B;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,mJAAmJ,CACpJ;IACH,sBAAsB,EAAE,mCAAmC;SACxD,QAAQ,EAAE;SACV,QAAQ,CACP,2JAA2J,CAC5J;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,iJAAiJ,CAClJ;CACJ,CAAC;KACD,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOhD,CAAC,CAAA"}
@@ -5317,6 +5317,19 @@ export declare const batch: z.ZodObject<{
5317
5317
  message: string;
5318
5318
  created_at: string;
5319
5319
  warning_code: "entrance_setup_required";
5320
+ }>, z.ZodObject<{
5321
+ created_at: z.ZodString;
5322
+ message: z.ZodString;
5323
+ } & {
5324
+ warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
5325
+ }, "strip", z.ZodTypeAny, {
5326
+ message: string;
5327
+ created_at: string;
5328
+ warning_code: "salto_ks_privacy_mode";
5329
+ }, {
5330
+ message: string;
5331
+ created_at: string;
5332
+ warning_code: "salto_ks_privacy_mode";
5320
5333
  }>]>, "many">;
5321
5334
  latch_metadata: z.ZodOptional<z.ZodObject<{
5322
5335
  accessibility_type: z.ZodString;
@@ -5496,6 +5509,7 @@ export declare const batch: z.ZodObject<{
5496
5509
  zone_name: string;
5497
5510
  entry_relays_total_count: number;
5498
5511
  }>>;
5512
+ is_locked: z.ZodOptional<z.ZodBoolean>;
5499
5513
  } & {
5500
5514
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
5501
5515
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
@@ -5522,6 +5536,10 @@ export declare const batch: z.ZodObject<{
5522
5536
  message: string;
5523
5537
  created_at: string;
5524
5538
  warning_code: "entrance_setup_required";
5539
+ } | {
5540
+ message: string;
5541
+ created_at: string;
5542
+ warning_code: "salto_ks_privacy_mode";
5525
5543
  })[];
5526
5544
  space_ids: string[];
5527
5545
  acs_entrance_id: string;
@@ -5595,6 +5613,7 @@ export declare const batch: z.ZodObject<{
5595
5613
  dormakaba_ambiance_metadata?: {
5596
5614
  access_point_name: string;
5597
5615
  } | undefined;
5616
+ is_locked?: boolean | undefined;
5598
5617
  }, {
5599
5618
  display_name: string;
5600
5619
  created_at: string;
@@ -5615,6 +5634,10 @@ export declare const batch: z.ZodObject<{
5615
5634
  message: string;
5616
5635
  created_at: string;
5617
5636
  warning_code: "entrance_setup_required";
5637
+ } | {
5638
+ message: string;
5639
+ created_at: string;
5640
+ warning_code: "salto_ks_privacy_mode";
5618
5641
  })[];
5619
5642
  space_ids: string[];
5620
5643
  acs_entrance_id: string;
@@ -5688,6 +5711,7 @@ export declare const batch: z.ZodObject<{
5688
5711
  dormakaba_ambiance_metadata?: {
5689
5712
  access_point_name: string;
5690
5713
  } | undefined;
5714
+ is_locked?: boolean | undefined;
5691
5715
  }>, "many">>;
5692
5716
  acs_systems: z.ZodOptional<z.ZodArray<z.ZodObject<{
5693
5717
  default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28045,6 +28069,10 @@ export declare const batch: z.ZodObject<{
28045
28069
  message: string;
28046
28070
  created_at: string;
28047
28071
  warning_code: "entrance_setup_required";
28072
+ } | {
28073
+ message: string;
28074
+ created_at: string;
28075
+ warning_code: "salto_ks_privacy_mode";
28048
28076
  })[];
28049
28077
  space_ids: string[];
28050
28078
  acs_entrance_id: string;
@@ -28118,6 +28146,7 @@ export declare const batch: z.ZodObject<{
28118
28146
  dormakaba_ambiance_metadata?: {
28119
28147
  access_point_name: string;
28120
28148
  } | undefined;
28149
+ is_locked?: boolean | undefined;
28121
28150
  }[] | undefined;
28122
28151
  acs_systems?: {
28123
28152
  name: string;
@@ -33217,6 +33246,10 @@ export declare const batch: z.ZodObject<{
33217
33246
  message: string;
33218
33247
  created_at: string;
33219
33248
  warning_code: "entrance_setup_required";
33249
+ } | {
33250
+ message: string;
33251
+ created_at: string;
33252
+ warning_code: "salto_ks_privacy_mode";
33220
33253
  })[];
33221
33254
  space_ids: string[];
33222
33255
  acs_entrance_id: string;
@@ -33290,6 +33323,7 @@ export declare const batch: z.ZodObject<{
33290
33323
  dormakaba_ambiance_metadata?: {
33291
33324
  access_point_name: string;
33292
33325
  } | undefined;
33326
+ is_locked?: boolean | undefined;
33293
33327
  }[] | undefined;
33294
33328
  acs_systems?: {
33295
33329
  name: string;
@@ -239,6 +239,19 @@ declare const phone_provider_session: z.ZodObject<{
239
239
  message: string;
240
240
  created_at: string;
241
241
  warning_code: "entrance_setup_required";
242
+ }>, z.ZodObject<{
243
+ created_at: z.ZodString;
244
+ message: z.ZodString;
245
+ } & {
246
+ warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
247
+ }, "strip", z.ZodTypeAny, {
248
+ message: string;
249
+ created_at: string;
250
+ warning_code: "salto_ks_privacy_mode";
251
+ }, {
252
+ message: string;
253
+ created_at: string;
254
+ warning_code: "salto_ks_privacy_mode";
242
255
  }>]>, "many">;
243
256
  latch_metadata: z.ZodOptional<z.ZodObject<{
244
257
  accessibility_type: z.ZodString;
@@ -418,6 +431,7 @@ declare const phone_provider_session: z.ZodObject<{
418
431
  zone_name: string;
419
432
  entry_relays_total_count: number;
420
433
  }>>;
434
+ is_locked: z.ZodOptional<z.ZodBoolean>;
421
435
  } & {
422
436
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
423
437
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
@@ -444,6 +458,10 @@ declare const phone_provider_session: z.ZodObject<{
444
458
  message: string;
445
459
  created_at: string;
446
460
  warning_code: "entrance_setup_required";
461
+ } | {
462
+ message: string;
463
+ created_at: string;
464
+ warning_code: "salto_ks_privacy_mode";
447
465
  })[];
448
466
  space_ids: string[];
449
467
  acs_entrance_id: string;
@@ -517,6 +535,7 @@ declare const phone_provider_session: z.ZodObject<{
517
535
  dormakaba_ambiance_metadata?: {
518
536
  access_point_name: string;
519
537
  } | undefined;
538
+ is_locked?: boolean | undefined;
520
539
  }, {
521
540
  display_name: string;
522
541
  created_at: string;
@@ -537,6 +556,10 @@ declare const phone_provider_session: z.ZodObject<{
537
556
  message: string;
538
557
  created_at: string;
539
558
  warning_code: "entrance_setup_required";
559
+ } | {
560
+ message: string;
561
+ created_at: string;
562
+ warning_code: "salto_ks_privacy_mode";
540
563
  })[];
541
564
  space_ids: string[];
542
565
  acs_entrance_id: string;
@@ -610,6 +633,7 @@ declare const phone_provider_session: z.ZodObject<{
610
633
  dormakaba_ambiance_metadata?: {
611
634
  access_point_name: string;
612
635
  } | undefined;
636
+ is_locked?: boolean | undefined;
613
637
  }>, "many">;
614
638
  }, "strip", z.ZodTypeAny, {
615
639
  display_name: string;
@@ -669,6 +693,10 @@ declare const phone_provider_session: z.ZodObject<{
669
693
  message: string;
670
694
  created_at: string;
671
695
  warning_code: "entrance_setup_required";
696
+ } | {
697
+ message: string;
698
+ created_at: string;
699
+ warning_code: "salto_ks_privacy_mode";
672
700
  })[];
673
701
  space_ids: string[];
674
702
  acs_entrance_id: string;
@@ -742,6 +770,7 @@ declare const phone_provider_session: z.ZodObject<{
742
770
  dormakaba_ambiance_metadata?: {
743
771
  access_point_name: string;
744
772
  } | undefined;
773
+ is_locked?: boolean | undefined;
745
774
  }[];
746
775
  code?: string | null | undefined;
747
776
  starts_at?: string | undefined;
@@ -835,6 +864,10 @@ declare const phone_provider_session: z.ZodObject<{
835
864
  message: string;
836
865
  created_at: string;
837
866
  warning_code: "entrance_setup_required";
867
+ } | {
868
+ message: string;
869
+ created_at: string;
870
+ warning_code: "salto_ks_privacy_mode";
838
871
  })[];
839
872
  space_ids: string[];
840
873
  acs_entrance_id: string;
@@ -908,6 +941,7 @@ declare const phone_provider_session: z.ZodObject<{
908
941
  dormakaba_ambiance_metadata?: {
909
942
  access_point_name: string;
910
943
  } | undefined;
944
+ is_locked?: boolean | undefined;
911
945
  }[];
912
946
  code?: string | null | undefined;
913
947
  starts_at?: string | undefined;
@@ -1003,6 +1037,10 @@ declare const phone_provider_session: z.ZodObject<{
1003
1037
  message: string;
1004
1038
  created_at: string;
1005
1039
  warning_code: "entrance_setup_required";
1040
+ } | {
1041
+ message: string;
1042
+ created_at: string;
1043
+ warning_code: "salto_ks_privacy_mode";
1006
1044
  })[];
1007
1045
  space_ids: string[];
1008
1046
  acs_entrance_id: string;
@@ -1076,6 +1114,7 @@ declare const phone_provider_session: z.ZodObject<{
1076
1114
  dormakaba_ambiance_metadata?: {
1077
1115
  access_point_name: string;
1078
1116
  } | undefined;
1117
+ is_locked?: boolean | undefined;
1079
1118
  }[];
1080
1119
  code?: string | null | undefined;
1081
1120
  starts_at?: string | undefined;
@@ -1177,6 +1216,10 @@ declare const phone_provider_session: z.ZodObject<{
1177
1216
  message: string;
1178
1217
  created_at: string;
1179
1218
  warning_code: "entrance_setup_required";
1219
+ } | {
1220
+ message: string;
1221
+ created_at: string;
1222
+ warning_code: "salto_ks_privacy_mode";
1180
1223
  })[];
1181
1224
  space_ids: string[];
1182
1225
  acs_entrance_id: string;
@@ -1250,6 +1293,7 @@ declare const phone_provider_session: z.ZodObject<{
1250
1293
  dormakaba_ambiance_metadata?: {
1251
1294
  access_point_name: string;
1252
1295
  } | undefined;
1296
+ is_locked?: boolean | undefined;
1253
1297
  }[];
1254
1298
  code?: string | null | undefined;
1255
1299
  starts_at?: string | undefined;
@@ -1534,6 +1578,19 @@ export declare const phone_session: z.ZodObject<{
1534
1578
  message: string;
1535
1579
  created_at: string;
1536
1580
  warning_code: "entrance_setup_required";
1581
+ }>, z.ZodObject<{
1582
+ created_at: z.ZodString;
1583
+ message: z.ZodString;
1584
+ } & {
1585
+ warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ message: string;
1588
+ created_at: string;
1589
+ warning_code: "salto_ks_privacy_mode";
1590
+ }, {
1591
+ message: string;
1592
+ created_at: string;
1593
+ warning_code: "salto_ks_privacy_mode";
1537
1594
  }>]>, "many">;
1538
1595
  latch_metadata: z.ZodOptional<z.ZodObject<{
1539
1596
  accessibility_type: z.ZodString;
@@ -1713,6 +1770,7 @@ export declare const phone_session: z.ZodObject<{
1713
1770
  zone_name: string;
1714
1771
  entry_relays_total_count: number;
1715
1772
  }>>;
1773
+ is_locked: z.ZodOptional<z.ZodBoolean>;
1716
1774
  } & {
1717
1775
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
1718
1776
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
@@ -1739,6 +1797,10 @@ export declare const phone_session: z.ZodObject<{
1739
1797
  message: string;
1740
1798
  created_at: string;
1741
1799
  warning_code: "entrance_setup_required";
1800
+ } | {
1801
+ message: string;
1802
+ created_at: string;
1803
+ warning_code: "salto_ks_privacy_mode";
1742
1804
  })[];
1743
1805
  space_ids: string[];
1744
1806
  acs_entrance_id: string;
@@ -1812,6 +1874,7 @@ export declare const phone_session: z.ZodObject<{
1812
1874
  dormakaba_ambiance_metadata?: {
1813
1875
  access_point_name: string;
1814
1876
  } | undefined;
1877
+ is_locked?: boolean | undefined;
1815
1878
  }, {
1816
1879
  display_name: string;
1817
1880
  created_at: string;
@@ -1832,6 +1895,10 @@ export declare const phone_session: z.ZodObject<{
1832
1895
  message: string;
1833
1896
  created_at: string;
1834
1897
  warning_code: "entrance_setup_required";
1898
+ } | {
1899
+ message: string;
1900
+ created_at: string;
1901
+ warning_code: "salto_ks_privacy_mode";
1835
1902
  })[];
1836
1903
  space_ids: string[];
1837
1904
  acs_entrance_id: string;
@@ -1905,6 +1972,7 @@ export declare const phone_session: z.ZodObject<{
1905
1972
  dormakaba_ambiance_metadata?: {
1906
1973
  access_point_name: string;
1907
1974
  } | undefined;
1975
+ is_locked?: boolean | undefined;
1908
1976
  }>, "many">;
1909
1977
  }, "strip", z.ZodTypeAny, {
1910
1978
  display_name: string;
@@ -1964,6 +2032,10 @@ export declare const phone_session: z.ZodObject<{
1964
2032
  message: string;
1965
2033
  created_at: string;
1966
2034
  warning_code: "entrance_setup_required";
2035
+ } | {
2036
+ message: string;
2037
+ created_at: string;
2038
+ warning_code: "salto_ks_privacy_mode";
1967
2039
  })[];
1968
2040
  space_ids: string[];
1969
2041
  acs_entrance_id: string;
@@ -2037,6 +2109,7 @@ export declare const phone_session: z.ZodObject<{
2037
2109
  dormakaba_ambiance_metadata?: {
2038
2110
  access_point_name: string;
2039
2111
  } | undefined;
2112
+ is_locked?: boolean | undefined;
2040
2113
  }[];
2041
2114
  code?: string | null | undefined;
2042
2115
  starts_at?: string | undefined;
@@ -2130,6 +2203,10 @@ export declare const phone_session: z.ZodObject<{
2130
2203
  message: string;
2131
2204
  created_at: string;
2132
2205
  warning_code: "entrance_setup_required";
2206
+ } | {
2207
+ message: string;
2208
+ created_at: string;
2209
+ warning_code: "salto_ks_privacy_mode";
2133
2210
  })[];
2134
2211
  space_ids: string[];
2135
2212
  acs_entrance_id: string;
@@ -2203,6 +2280,7 @@ export declare const phone_session: z.ZodObject<{
2203
2280
  dormakaba_ambiance_metadata?: {
2204
2281
  access_point_name: string;
2205
2282
  } | undefined;
2283
+ is_locked?: boolean | undefined;
2206
2284
  }[];
2207
2285
  code?: string | null | undefined;
2208
2286
  starts_at?: string | undefined;
@@ -2298,6 +2376,10 @@ export declare const phone_session: z.ZodObject<{
2298
2376
  message: string;
2299
2377
  created_at: string;
2300
2378
  warning_code: "entrance_setup_required";
2379
+ } | {
2380
+ message: string;
2381
+ created_at: string;
2382
+ warning_code: "salto_ks_privacy_mode";
2301
2383
  })[];
2302
2384
  space_ids: string[];
2303
2385
  acs_entrance_id: string;
@@ -2371,6 +2453,7 @@ export declare const phone_session: z.ZodObject<{
2371
2453
  dormakaba_ambiance_metadata?: {
2372
2454
  access_point_name: string;
2373
2455
  } | undefined;
2456
+ is_locked?: boolean | undefined;
2374
2457
  }[];
2375
2458
  code?: string | null | undefined;
2376
2459
  starts_at?: string | undefined;
@@ -2472,6 +2555,10 @@ export declare const phone_session: z.ZodObject<{
2472
2555
  message: string;
2473
2556
  created_at: string;
2474
2557
  warning_code: "entrance_setup_required";
2558
+ } | {
2559
+ message: string;
2560
+ created_at: string;
2561
+ warning_code: "salto_ks_privacy_mode";
2475
2562
  })[];
2476
2563
  space_ids: string[];
2477
2564
  acs_entrance_id: string;
@@ -2545,6 +2632,7 @@ export declare const phone_session: z.ZodObject<{
2545
2632
  dormakaba_ambiance_metadata?: {
2546
2633
  access_point_name: string;
2547
2634
  } | undefined;
2635
+ is_locked?: boolean | undefined;
2548
2636
  }[];
2549
2637
  code?: string | null | undefined;
2550
2638
  starts_at?: string | undefined;
@@ -2761,6 +2849,10 @@ export declare const phone_session: z.ZodObject<{
2761
2849
  message: string;
2762
2850
  created_at: string;
2763
2851
  warning_code: "entrance_setup_required";
2852
+ } | {
2853
+ message: string;
2854
+ created_at: string;
2855
+ warning_code: "salto_ks_privacy_mode";
2764
2856
  })[];
2765
2857
  space_ids: string[];
2766
2858
  acs_entrance_id: string;
@@ -2834,6 +2926,7 @@ export declare const phone_session: z.ZodObject<{
2834
2926
  dormakaba_ambiance_metadata?: {
2835
2927
  access_point_name: string;
2836
2928
  } | undefined;
2929
+ is_locked?: boolean | undefined;
2837
2930
  }[];
2838
2931
  code?: string | null | undefined;
2839
2932
  starts_at?: string | undefined;
@@ -2966,6 +3059,10 @@ export declare const phone_session: z.ZodObject<{
2966
3059
  message: string;
2967
3060
  created_at: string;
2968
3061
  warning_code: "entrance_setup_required";
3062
+ } | {
3063
+ message: string;
3064
+ created_at: string;
3065
+ warning_code: "salto_ks_privacy_mode";
2969
3066
  })[];
2970
3067
  space_ids: string[];
2971
3068
  acs_entrance_id: string;
@@ -3039,6 +3136,7 @@ export declare const phone_session: z.ZodObject<{
3039
3136
  dormakaba_ambiance_metadata?: {
3040
3137
  access_point_name: string;
3041
3138
  } | undefined;
3139
+ is_locked?: boolean | undefined;
3042
3140
  }[];
3043
3141
  code?: string | null | undefined;
3044
3142
  starts_at?: string | undefined;
@@ -4090,6 +4090,10 @@ const openapi = {
4090
4090
  },
4091
4091
  type: 'object',
4092
4092
  },
4093
+ is_locked: {
4094
+ description: 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
4095
+ type: 'boolean',
4096
+ },
4093
4097
  latch_metadata: {
4094
4098
  description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
4095
4099
  properties: {
@@ -4310,6 +4314,27 @@ const openapi = {
4310
4314
  required: ['created_at', 'message', 'warning_code'],
4311
4315
  type: 'object',
4312
4316
  },
4317
+ {
4318
+ description: '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.',
4319
+ properties: {
4320
+ created_at: {
4321
+ description: 'Date and time at which Seam created the warning.',
4322
+ format: 'date-time',
4323
+ type: 'string',
4324
+ },
4325
+ message: {
4326
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
4327
+ type: 'string',
4328
+ },
4329
+ warning_code: {
4330
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4331
+ enum: ['salto_ks_privacy_mode'],
4332
+ type: 'string',
4333
+ },
4334
+ },
4335
+ required: ['created_at', 'message', 'warning_code'],
4336
+ type: 'object',
4337
+ },
4313
4338
  ],
4314
4339
  },
4315
4340
  type: 'array',
@@ -23505,6 +23530,10 @@ const openapi = {
23505
23530
  },
23506
23531
  type: 'object',
23507
23532
  },
23533
+ is_locked: {
23534
+ description: 'Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.',
23535
+ type: 'boolean',
23536
+ },
23508
23537
  latch_metadata: {
23509
23538
  description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
23510
23539
  properties: {
@@ -23739,6 +23768,31 @@ const openapi = {
23739
23768
  ],
23740
23769
  type: 'object',
23741
23770
  },
23771
+ {
23772
+ description: '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.',
23773
+ properties: {
23774
+ created_at: {
23775
+ description: 'Date and time at which Seam created the warning.',
23776
+ format: 'date-time',
23777
+ type: 'string',
23778
+ },
23779
+ message: {
23780
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
23781
+ type: 'string',
23782
+ },
23783
+ warning_code: {
23784
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
23785
+ enum: ['salto_ks_privacy_mode'],
23786
+ type: 'string',
23787
+ },
23788
+ },
23789
+ required: [
23790
+ 'created_at',
23791
+ 'message',
23792
+ 'warning_code',
23793
+ ],
23794
+ type: 'object',
23795
+ },
23742
23796
  ],
23743
23797
  },
23744
23798
  type: 'array',