@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.
- package/dist/connect.cjs +66 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +157 -0
- package/dist/index.cjs +66 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +34 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +64 -0
- package/src/lib/seam/connect/route-types.ts +110 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6751,6 +6751,19 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6751
6751
|
message: string;
|
|
6752
6752
|
created_at: string;
|
|
6753
6753
|
warning_code: "entrance_setup_required";
|
|
6754
|
+
}>, z.ZodObject<{
|
|
6755
|
+
created_at: z.ZodString;
|
|
6756
|
+
message: z.ZodString;
|
|
6757
|
+
} & {
|
|
6758
|
+
warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
|
|
6759
|
+
}, "strip", z.ZodTypeAny, {
|
|
6760
|
+
message: string;
|
|
6761
|
+
created_at: string;
|
|
6762
|
+
warning_code: "salto_ks_privacy_mode";
|
|
6763
|
+
}, {
|
|
6764
|
+
message: string;
|
|
6765
|
+
created_at: string;
|
|
6766
|
+
warning_code: "salto_ks_privacy_mode";
|
|
6754
6767
|
}>]>, "many">;
|
|
6755
6768
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
6756
6769
|
accessibility_type: z.ZodString;
|
|
@@ -6930,6 +6943,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6930
6943
|
zone_name: string;
|
|
6931
6944
|
entry_relays_total_count: number;
|
|
6932
6945
|
}>>;
|
|
6946
|
+
is_locked: z.ZodOptional<z.ZodBoolean>;
|
|
6933
6947
|
} & {
|
|
6934
6948
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
6935
6949
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6956,6 +6970,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6956
6970
|
message: string;
|
|
6957
6971
|
created_at: string;
|
|
6958
6972
|
warning_code: "entrance_setup_required";
|
|
6973
|
+
} | {
|
|
6974
|
+
message: string;
|
|
6975
|
+
created_at: string;
|
|
6976
|
+
warning_code: "salto_ks_privacy_mode";
|
|
6959
6977
|
})[];
|
|
6960
6978
|
space_ids: string[];
|
|
6961
6979
|
acs_entrance_id: string;
|
|
@@ -7029,6 +7047,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
7029
7047
|
dormakaba_ambiance_metadata?: {
|
|
7030
7048
|
access_point_name: string;
|
|
7031
7049
|
} | undefined;
|
|
7050
|
+
is_locked?: boolean | undefined;
|
|
7032
7051
|
}, {
|
|
7033
7052
|
display_name: string;
|
|
7034
7053
|
created_at: string;
|
|
@@ -7049,6 +7068,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
7049
7068
|
message: string;
|
|
7050
7069
|
created_at: string;
|
|
7051
7070
|
warning_code: "entrance_setup_required";
|
|
7071
|
+
} | {
|
|
7072
|
+
message: string;
|
|
7073
|
+
created_at: string;
|
|
7074
|
+
warning_code: "salto_ks_privacy_mode";
|
|
7052
7075
|
})[];
|
|
7053
7076
|
space_ids: string[];
|
|
7054
7077
|
acs_entrance_id: string;
|
|
@@ -7122,6 +7145,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
7122
7145
|
dormakaba_ambiance_metadata?: {
|
|
7123
7146
|
access_point_name: string;
|
|
7124
7147
|
} | undefined;
|
|
7148
|
+
is_locked?: boolean | undefined;
|
|
7125
7149
|
}>;
|
|
7126
7150
|
type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
7127
7151
|
|
|
@@ -18884,6 +18908,19 @@ declare const batch: z.ZodObject<{
|
|
|
18884
18908
|
message: string;
|
|
18885
18909
|
created_at: string;
|
|
18886
18910
|
warning_code: "entrance_setup_required";
|
|
18911
|
+
}>, z.ZodObject<{
|
|
18912
|
+
created_at: z.ZodString;
|
|
18913
|
+
message: z.ZodString;
|
|
18914
|
+
} & {
|
|
18915
|
+
warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
|
|
18916
|
+
}, "strip", z.ZodTypeAny, {
|
|
18917
|
+
message: string;
|
|
18918
|
+
created_at: string;
|
|
18919
|
+
warning_code: "salto_ks_privacy_mode";
|
|
18920
|
+
}, {
|
|
18921
|
+
message: string;
|
|
18922
|
+
created_at: string;
|
|
18923
|
+
warning_code: "salto_ks_privacy_mode";
|
|
18887
18924
|
}>]>, "many">;
|
|
18888
18925
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
18889
18926
|
accessibility_type: z.ZodString;
|
|
@@ -19063,6 +19100,7 @@ declare const batch: z.ZodObject<{
|
|
|
19063
19100
|
zone_name: string;
|
|
19064
19101
|
entry_relays_total_count: number;
|
|
19065
19102
|
}>>;
|
|
19103
|
+
is_locked: z.ZodOptional<z.ZodBoolean>;
|
|
19066
19104
|
} & {
|
|
19067
19105
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
19068
19106
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19089,6 +19127,10 @@ declare const batch: z.ZodObject<{
|
|
|
19089
19127
|
message: string;
|
|
19090
19128
|
created_at: string;
|
|
19091
19129
|
warning_code: "entrance_setup_required";
|
|
19130
|
+
} | {
|
|
19131
|
+
message: string;
|
|
19132
|
+
created_at: string;
|
|
19133
|
+
warning_code: "salto_ks_privacy_mode";
|
|
19092
19134
|
})[];
|
|
19093
19135
|
space_ids: string[];
|
|
19094
19136
|
acs_entrance_id: string;
|
|
@@ -19162,6 +19204,7 @@ declare const batch: z.ZodObject<{
|
|
|
19162
19204
|
dormakaba_ambiance_metadata?: {
|
|
19163
19205
|
access_point_name: string;
|
|
19164
19206
|
} | undefined;
|
|
19207
|
+
is_locked?: boolean | undefined;
|
|
19165
19208
|
}, {
|
|
19166
19209
|
display_name: string;
|
|
19167
19210
|
created_at: string;
|
|
@@ -19182,6 +19225,10 @@ declare const batch: z.ZodObject<{
|
|
|
19182
19225
|
message: string;
|
|
19183
19226
|
created_at: string;
|
|
19184
19227
|
warning_code: "entrance_setup_required";
|
|
19228
|
+
} | {
|
|
19229
|
+
message: string;
|
|
19230
|
+
created_at: string;
|
|
19231
|
+
warning_code: "salto_ks_privacy_mode";
|
|
19185
19232
|
})[];
|
|
19186
19233
|
space_ids: string[];
|
|
19187
19234
|
acs_entrance_id: string;
|
|
@@ -19255,6 +19302,7 @@ declare const batch: z.ZodObject<{
|
|
|
19255
19302
|
dormakaba_ambiance_metadata?: {
|
|
19256
19303
|
access_point_name: string;
|
|
19257
19304
|
} | undefined;
|
|
19305
|
+
is_locked?: boolean | undefined;
|
|
19258
19306
|
}>, "many">>;
|
|
19259
19307
|
acs_systems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19260
19308
|
default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41612,6 +41660,10 @@ declare const batch: z.ZodObject<{
|
|
|
41612
41660
|
message: string;
|
|
41613
41661
|
created_at: string;
|
|
41614
41662
|
warning_code: "entrance_setup_required";
|
|
41663
|
+
} | {
|
|
41664
|
+
message: string;
|
|
41665
|
+
created_at: string;
|
|
41666
|
+
warning_code: "salto_ks_privacy_mode";
|
|
41615
41667
|
})[];
|
|
41616
41668
|
space_ids: string[];
|
|
41617
41669
|
acs_entrance_id: string;
|
|
@@ -41685,6 +41737,7 @@ declare const batch: z.ZodObject<{
|
|
|
41685
41737
|
dormakaba_ambiance_metadata?: {
|
|
41686
41738
|
access_point_name: string;
|
|
41687
41739
|
} | undefined;
|
|
41740
|
+
is_locked?: boolean | undefined;
|
|
41688
41741
|
}[] | undefined;
|
|
41689
41742
|
acs_systems?: {
|
|
41690
41743
|
name: string;
|
|
@@ -46784,6 +46837,10 @@ declare const batch: z.ZodObject<{
|
|
|
46784
46837
|
message: string;
|
|
46785
46838
|
created_at: string;
|
|
46786
46839
|
warning_code: "entrance_setup_required";
|
|
46840
|
+
} | {
|
|
46841
|
+
message: string;
|
|
46842
|
+
created_at: string;
|
|
46843
|
+
warning_code: "salto_ks_privacy_mode";
|
|
46787
46844
|
})[];
|
|
46788
46845
|
space_ids: string[];
|
|
46789
46846
|
acs_entrance_id: string;
|
|
@@ -46857,6 +46914,7 @@ declare const batch: z.ZodObject<{
|
|
|
46857
46914
|
dormakaba_ambiance_metadata?: {
|
|
46858
46915
|
access_point_name: string;
|
|
46859
46916
|
} | undefined;
|
|
46917
|
+
is_locked?: boolean | undefined;
|
|
46860
46918
|
}[] | undefined;
|
|
46861
46919
|
acs_systems?: {
|
|
46862
46920
|
name: string;
|
|
@@ -80571,6 +80629,13 @@ type Routes = {
|
|
|
80571
80629
|
message: string;
|
|
80572
80630
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
80573
80631
|
warning_code: 'entrance_setup_required';
|
|
80632
|
+
} | {
|
|
80633
|
+
/** Date and time at which Seam created the warning. */
|
|
80634
|
+
created_at: string;
|
|
80635
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
80636
|
+
message: string;
|
|
80637
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
80638
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
80574
80639
|
})[];
|
|
80575
80640
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
80576
80641
|
latch_metadata?: {
|
|
@@ -80689,6 +80754,8 @@ type Routes = {
|
|
|
80689
80754
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
80690
80755
|
entry_relays_total_count: number;
|
|
80691
80756
|
} | undefined;
|
|
80757
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
80758
|
+
is_locked?: boolean | undefined;
|
|
80692
80759
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
80693
80760
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
80694
80761
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -85257,6 +85324,13 @@ type Routes = {
|
|
|
85257
85324
|
message: string;
|
|
85258
85325
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85259
85326
|
warning_code: 'entrance_setup_required';
|
|
85327
|
+
} | {
|
|
85328
|
+
/** Date and time at which Seam created the warning. */
|
|
85329
|
+
created_at: string;
|
|
85330
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85331
|
+
message: string;
|
|
85332
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85333
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
85260
85334
|
})[];
|
|
85261
85335
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
85262
85336
|
latch_metadata?: {
|
|
@@ -85375,6 +85449,8 @@ type Routes = {
|
|
|
85375
85449
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
85376
85450
|
entry_relays_total_count: number;
|
|
85377
85451
|
} | undefined;
|
|
85452
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
85453
|
+
is_locked?: boolean | undefined;
|
|
85378
85454
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
85379
85455
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
85380
85456
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -86691,6 +86767,13 @@ type Routes = {
|
|
|
86691
86767
|
message: string;
|
|
86692
86768
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
86693
86769
|
warning_code: 'entrance_setup_required';
|
|
86770
|
+
} | {
|
|
86771
|
+
/** Date and time at which Seam created the warning. */
|
|
86772
|
+
created_at: string;
|
|
86773
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
86774
|
+
message: string;
|
|
86775
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
86776
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
86694
86777
|
})[];
|
|
86695
86778
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
86696
86779
|
latch_metadata?: {
|
|
@@ -86809,6 +86892,8 @@ type Routes = {
|
|
|
86809
86892
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
86810
86893
|
entry_relays_total_count: number;
|
|
86811
86894
|
} | undefined;
|
|
86895
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
86896
|
+
is_locked?: boolean | undefined;
|
|
86812
86897
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
86813
86898
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
86814
86899
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -88426,6 +88511,13 @@ type Routes = {
|
|
|
88426
88511
|
message: string;
|
|
88427
88512
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88428
88513
|
warning_code: 'entrance_setup_required';
|
|
88514
|
+
} | {
|
|
88515
|
+
/** Date and time at which Seam created the warning. */
|
|
88516
|
+
created_at: string;
|
|
88517
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88518
|
+
message: string;
|
|
88519
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88520
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
88429
88521
|
})[];
|
|
88430
88522
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
88431
88523
|
latch_metadata?: {
|
|
@@ -88544,6 +88636,8 @@ type Routes = {
|
|
|
88544
88636
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
88545
88637
|
entry_relays_total_count: number;
|
|
88546
88638
|
} | undefined;
|
|
88639
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
88640
|
+
is_locked?: boolean | undefined;
|
|
88547
88641
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
88548
88642
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
88549
88643
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -93978,6 +94072,13 @@ type Routes = {
|
|
|
93978
94072
|
message: string;
|
|
93979
94073
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
93980
94074
|
warning_code: 'entrance_setup_required';
|
|
94075
|
+
} | {
|
|
94076
|
+
/** Date and time at which Seam created the warning. */
|
|
94077
|
+
created_at: string;
|
|
94078
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
94079
|
+
message: string;
|
|
94080
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
94081
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
93981
94082
|
})[];
|
|
93982
94083
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
93983
94084
|
latch_metadata?: {
|
|
@@ -94096,6 +94197,8 @@ type Routes = {
|
|
|
94096
94197
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
94097
94198
|
entry_relays_total_count: number;
|
|
94098
94199
|
} | undefined;
|
|
94200
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
94201
|
+
is_locked?: boolean | undefined;
|
|
94099
94202
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
94100
94203
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
94101
94204
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -94199,6 +94302,13 @@ type Routes = {
|
|
|
94199
94302
|
message: string;
|
|
94200
94303
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
94201
94304
|
warning_code: 'entrance_setup_required';
|
|
94305
|
+
} | {
|
|
94306
|
+
/** Date and time at which Seam created the warning. */
|
|
94307
|
+
created_at: string;
|
|
94308
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
94309
|
+
message: string;
|
|
94310
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
94311
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
94202
94312
|
})[];
|
|
94203
94313
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
94204
94314
|
latch_metadata?: {
|
|
@@ -94317,6 +94427,8 @@ type Routes = {
|
|
|
94317
94427
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
94318
94428
|
entry_relays_total_count: number;
|
|
94319
94429
|
} | undefined;
|
|
94430
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
94431
|
+
is_locked?: boolean | undefined;
|
|
94320
94432
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
94321
94433
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
94322
94434
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -97409,6 +97521,13 @@ type Routes = {
|
|
|
97409
97521
|
message: string;
|
|
97410
97522
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97411
97523
|
warning_code: 'entrance_setup_required';
|
|
97524
|
+
} | {
|
|
97525
|
+
/** Date and time at which Seam created the warning. */
|
|
97526
|
+
created_at: string;
|
|
97527
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
97528
|
+
message: string;
|
|
97529
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97530
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
97412
97531
|
})[];
|
|
97413
97532
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
97414
97533
|
latch_metadata?: {
|
|
@@ -97527,6 +97646,8 @@ type Routes = {
|
|
|
97527
97646
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
97528
97647
|
entry_relays_total_count: number;
|
|
97529
97648
|
} | undefined;
|
|
97649
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
97650
|
+
is_locked?: boolean | undefined;
|
|
97530
97651
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
97531
97652
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
97532
97653
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -141157,6 +141278,13 @@ type Routes = {
|
|
|
141157
141278
|
message: string;
|
|
141158
141279
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141159
141280
|
warning_code: 'entrance_setup_required';
|
|
141281
|
+
} | {
|
|
141282
|
+
/** Date and time at which Seam created the warning. */
|
|
141283
|
+
created_at: string;
|
|
141284
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
141285
|
+
message: string;
|
|
141286
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141287
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
141160
141288
|
})[];
|
|
141161
141289
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
141162
141290
|
latch_metadata?: {
|
|
@@ -141275,6 +141403,8 @@ type Routes = {
|
|
|
141275
141403
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
141276
141404
|
entry_relays_total_count: number;
|
|
141277
141405
|
} | undefined;
|
|
141406
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
141407
|
+
is_locked?: boolean | undefined;
|
|
141278
141408
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
141279
141409
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
141280
141410
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -143011,6 +143141,13 @@ type Routes = {
|
|
|
143011
143141
|
message: string;
|
|
143012
143142
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143013
143143
|
warning_code: 'entrance_setup_required';
|
|
143144
|
+
} | {
|
|
143145
|
+
/** Date and time at which Seam created the warning. */
|
|
143146
|
+
created_at: string;
|
|
143147
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143148
|
+
message: string;
|
|
143149
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143150
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
143014
143151
|
})[];
|
|
143015
143152
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
143016
143153
|
latch_metadata?: {
|
|
@@ -143129,6 +143266,8 @@ type Routes = {
|
|
|
143129
143266
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
143130
143267
|
entry_relays_total_count: number;
|
|
143131
143268
|
} | undefined;
|
|
143269
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
143270
|
+
is_locked?: boolean | undefined;
|
|
143132
143271
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
143133
143272
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
143134
143273
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -165296,6 +165435,13 @@ type Routes = {
|
|
|
165296
165435
|
message: string;
|
|
165297
165436
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
165298
165437
|
warning_code: 'entrance_setup_required';
|
|
165438
|
+
} | {
|
|
165439
|
+
/** Date and time at which Seam created the warning. */
|
|
165440
|
+
created_at: string;
|
|
165441
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
165442
|
+
message: string;
|
|
165443
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
165444
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
165299
165445
|
})[];
|
|
165300
165446
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
165301
165447
|
latch_metadata?: {
|
|
@@ -165414,6 +165560,8 @@ type Routes = {
|
|
|
165414
165560
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
165415
165561
|
entry_relays_total_count: number;
|
|
165416
165562
|
} | undefined;
|
|
165563
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
165564
|
+
is_locked?: boolean | undefined;
|
|
165417
165565
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
165418
165566
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
165419
165567
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -167817,6 +167965,13 @@ type Routes = {
|
|
|
167817
167965
|
message: string;
|
|
167818
167966
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
167819
167967
|
warning_code: 'entrance_setup_required';
|
|
167968
|
+
} | {
|
|
167969
|
+
/** Date and time at which Seam created the warning. */
|
|
167970
|
+
created_at: string;
|
|
167971
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
167972
|
+
message: string;
|
|
167973
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
167974
|
+
warning_code: 'salto_ks_privacy_mode';
|
|
167820
167975
|
})[];
|
|
167821
167976
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
167822
167977
|
latch_metadata?: {
|
|
@@ -167935,6 +168090,8 @@ type Routes = {
|
|
|
167935
168090
|
/** Total count of entry relays for an Avigilon Alta system. */
|
|
167936
168091
|
entry_relays_total_count: number;
|
|
167937
168092
|
} | undefined;
|
|
168093
|
+
/** Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked. */
|
|
168094
|
+
is_locked?: boolean | undefined;
|
|
167938
168095
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
167939
168096
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
167940
168097
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
package/dist/index.cjs
CHANGED
|
@@ -3922,17 +3922,24 @@ var entrance_setup_required = common_acs_entrance_warning.extend({
|
|
|
3922
3922
|
}).describe(
|
|
3923
3923
|
"Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it."
|
|
3924
3924
|
);
|
|
3925
|
+
var salto_ks_privacy_mode2 = common_acs_entrance_warning.extend({
|
|
3926
|
+
warning_code: zod.z.literal("salto_ks_privacy_mode").describe(warning_code_description8)
|
|
3927
|
+
}).describe(
|
|
3928
|
+
"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."
|
|
3929
|
+
);
|
|
3925
3930
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3926
3931
|
salto_ks_entrance_access_code_support_removed,
|
|
3927
3932
|
entrance_shares_zone,
|
|
3928
|
-
entrance_setup_required
|
|
3933
|
+
entrance_setup_required,
|
|
3934
|
+
salto_ks_privacy_mode2
|
|
3929
3935
|
]).describe(
|
|
3930
3936
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3931
3937
|
);
|
|
3932
3938
|
zod.z.object({
|
|
3933
3939
|
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
3934
3940
|
entrance_shares_zone: entrance_shares_zone.optional().nullable(),
|
|
3935
|
-
entrance_setup_required: entrance_setup_required.optional().nullable()
|
|
3941
|
+
entrance_setup_required: entrance_setup_required.optional().nullable(),
|
|
3942
|
+
salto_ks_privacy_mode: salto_ks_privacy_mode2.optional().nullable()
|
|
3936
3943
|
});
|
|
3937
3944
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3938
3945
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -4012,6 +4019,9 @@ var acs_entrance = zod.z.object({
|
|
|
4012
4019
|
),
|
|
4013
4020
|
avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata.optional().describe(
|
|
4014
4021
|
"Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
4022
|
+
),
|
|
4023
|
+
is_locked: zod.z.boolean().optional().describe(
|
|
4024
|
+
"Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked."
|
|
4015
4025
|
)
|
|
4016
4026
|
}).merge(acs_entrance_capability_flags).describe(`
|
|
4017
4027
|
---
|
|
@@ -11330,6 +11340,10 @@ var openapi = {
|
|
|
11330
11340
|
},
|
|
11331
11341
|
type: "object"
|
|
11332
11342
|
},
|
|
11343
|
+
is_locked: {
|
|
11344
|
+
description: "Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.",
|
|
11345
|
+
type: "boolean"
|
|
11346
|
+
},
|
|
11333
11347
|
latch_metadata: {
|
|
11334
11348
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
11335
11349
|
properties: {
|
|
@@ -11549,6 +11563,27 @@ var openapi = {
|
|
|
11549
11563
|
},
|
|
11550
11564
|
required: ["created_at", "message", "warning_code"],
|
|
11551
11565
|
type: "object"
|
|
11566
|
+
},
|
|
11567
|
+
{
|
|
11568
|
+
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.",
|
|
11569
|
+
properties: {
|
|
11570
|
+
created_at: {
|
|
11571
|
+
description: "Date and time at which Seam created the warning.",
|
|
11572
|
+
format: "date-time",
|
|
11573
|
+
type: "string"
|
|
11574
|
+
},
|
|
11575
|
+
message: {
|
|
11576
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11577
|
+
type: "string"
|
|
11578
|
+
},
|
|
11579
|
+
warning_code: {
|
|
11580
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11581
|
+
enum: ["salto_ks_privacy_mode"],
|
|
11582
|
+
type: "string"
|
|
11583
|
+
}
|
|
11584
|
+
},
|
|
11585
|
+
required: ["created_at", "message", "warning_code"],
|
|
11586
|
+
type: "object"
|
|
11552
11587
|
}
|
|
11553
11588
|
]
|
|
11554
11589
|
},
|
|
@@ -30745,6 +30780,10 @@ var openapi = {
|
|
|
30745
30780
|
},
|
|
30746
30781
|
type: "object"
|
|
30747
30782
|
},
|
|
30783
|
+
is_locked: {
|
|
30784
|
+
description: "Indicates whether the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) is currently locked.",
|
|
30785
|
+
type: "boolean"
|
|
30786
|
+
},
|
|
30748
30787
|
latch_metadata: {
|
|
30749
30788
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
30750
30789
|
properties: {
|
|
@@ -30978,6 +31017,31 @@ var openapi = {
|
|
|
30978
31017
|
"warning_code"
|
|
30979
31018
|
],
|
|
30980
31019
|
type: "object"
|
|
31020
|
+
},
|
|
31021
|
+
{
|
|
31022
|
+
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.",
|
|
31023
|
+
properties: {
|
|
31024
|
+
created_at: {
|
|
31025
|
+
description: "Date and time at which Seam created the warning.",
|
|
31026
|
+
format: "date-time",
|
|
31027
|
+
type: "string"
|
|
31028
|
+
},
|
|
31029
|
+
message: {
|
|
31030
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
31031
|
+
type: "string"
|
|
31032
|
+
},
|
|
31033
|
+
warning_code: {
|
|
31034
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
31035
|
+
enum: ["salto_ks_privacy_mode"],
|
|
31036
|
+
type: "string"
|
|
31037
|
+
}
|
|
31038
|
+
},
|
|
31039
|
+
required: [
|
|
31040
|
+
"created_at",
|
|
31041
|
+
"message",
|
|
31042
|
+
"warning_code"
|
|
31043
|
+
],
|
|
31044
|
+
type: "object"
|
|
30981
31045
|
}
|
|
30982
31046
|
]
|
|
30983
31047
|
},
|