@seamapi/types 1.843.0 → 1.844.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 +100 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +157 -0
- package/dist/index.cjs +100 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +54 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +28 -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 +70 -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 +46 -0
- package/src/lib/seam/connect/openapi.ts +82 -0
- package/src/lib/seam/connect/route-types.ts +99 -0
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
declare const _acs_entrance_warning_map: z.ZodObject<{
|
|
3
|
+
salto_ks_entrance_access_code_support_removed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
created_at: z.ZodString;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
} & {
|
|
7
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
message: string;
|
|
10
|
+
created_at: string;
|
|
11
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
12
|
+
}, {
|
|
13
|
+
message: string;
|
|
14
|
+
created_at: string;
|
|
15
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
salto_ks_entrance_access_code_support_removed?: {
|
|
19
|
+
message: string;
|
|
20
|
+
created_at: string;
|
|
21
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
22
|
+
} | null | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
salto_ks_entrance_access_code_support_removed?: {
|
|
25
|
+
message: string;
|
|
26
|
+
created_at: string;
|
|
27
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
28
|
+
} | null | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type AcsEntranceWarningMap = z.infer<typeof _acs_entrance_warning_map>;
|
|
2
31
|
export declare const acs_entrance_capability_flags: z.ZodObject<{
|
|
3
32
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
4
33
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -35,6 +64,20 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
35
64
|
message: string;
|
|
36
65
|
error_code: string;
|
|
37
66
|
}>, "many">;
|
|
67
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
68
|
+
created_at: z.ZodString;
|
|
69
|
+
message: z.ZodString;
|
|
70
|
+
} & {
|
|
71
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
message: string;
|
|
74
|
+
created_at: string;
|
|
75
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
76
|
+
}, {
|
|
77
|
+
message: string;
|
|
78
|
+
created_at: string;
|
|
79
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
80
|
+
}>]>, "many">;
|
|
38
81
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
39
82
|
accessibility_type: z.ZodString;
|
|
40
83
|
door_name: z.ZodString;
|
|
@@ -227,6 +270,11 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
227
270
|
error_code: string;
|
|
228
271
|
}[];
|
|
229
272
|
connected_account_id: string;
|
|
273
|
+
warnings: {
|
|
274
|
+
message: string;
|
|
275
|
+
created_at: string;
|
|
276
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
277
|
+
}[];
|
|
230
278
|
space_ids: string[];
|
|
231
279
|
acs_entrance_id: string;
|
|
232
280
|
acs_system_id: string;
|
|
@@ -307,6 +355,11 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
307
355
|
error_code: string;
|
|
308
356
|
}[];
|
|
309
357
|
connected_account_id: string;
|
|
358
|
+
warnings: {
|
|
359
|
+
message: string;
|
|
360
|
+
created_at: string;
|
|
361
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
362
|
+
}[];
|
|
310
363
|
space_ids: string[];
|
|
311
364
|
acs_entrance_id: string;
|
|
312
365
|
acs_system_id: string;
|
|
@@ -381,3 +434,4 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
381
434
|
} | undefined;
|
|
382
435
|
}>;
|
|
383
436
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
437
|
+
export {};
|
|
@@ -3,6 +3,31 @@ import { acs_entrance_avigilon_alta_metadata } from './metadata/avigilon-alta.js
|
|
|
3
3
|
import { acs_entrance_dormakaba_ambiance_metadata } from './metadata/dormakaba-ambiance.js';
|
|
4
4
|
import { acs_entrance_assa_abloy_vostio_metadata, acs_entrance_brivo_metadata, acs_entrance_dormakaba_community_metadata, acs_entrance_hotek_metadata, acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
5
5
|
import { acs_entrance_salto_space_metadata } from './metadata/salto-space.js';
|
|
6
|
+
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
7
|
+
const common_acs_entrance_warning = z.object({
|
|
8
|
+
created_at: z
|
|
9
|
+
.string()
|
|
10
|
+
.datetime()
|
|
11
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
12
|
+
message: z
|
|
13
|
+
.string()
|
|
14
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
15
|
+
});
|
|
16
|
+
const salto_ks_entrance_access_code_support_removed = common_acs_entrance_warning
|
|
17
|
+
.extend({
|
|
18
|
+
warning_code: z
|
|
19
|
+
.literal('salto_ks_entrance_access_code_support_removed')
|
|
20
|
+
.describe(warning_code_description),
|
|
21
|
+
})
|
|
22
|
+
.describe('Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.');
|
|
23
|
+
const acs_entrance_warning = z
|
|
24
|
+
.discriminatedUnion('warning_code', [
|
|
25
|
+
salto_ks_entrance_access_code_support_removed,
|
|
26
|
+
])
|
|
27
|
+
.describe('Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).');
|
|
28
|
+
const _acs_entrance_warning_map = z.object({
|
|
29
|
+
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
30
|
+
});
|
|
6
31
|
export const acs_entrance_capability_flags = z.object({
|
|
7
32
|
can_unlock_with_mobile_key: z
|
|
8
33
|
.boolean()
|
|
@@ -59,6 +84,9 @@ export const acs_entrance = z
|
|
|
59
84
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
60
85
|
}))
|
|
61
86
|
.describe('Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
87
|
+
warnings: z
|
|
88
|
+
.array(acs_entrance_warning)
|
|
89
|
+
.describe('Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
62
90
|
latch_metadata: acs_entrance_latch_metadata
|
|
63
91
|
.optional()
|
|
64
92
|
.describe('Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
@@ -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,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EACL,uCAAuC,EACvC,2BAA2B,EAC3B,yCAAyC,EACzC,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAE7E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF,CAClF;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,2EAA2E,CAC5E;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;IACH,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,gFAAgF,CACjF;IACH,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qGAAqG,CACtG;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,yNAAyN,CAC1N;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,iHAAiH,CA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J;IACH,sBAAsB,EAAE,mCAAmC;SACxD,QAAQ,EAAE;SACV,QAAQ,CACP,2JAA2J,CAC5J;CACJ,CAAC;KACD,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOhD,CAAC,CAAA"}
|
|
@@ -5225,6 +5225,20 @@ export declare const batch: z.ZodObject<{
|
|
|
5225
5225
|
message: string;
|
|
5226
5226
|
error_code: string;
|
|
5227
5227
|
}>, "many">;
|
|
5228
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
5229
|
+
created_at: z.ZodString;
|
|
5230
|
+
message: z.ZodString;
|
|
5231
|
+
} & {
|
|
5232
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
5233
|
+
}, "strip", z.ZodTypeAny, {
|
|
5234
|
+
message: string;
|
|
5235
|
+
created_at: string;
|
|
5236
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5237
|
+
}, {
|
|
5238
|
+
message: string;
|
|
5239
|
+
created_at: string;
|
|
5240
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5241
|
+
}>]>, "many">;
|
|
5228
5242
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
5229
5243
|
accessibility_type: z.ZodString;
|
|
5230
5244
|
door_name: z.ZodString;
|
|
@@ -5417,6 +5431,11 @@ export declare const batch: z.ZodObject<{
|
|
|
5417
5431
|
error_code: string;
|
|
5418
5432
|
}[];
|
|
5419
5433
|
connected_account_id: string;
|
|
5434
|
+
warnings: {
|
|
5435
|
+
message: string;
|
|
5436
|
+
created_at: string;
|
|
5437
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5438
|
+
}[];
|
|
5420
5439
|
space_ids: string[];
|
|
5421
5440
|
acs_entrance_id: string;
|
|
5422
5441
|
acs_system_id: string;
|
|
@@ -5497,6 +5516,11 @@ export declare const batch: z.ZodObject<{
|
|
|
5497
5516
|
error_code: string;
|
|
5498
5517
|
}[];
|
|
5499
5518
|
connected_account_id: string;
|
|
5519
|
+
warnings: {
|
|
5520
|
+
message: string;
|
|
5521
|
+
created_at: string;
|
|
5522
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5523
|
+
}[];
|
|
5500
5524
|
space_ids: string[];
|
|
5501
5525
|
acs_entrance_id: string;
|
|
5502
5526
|
acs_system_id: string;
|
|
@@ -27041,6 +27065,11 @@ export declare const batch: z.ZodObject<{
|
|
|
27041
27065
|
error_code: string;
|
|
27042
27066
|
}[];
|
|
27043
27067
|
connected_account_id: string;
|
|
27068
|
+
warnings: {
|
|
27069
|
+
message: string;
|
|
27070
|
+
created_at: string;
|
|
27071
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
27072
|
+
}[];
|
|
27044
27073
|
space_ids: string[];
|
|
27045
27074
|
acs_entrance_id: string;
|
|
27046
27075
|
acs_system_id: string;
|
|
@@ -32044,6 +32073,11 @@ export declare const batch: z.ZodObject<{
|
|
|
32044
32073
|
error_code: string;
|
|
32045
32074
|
}[];
|
|
32046
32075
|
connected_account_id: string;
|
|
32076
|
+
warnings: {
|
|
32077
|
+
message: string;
|
|
32078
|
+
created_at: string;
|
|
32079
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
32080
|
+
}[];
|
|
32047
32081
|
space_ids: string[];
|
|
32048
32082
|
acs_entrance_id: string;
|
|
32049
32083
|
acs_system_id: string;
|
|
@@ -200,6 +200,20 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
200
200
|
message: string;
|
|
201
201
|
error_code: string;
|
|
202
202
|
}>, "many">;
|
|
203
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
204
|
+
created_at: z.ZodString;
|
|
205
|
+
message: z.ZodString;
|
|
206
|
+
} & {
|
|
207
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
message: string;
|
|
210
|
+
created_at: string;
|
|
211
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
212
|
+
}, {
|
|
213
|
+
message: string;
|
|
214
|
+
created_at: string;
|
|
215
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
216
|
+
}>]>, "many">;
|
|
203
217
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
204
218
|
accessibility_type: z.ZodString;
|
|
205
219
|
door_name: z.ZodString;
|
|
@@ -392,6 +406,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
392
406
|
error_code: string;
|
|
393
407
|
}[];
|
|
394
408
|
connected_account_id: string;
|
|
409
|
+
warnings: {
|
|
410
|
+
message: string;
|
|
411
|
+
created_at: string;
|
|
412
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
413
|
+
}[];
|
|
395
414
|
space_ids: string[];
|
|
396
415
|
acs_entrance_id: string;
|
|
397
416
|
acs_system_id: string;
|
|
@@ -472,6 +491,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
472
491
|
error_code: string;
|
|
473
492
|
}[];
|
|
474
493
|
connected_account_id: string;
|
|
494
|
+
warnings: {
|
|
495
|
+
message: string;
|
|
496
|
+
created_at: string;
|
|
497
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
498
|
+
}[];
|
|
475
499
|
space_ids: string[];
|
|
476
500
|
acs_entrance_id: string;
|
|
477
501
|
acs_system_id: string;
|
|
@@ -591,6 +615,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
591
615
|
error_code: string;
|
|
592
616
|
}[];
|
|
593
617
|
connected_account_id: string;
|
|
618
|
+
warnings: {
|
|
619
|
+
message: string;
|
|
620
|
+
created_at: string;
|
|
621
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
622
|
+
}[];
|
|
594
623
|
space_ids: string[];
|
|
595
624
|
acs_entrance_id: string;
|
|
596
625
|
acs_system_id: string;
|
|
@@ -744,6 +773,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
744
773
|
error_code: string;
|
|
745
774
|
}[];
|
|
746
775
|
connected_account_id: string;
|
|
776
|
+
warnings: {
|
|
777
|
+
message: string;
|
|
778
|
+
created_at: string;
|
|
779
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
780
|
+
}[];
|
|
747
781
|
space_ids: string[];
|
|
748
782
|
acs_entrance_id: string;
|
|
749
783
|
acs_system_id: string;
|
|
@@ -899,6 +933,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
899
933
|
error_code: string;
|
|
900
934
|
}[];
|
|
901
935
|
connected_account_id: string;
|
|
936
|
+
warnings: {
|
|
937
|
+
message: string;
|
|
938
|
+
created_at: string;
|
|
939
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
940
|
+
}[];
|
|
902
941
|
space_ids: string[];
|
|
903
942
|
acs_entrance_id: string;
|
|
904
943
|
acs_system_id: string;
|
|
@@ -1060,6 +1099,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1060
1099
|
error_code: string;
|
|
1061
1100
|
}[];
|
|
1062
1101
|
connected_account_id: string;
|
|
1102
|
+
warnings: {
|
|
1103
|
+
message: string;
|
|
1104
|
+
created_at: string;
|
|
1105
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1106
|
+
}[];
|
|
1063
1107
|
space_ids: string[];
|
|
1064
1108
|
acs_entrance_id: string;
|
|
1065
1109
|
acs_system_id: string;
|
|
@@ -1377,6 +1421,20 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1377
1421
|
message: string;
|
|
1378
1422
|
error_code: string;
|
|
1379
1423
|
}>, "many">;
|
|
1424
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1425
|
+
created_at: z.ZodString;
|
|
1426
|
+
message: z.ZodString;
|
|
1427
|
+
} & {
|
|
1428
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
1429
|
+
}, "strip", z.ZodTypeAny, {
|
|
1430
|
+
message: string;
|
|
1431
|
+
created_at: string;
|
|
1432
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1433
|
+
}, {
|
|
1434
|
+
message: string;
|
|
1435
|
+
created_at: string;
|
|
1436
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1437
|
+
}>]>, "many">;
|
|
1380
1438
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
1381
1439
|
accessibility_type: z.ZodString;
|
|
1382
1440
|
door_name: z.ZodString;
|
|
@@ -1569,6 +1627,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1569
1627
|
error_code: string;
|
|
1570
1628
|
}[];
|
|
1571
1629
|
connected_account_id: string;
|
|
1630
|
+
warnings: {
|
|
1631
|
+
message: string;
|
|
1632
|
+
created_at: string;
|
|
1633
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1634
|
+
}[];
|
|
1572
1635
|
space_ids: string[];
|
|
1573
1636
|
acs_entrance_id: string;
|
|
1574
1637
|
acs_system_id: string;
|
|
@@ -1649,6 +1712,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1649
1712
|
error_code: string;
|
|
1650
1713
|
}[];
|
|
1651
1714
|
connected_account_id: string;
|
|
1715
|
+
warnings: {
|
|
1716
|
+
message: string;
|
|
1717
|
+
created_at: string;
|
|
1718
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1719
|
+
}[];
|
|
1652
1720
|
space_ids: string[];
|
|
1653
1721
|
acs_entrance_id: string;
|
|
1654
1722
|
acs_system_id: string;
|
|
@@ -1768,6 +1836,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1768
1836
|
error_code: string;
|
|
1769
1837
|
}[];
|
|
1770
1838
|
connected_account_id: string;
|
|
1839
|
+
warnings: {
|
|
1840
|
+
message: string;
|
|
1841
|
+
created_at: string;
|
|
1842
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1843
|
+
}[];
|
|
1771
1844
|
space_ids: string[];
|
|
1772
1845
|
acs_entrance_id: string;
|
|
1773
1846
|
acs_system_id: string;
|
|
@@ -1921,6 +1994,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1921
1994
|
error_code: string;
|
|
1922
1995
|
}[];
|
|
1923
1996
|
connected_account_id: string;
|
|
1997
|
+
warnings: {
|
|
1998
|
+
message: string;
|
|
1999
|
+
created_at: string;
|
|
2000
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2001
|
+
}[];
|
|
1924
2002
|
space_ids: string[];
|
|
1925
2003
|
acs_entrance_id: string;
|
|
1926
2004
|
acs_system_id: string;
|
|
@@ -2076,6 +2154,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2076
2154
|
error_code: string;
|
|
2077
2155
|
}[];
|
|
2078
2156
|
connected_account_id: string;
|
|
2157
|
+
warnings: {
|
|
2158
|
+
message: string;
|
|
2159
|
+
created_at: string;
|
|
2160
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2161
|
+
}[];
|
|
2079
2162
|
space_ids: string[];
|
|
2080
2163
|
acs_entrance_id: string;
|
|
2081
2164
|
acs_system_id: string;
|
|
@@ -2237,6 +2320,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2237
2320
|
error_code: string;
|
|
2238
2321
|
}[];
|
|
2239
2322
|
connected_account_id: string;
|
|
2323
|
+
warnings: {
|
|
2324
|
+
message: string;
|
|
2325
|
+
created_at: string;
|
|
2326
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2327
|
+
}[];
|
|
2240
2328
|
space_ids: string[];
|
|
2241
2329
|
acs_entrance_id: string;
|
|
2242
2330
|
acs_system_id: string;
|
|
@@ -2513,6 +2601,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2513
2601
|
error_code: string;
|
|
2514
2602
|
}[];
|
|
2515
2603
|
connected_account_id: string;
|
|
2604
|
+
warnings: {
|
|
2605
|
+
message: string;
|
|
2606
|
+
created_at: string;
|
|
2607
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2608
|
+
}[];
|
|
2516
2609
|
space_ids: string[];
|
|
2517
2610
|
acs_entrance_id: string;
|
|
2518
2611
|
acs_system_id: string;
|
|
@@ -2705,6 +2798,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2705
2798
|
error_code: string;
|
|
2706
2799
|
}[];
|
|
2707
2800
|
connected_account_id: string;
|
|
2801
|
+
warnings: {
|
|
2802
|
+
message: string;
|
|
2803
|
+
created_at: string;
|
|
2804
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2805
|
+
}[];
|
|
2708
2806
|
space_ids: string[];
|
|
2709
2807
|
acs_entrance_id: string;
|
|
2710
2808
|
acs_system_id: string;
|
|
@@ -4094,6 +4094,37 @@ const openapi = {
|
|
|
4094
4094
|
required: ['door_name', 'door_category'],
|
|
4095
4095
|
type: 'object',
|
|
4096
4096
|
},
|
|
4097
|
+
warnings: {
|
|
4098
|
+
description: 'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4099
|
+
items: {
|
|
4100
|
+
description: 'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4101
|
+
discriminator: { propertyName: 'warning_code' },
|
|
4102
|
+
oneOf: [
|
|
4103
|
+
{
|
|
4104
|
+
description: 'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
4105
|
+
properties: {
|
|
4106
|
+
created_at: {
|
|
4107
|
+
description: 'Date and time at which Seam created the warning.',
|
|
4108
|
+
format: 'date-time',
|
|
4109
|
+
type: 'string',
|
|
4110
|
+
},
|
|
4111
|
+
message: {
|
|
4112
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4113
|
+
type: 'string',
|
|
4114
|
+
},
|
|
4115
|
+
warning_code: {
|
|
4116
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4117
|
+
enum: ['salto_ks_entrance_access_code_support_removed'],
|
|
4118
|
+
type: 'string',
|
|
4119
|
+
},
|
|
4120
|
+
},
|
|
4121
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4122
|
+
type: 'object',
|
|
4123
|
+
},
|
|
4124
|
+
],
|
|
4125
|
+
},
|
|
4126
|
+
type: 'array',
|
|
4127
|
+
},
|
|
4097
4128
|
},
|
|
4098
4129
|
required: [
|
|
4099
4130
|
'acs_system_id',
|
|
@@ -4103,6 +4134,7 @@ const openapi = {
|
|
|
4103
4134
|
'display_name',
|
|
4104
4135
|
'connected_account_id',
|
|
4105
4136
|
'errors',
|
|
4137
|
+
'warnings',
|
|
4106
4138
|
],
|
|
4107
4139
|
type: 'object',
|
|
4108
4140
|
'x-route-path': '/acs/entrances',
|
|
@@ -22854,6 +22886,43 @@ const openapi = {
|
|
|
22854
22886
|
required: ['door_name', 'door_category'],
|
|
22855
22887
|
type: 'object',
|
|
22856
22888
|
},
|
|
22889
|
+
warnings: {
|
|
22890
|
+
description: 'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
22891
|
+
items: {
|
|
22892
|
+
description: 'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
22893
|
+
discriminator: { propertyName: 'warning_code' },
|
|
22894
|
+
oneOf: [
|
|
22895
|
+
{
|
|
22896
|
+
description: 'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
22897
|
+
properties: {
|
|
22898
|
+
created_at: {
|
|
22899
|
+
description: 'Date and time at which Seam created the warning.',
|
|
22900
|
+
format: 'date-time',
|
|
22901
|
+
type: 'string',
|
|
22902
|
+
},
|
|
22903
|
+
message: {
|
|
22904
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
22905
|
+
type: 'string',
|
|
22906
|
+
},
|
|
22907
|
+
warning_code: {
|
|
22908
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
22909
|
+
enum: [
|
|
22910
|
+
'salto_ks_entrance_access_code_support_removed',
|
|
22911
|
+
],
|
|
22912
|
+
type: 'string',
|
|
22913
|
+
},
|
|
22914
|
+
},
|
|
22915
|
+
required: [
|
|
22916
|
+
'created_at',
|
|
22917
|
+
'message',
|
|
22918
|
+
'warning_code',
|
|
22919
|
+
],
|
|
22920
|
+
type: 'object',
|
|
22921
|
+
},
|
|
22922
|
+
],
|
|
22923
|
+
},
|
|
22924
|
+
type: 'array',
|
|
22925
|
+
},
|
|
22857
22926
|
},
|
|
22858
22927
|
required: [
|
|
22859
22928
|
'acs_system_id',
|
|
@@ -22863,6 +22932,7 @@ const openapi = {
|
|
|
22863
22932
|
'display_name',
|
|
22864
22933
|
'connected_account_id',
|
|
22865
22934
|
'errors',
|
|
22935
|
+
'warnings',
|
|
22866
22936
|
],
|
|
22867
22937
|
type: 'object',
|
|
22868
22938
|
'x-route-path': '/acs/entrances',
|