@seamapi/types 1.950.0 → 1.952.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 +120 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +299 -6
- package/dist/index.cjs +120 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -4
- package/lib/seam/connect/models/acs/acs-entrance.js +7 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +2 -2
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +11 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +100 -18
- package/lib/seam/connect/openapi.js +98 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +219 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -0
- package/src/lib/seam/connect/models/devices/device.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +114 -2
- package/src/lib/seam/connect/route-types.ts +250 -0
|
@@ -12919,6 +12919,13 @@ export type Routes = {
|
|
|
12919
12919
|
created_at: string;
|
|
12920
12920
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12921
12921
|
warning_code: 'salto_ks_privacy_mode';
|
|
12922
|
+
} | {
|
|
12923
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12924
|
+
message: string;
|
|
12925
|
+
/** Date and time at which Seam created the warning. */
|
|
12926
|
+
created_at: string;
|
|
12927
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12928
|
+
warning_code: 'privacy_mode';
|
|
12922
12929
|
} | {
|
|
12923
12930
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12924
12931
|
message: string;
|
|
@@ -13147,6 +13154,13 @@ export type Routes = {
|
|
|
13147
13154
|
message: string;
|
|
13148
13155
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13149
13156
|
warning_code: 'salto_ks_privacy_mode';
|
|
13157
|
+
} | {
|
|
13158
|
+
/** Date and time at which Seam created the warning. */
|
|
13159
|
+
created_at: string;
|
|
13160
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
13161
|
+
message: string;
|
|
13162
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13163
|
+
warning_code: 'privacy_mode';
|
|
13150
13164
|
})[];
|
|
13151
13165
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
13152
13166
|
latch_metadata?: {
|
|
@@ -19650,6 +19664,13 @@ export type Routes = {
|
|
|
19650
19664
|
created_at: string;
|
|
19651
19665
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19652
19666
|
warning_code: 'salto_ks_privacy_mode';
|
|
19667
|
+
} | {
|
|
19668
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
19669
|
+
message: string;
|
|
19670
|
+
/** Date and time at which Seam created the warning. */
|
|
19671
|
+
created_at: string;
|
|
19672
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19673
|
+
warning_code: 'privacy_mode';
|
|
19653
19674
|
} | {
|
|
19654
19675
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
19655
19676
|
message: string;
|
|
@@ -19878,6 +19899,13 @@ export type Routes = {
|
|
|
19878
19899
|
message: string;
|
|
19879
19900
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19880
19901
|
warning_code: 'salto_ks_privacy_mode';
|
|
19902
|
+
} | {
|
|
19903
|
+
/** Date and time at which Seam created the warning. */
|
|
19904
|
+
created_at: string;
|
|
19905
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
19906
|
+
message: string;
|
|
19907
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19908
|
+
warning_code: 'privacy_mode';
|
|
19881
19909
|
})[];
|
|
19882
19910
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
19883
19911
|
latch_metadata?: {
|
|
@@ -23025,6 +23053,13 @@ export type Routes = {
|
|
|
23025
23053
|
message: string;
|
|
23026
23054
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
23027
23055
|
warning_code: 'salto_ks_privacy_mode';
|
|
23056
|
+
} | {
|
|
23057
|
+
/** Date and time at which Seam created the warning. */
|
|
23058
|
+
created_at: string;
|
|
23059
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23060
|
+
message: string;
|
|
23061
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
23062
|
+
warning_code: 'privacy_mode';
|
|
23028
23063
|
})[];
|
|
23029
23064
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
23030
23065
|
latch_metadata?: {
|
|
@@ -24791,6 +24826,13 @@ export type Routes = {
|
|
|
24791
24826
|
message: string;
|
|
24792
24827
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24793
24828
|
warning_code: 'salto_ks_privacy_mode';
|
|
24829
|
+
} | {
|
|
24830
|
+
/** Date and time at which Seam created the warning. */
|
|
24831
|
+
created_at: string;
|
|
24832
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24833
|
+
message: string;
|
|
24834
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24835
|
+
warning_code: 'privacy_mode';
|
|
24794
24836
|
})[];
|
|
24795
24837
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
24796
24838
|
latch_metadata?: {
|
|
@@ -30860,6 +30902,13 @@ export type Routes = {
|
|
|
30860
30902
|
message: string;
|
|
30861
30903
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30862
30904
|
warning_code: 'salto_ks_privacy_mode';
|
|
30905
|
+
} | {
|
|
30906
|
+
/** Date and time at which Seam created the warning. */
|
|
30907
|
+
created_at: string;
|
|
30908
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
30909
|
+
message: string;
|
|
30910
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30911
|
+
warning_code: 'privacy_mode';
|
|
30863
30912
|
})[];
|
|
30864
30913
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
30865
30914
|
latch_metadata?: {
|
|
@@ -31090,6 +31139,13 @@ export type Routes = {
|
|
|
31090
31139
|
message: string;
|
|
31091
31140
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
31092
31141
|
warning_code: 'salto_ks_privacy_mode';
|
|
31142
|
+
} | {
|
|
31143
|
+
/** Date and time at which Seam created the warning. */
|
|
31144
|
+
created_at: string;
|
|
31145
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
31146
|
+
message: string;
|
|
31147
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
31148
|
+
warning_code: 'privacy_mode';
|
|
31093
31149
|
})[];
|
|
31094
31150
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
31095
31151
|
latch_metadata?: {
|
|
@@ -34519,6 +34575,13 @@ export type Routes = {
|
|
|
34519
34575
|
message: string;
|
|
34520
34576
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34521
34577
|
warning_code: 'salto_ks_privacy_mode';
|
|
34578
|
+
} | {
|
|
34579
|
+
/** Date and time at which Seam created the warning. */
|
|
34580
|
+
created_at: string;
|
|
34581
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34582
|
+
message: string;
|
|
34583
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34584
|
+
warning_code: 'privacy_mode';
|
|
34522
34585
|
})[];
|
|
34523
34586
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
34524
34587
|
latch_metadata?: {
|
|
@@ -42153,6 +42216,13 @@ export type Routes = {
|
|
|
42153
42216
|
created_at: string;
|
|
42154
42217
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
42155
42218
|
warning_code: 'salto_ks_privacy_mode';
|
|
42219
|
+
} | {
|
|
42220
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
42221
|
+
message: string;
|
|
42222
|
+
/** Date and time at which Seam created the warning. */
|
|
42223
|
+
created_at: string;
|
|
42224
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
42225
|
+
warning_code: 'privacy_mode';
|
|
42156
42226
|
} | {
|
|
42157
42227
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
42158
42228
|
message: string;
|
|
@@ -43678,6 +43748,13 @@ export type Routes = {
|
|
|
43678
43748
|
created_at: string;
|
|
43679
43749
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
43680
43750
|
warning_code: 'salto_ks_privacy_mode';
|
|
43751
|
+
} | {
|
|
43752
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
43753
|
+
message: string;
|
|
43754
|
+
/** Date and time at which Seam created the warning. */
|
|
43755
|
+
created_at: string;
|
|
43756
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
43757
|
+
warning_code: 'privacy_mode';
|
|
43681
43758
|
} | {
|
|
43682
43759
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
43683
43760
|
message: string;
|
|
@@ -44327,6 +44404,13 @@ export type Routes = {
|
|
|
44327
44404
|
created_at: string;
|
|
44328
44405
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44329
44406
|
warning_code: 'salto_ks_privacy_mode';
|
|
44407
|
+
} | {
|
|
44408
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44409
|
+
message: string;
|
|
44410
|
+
/** Date and time at which Seam created the warning. */
|
|
44411
|
+
created_at: string;
|
|
44412
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44413
|
+
warning_code: 'privacy_mode';
|
|
44330
44414
|
} | {
|
|
44331
44415
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44332
44416
|
message: string;
|
|
@@ -44878,6 +44962,13 @@ export type Routes = {
|
|
|
44878
44962
|
created_at: string;
|
|
44879
44963
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44880
44964
|
warning_code: 'salto_ks_privacy_mode';
|
|
44965
|
+
} | {
|
|
44966
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44967
|
+
message: string;
|
|
44968
|
+
/** Date and time at which Seam created the warning. */
|
|
44969
|
+
created_at: string;
|
|
44970
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44971
|
+
warning_code: 'privacy_mode';
|
|
44881
44972
|
} | {
|
|
44882
44973
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44883
44974
|
message: string;
|
|
@@ -54728,6 +54819,13 @@ export type Routes = {
|
|
|
54728
54819
|
created_at: string;
|
|
54729
54820
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54730
54821
|
warning_code: 'salto_ks_privacy_mode';
|
|
54822
|
+
} | {
|
|
54823
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54824
|
+
message: string;
|
|
54825
|
+
/** Date and time at which Seam created the warning. */
|
|
54826
|
+
created_at: string;
|
|
54827
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54828
|
+
warning_code: 'privacy_mode';
|
|
54731
54829
|
} | {
|
|
54732
54830
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54733
54831
|
message: string;
|
|
@@ -56203,6 +56301,13 @@ export type Routes = {
|
|
|
56203
56301
|
created_at: string;
|
|
56204
56302
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
56205
56303
|
warning_code: 'salto_ks_privacy_mode';
|
|
56304
|
+
} | {
|
|
56305
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
56306
|
+
message: string;
|
|
56307
|
+
/** Date and time at which Seam created the warning. */
|
|
56308
|
+
created_at: string;
|
|
56309
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
56310
|
+
warning_code: 'privacy_mode';
|
|
56206
56311
|
} | {
|
|
56207
56312
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
56208
56313
|
message: string;
|
|
@@ -57728,6 +57833,13 @@ export type Routes = {
|
|
|
57728
57833
|
created_at: string;
|
|
57729
57834
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57730
57835
|
warning_code: 'salto_ks_privacy_mode';
|
|
57836
|
+
} | {
|
|
57837
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57838
|
+
message: string;
|
|
57839
|
+
/** Date and time at which Seam created the warning. */
|
|
57840
|
+
created_at: string;
|
|
57841
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57842
|
+
warning_code: 'privacy_mode';
|
|
57731
57843
|
} | {
|
|
57732
57844
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57733
57845
|
message: string;
|
|
@@ -59202,6 +59314,13 @@ export type Routes = {
|
|
|
59202
59314
|
created_at: string;
|
|
59203
59315
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
59204
59316
|
warning_code: 'salto_ks_privacy_mode';
|
|
59317
|
+
} | {
|
|
59318
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
59319
|
+
message: string;
|
|
59320
|
+
/** Date and time at which Seam created the warning. */
|
|
59321
|
+
created_at: string;
|
|
59322
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
59323
|
+
warning_code: 'privacy_mode';
|
|
59205
59324
|
} | {
|
|
59206
59325
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
59207
59326
|
message: string;
|
|
@@ -67453,6 +67572,13 @@ export type Routes = {
|
|
|
67453
67572
|
created_at: string;
|
|
67454
67573
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67455
67574
|
warning_code: 'salto_ks_privacy_mode';
|
|
67575
|
+
} | {
|
|
67576
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67577
|
+
message: string;
|
|
67578
|
+
/** Date and time at which Seam created the warning. */
|
|
67579
|
+
created_at: string;
|
|
67580
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67581
|
+
warning_code: 'privacy_mode';
|
|
67456
67582
|
} | {
|
|
67457
67583
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67458
67584
|
message: string;
|
|
@@ -68927,6 +69053,13 @@ export type Routes = {
|
|
|
68927
69053
|
created_at: string;
|
|
68928
69054
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68929
69055
|
warning_code: 'salto_ks_privacy_mode';
|
|
69056
|
+
} | {
|
|
69057
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
69058
|
+
message: string;
|
|
69059
|
+
/** Date and time at which Seam created the warning. */
|
|
69060
|
+
created_at: string;
|
|
69061
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
69062
|
+
warning_code: 'privacy_mode';
|
|
68930
69063
|
} | {
|
|
68931
69064
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68932
69065
|
message: string;
|
|
@@ -75410,14 +75543,14 @@ export type Routes = {
|
|
|
75410
75543
|
jsonBody: {};
|
|
75411
75544
|
commonParams: {
|
|
75412
75545
|
/** Name of the workspace feature flag to update. */
|
|
75413
|
-
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED';
|
|
75546
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED' | 'AURORA_CUSTOMER_FILTER_ENABLED';
|
|
75414
75547
|
/** Whether the feature flag should be enabled for the workspace. */
|
|
75415
75548
|
enabled: boolean;
|
|
75416
75549
|
};
|
|
75417
75550
|
formData: {};
|
|
75418
75551
|
jsonResponse: {
|
|
75419
75552
|
feature_flag: {
|
|
75420
|
-
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED';
|
|
75553
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED' | 'AURORA_CUSTOMER_FILTER_ENABLED';
|
|
75421
75554
|
enabled: boolean;
|
|
75422
75555
|
};
|
|
75423
75556
|
};
|
|
@@ -83019,6 +83152,13 @@ export type Routes = {
|
|
|
83019
83152
|
message: string;
|
|
83020
83153
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83021
83154
|
warning_code: 'salto_ks_privacy_mode';
|
|
83155
|
+
} | {
|
|
83156
|
+
/** Date and time at which Seam created the warning. */
|
|
83157
|
+
created_at: string;
|
|
83158
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
83159
|
+
message: string;
|
|
83160
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83161
|
+
warning_code: 'privacy_mode';
|
|
83022
83162
|
})[];
|
|
83023
83163
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
83024
83164
|
latch_metadata?: {
|
|
@@ -84813,6 +84953,13 @@ export type Routes = {
|
|
|
84813
84953
|
created_at: string;
|
|
84814
84954
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84815
84955
|
warning_code: 'salto_ks_privacy_mode';
|
|
84956
|
+
} | {
|
|
84957
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84958
|
+
message: string;
|
|
84959
|
+
/** Date and time at which Seam created the warning. */
|
|
84960
|
+
created_at: string;
|
|
84961
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84962
|
+
warning_code: 'privacy_mode';
|
|
84816
84963
|
} | {
|
|
84817
84964
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84818
84965
|
message: string;
|
|
@@ -85041,6 +85188,13 @@ export type Routes = {
|
|
|
85041
85188
|
message: string;
|
|
85042
85189
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85043
85190
|
warning_code: 'salto_ks_privacy_mode';
|
|
85191
|
+
} | {
|
|
85192
|
+
/** Date and time at which Seam created the warning. */
|
|
85193
|
+
created_at: string;
|
|
85194
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85195
|
+
message: string;
|
|
85196
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85197
|
+
warning_code: 'privacy_mode';
|
|
85044
85198
|
})[];
|
|
85045
85199
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
85046
85200
|
latch_metadata?: {
|
|
@@ -92295,6 +92449,13 @@ export type Routes = {
|
|
|
92295
92449
|
created_at: string;
|
|
92296
92450
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92297
92451
|
warning_code: 'salto_ks_privacy_mode';
|
|
92452
|
+
} | {
|
|
92453
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
92454
|
+
message: string;
|
|
92455
|
+
/** Date and time at which Seam created the warning. */
|
|
92456
|
+
created_at: string;
|
|
92457
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92458
|
+
warning_code: 'privacy_mode';
|
|
92298
92459
|
} | {
|
|
92299
92460
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
92300
92461
|
message: string;
|
|
@@ -97196,6 +97357,13 @@ export type Routes = {
|
|
|
97196
97357
|
created_at: string;
|
|
97197
97358
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97198
97359
|
warning_code: 'salto_ks_privacy_mode';
|
|
97360
|
+
} | {
|
|
97361
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
97362
|
+
message: string;
|
|
97363
|
+
/** Date and time at which Seam created the warning. */
|
|
97364
|
+
created_at: string;
|
|
97365
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97366
|
+
warning_code: 'privacy_mode';
|
|
97199
97367
|
} | {
|
|
97200
97368
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
97201
97369
|
message: string;
|
|
@@ -98670,6 +98838,13 @@ export type Routes = {
|
|
|
98670
98838
|
created_at: string;
|
|
98671
98839
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
98672
98840
|
warning_code: 'salto_ks_privacy_mode';
|
|
98841
|
+
} | {
|
|
98842
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
98843
|
+
message: string;
|
|
98844
|
+
/** Date and time at which Seam created the warning. */
|
|
98845
|
+
created_at: string;
|
|
98846
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
98847
|
+
warning_code: 'privacy_mode';
|
|
98673
98848
|
} | {
|
|
98674
98849
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
98675
98850
|
message: string;
|
|
@@ -107860,6 +108035,13 @@ export type Routes = {
|
|
|
107860
108035
|
created_at: string;
|
|
107861
108036
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107862
108037
|
warning_code: 'salto_ks_privacy_mode';
|
|
108038
|
+
} | {
|
|
108039
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108040
|
+
message: string;
|
|
108041
|
+
/** Date and time at which Seam created the warning. */
|
|
108042
|
+
created_at: string;
|
|
108043
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108044
|
+
warning_code: 'privacy_mode';
|
|
107863
108045
|
} | {
|
|
107864
108046
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107865
108047
|
message: string;
|
|
@@ -109336,6 +109518,13 @@ export type Routes = {
|
|
|
109336
109518
|
created_at: string;
|
|
109337
109519
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109338
109520
|
warning_code: 'salto_ks_privacy_mode';
|
|
109521
|
+
} | {
|
|
109522
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
109523
|
+
message: string;
|
|
109524
|
+
/** Date and time at which Seam created the warning. */
|
|
109525
|
+
created_at: string;
|
|
109526
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109527
|
+
warning_code: 'privacy_mode';
|
|
109339
109528
|
} | {
|
|
109340
109529
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
109341
109530
|
message: string;
|
|
@@ -109578,6 +109767,13 @@ export type Routes = {
|
|
|
109578
109767
|
message: string;
|
|
109579
109768
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109580
109769
|
warning_code: 'salto_ks_privacy_mode';
|
|
109770
|
+
} | {
|
|
109771
|
+
/** Date and time at which Seam created the warning. */
|
|
109772
|
+
created_at: string;
|
|
109773
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
109774
|
+
message: string;
|
|
109775
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109776
|
+
warning_code: 'privacy_mode';
|
|
109581
109777
|
})[];
|
|
109582
109778
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
109583
109779
|
latch_metadata?: {
|
|
@@ -112067,6 +112263,13 @@ export type Routes = {
|
|
|
112067
112263
|
created_at: string;
|
|
112068
112264
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112069
112265
|
warning_code: 'salto_ks_privacy_mode';
|
|
112266
|
+
} | {
|
|
112267
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112268
|
+
message: string;
|
|
112269
|
+
/** Date and time at which Seam created the warning. */
|
|
112270
|
+
created_at: string;
|
|
112271
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112272
|
+
warning_code: 'privacy_mode';
|
|
112070
112273
|
} | {
|
|
112071
112274
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112072
112275
|
message: string;
|
|
@@ -112295,6 +112498,13 @@ export type Routes = {
|
|
|
112295
112498
|
message: string;
|
|
112296
112499
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112297
112500
|
warning_code: 'salto_ks_privacy_mode';
|
|
112501
|
+
} | {
|
|
112502
|
+
/** Date and time at which Seam created the warning. */
|
|
112503
|
+
created_at: string;
|
|
112504
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112505
|
+
message: string;
|
|
112506
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112507
|
+
warning_code: 'privacy_mode';
|
|
112298
112508
|
})[];
|
|
112299
112509
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
112300
112510
|
latch_metadata?: {
|
|
@@ -115383,6 +115593,13 @@ export type Routes = {
|
|
|
115383
115593
|
created_at: string;
|
|
115384
115594
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
115385
115595
|
warning_code: 'salto_ks_privacy_mode';
|
|
115596
|
+
} | {
|
|
115597
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115598
|
+
message: string;
|
|
115599
|
+
/** Date and time at which Seam created the warning. */
|
|
115600
|
+
created_at: string;
|
|
115601
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
115602
|
+
warning_code: 'privacy_mode';
|
|
115386
115603
|
} | {
|
|
115387
115604
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115388
115605
|
message: string;
|
package/package.json
CHANGED
|
@@ -65,6 +65,14 @@ const salto_ks_privacy_mode = common_acs_entrance_warning
|
|
|
65
65
|
.literal('salto_ks_privacy_mode')
|
|
66
66
|
.describe(warning_code_description),
|
|
67
67
|
})
|
|
68
|
+
.describe(
|
|
69
|
+
'deprecated: Use `privacy_mode` instead. 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
|
+
|
|
72
|
+
const privacy_mode = common_acs_entrance_warning
|
|
73
|
+
.extend({
|
|
74
|
+
warning_code: z.literal('privacy_mode').describe(warning_code_description),
|
|
75
|
+
})
|
|
68
76
|
.describe(
|
|
69
77
|
'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
78
|
)
|
|
@@ -75,6 +83,7 @@ const acs_entrance_warning = z
|
|
|
75
83
|
entrance_shares_zone,
|
|
76
84
|
entrance_setup_required,
|
|
77
85
|
salto_ks_privacy_mode,
|
|
86
|
+
privacy_mode,
|
|
78
87
|
])
|
|
79
88
|
.describe(
|
|
80
89
|
'Warning associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).',
|
|
@@ -86,6 +95,7 @@ const _acs_entrance_warning_map = z.object({
|
|
|
86
95
|
entrance_shares_zone: entrance_shares_zone.optional().nullable(),
|
|
87
96
|
entrance_setup_required: entrance_setup_required.optional().nullable(),
|
|
88
97
|
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
98
|
+
privacy_mode: privacy_mode.optional().nullable(),
|
|
89
99
|
})
|
|
90
100
|
|
|
91
101
|
export type AcsEntranceWarningMap = z.infer<typeof _acs_entrance_warning_map>
|
|
@@ -428,11 +428,21 @@ const salto_ks_privacy_mode = common_device_warning.extend({
|
|
|
428
428
|
.describe(warning_code_description),
|
|
429
429
|
}).describe(`
|
|
430
430
|
---
|
|
431
|
+
deprecated: Use \`privacy_mode\` instead.
|
|
431
432
|
variant_group_key: access_codes
|
|
432
433
|
---
|
|
433
434
|
Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
|
|
434
435
|
`)
|
|
435
436
|
|
|
437
|
+
const privacy_mode = common_device_warning.extend({
|
|
438
|
+
warning_code: z.literal('privacy_mode').describe(warning_code_description),
|
|
439
|
+
}).describe(`
|
|
440
|
+
---
|
|
441
|
+
variant_group_key: access_codes
|
|
442
|
+
---
|
|
443
|
+
Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.
|
|
444
|
+
`)
|
|
445
|
+
|
|
436
446
|
const salto_ks_subscription_limit_almost_reached = common_device_warning.extend(
|
|
437
447
|
{
|
|
438
448
|
warning_code: z
|
|
@@ -710,6 +720,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
710
720
|
device_has_flaky_connection,
|
|
711
721
|
salto_ks_office_mode,
|
|
712
722
|
salto_ks_privacy_mode,
|
|
723
|
+
privacy_mode,
|
|
713
724
|
salto_ks_subscription_limit_almost_reached,
|
|
714
725
|
salto_ks_lock_access_code_support_removed,
|
|
715
726
|
unknown_issue_with_phone,
|
|
@@ -762,6 +773,7 @@ export const device_warning_map = z.object({
|
|
|
762
773
|
.nullable(),
|
|
763
774
|
salto_ks_office_mode: salto_ks_office_mode.optional().nullable(),
|
|
764
775
|
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
776
|
+
privacy_mode: privacy_mode.optional().nullable(),
|
|
765
777
|
salto_ks_subscription_limit_almost_reached:
|
|
766
778
|
salto_ks_subscription_limit_almost_reached.optional().nullable(),
|
|
767
779
|
salto_ks_lock_access_code_support_removed:
|