@seamapi/types 1.91.3 → 1.92.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 +90 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +99 -0
- package/lib/seam/connect/openapi.d.ts +78 -0
- package/lib/seam/connect/openapi.js +84 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -0
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +39 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +15 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +84 -0
- package/src/lib/seam/connect/route-types.ts +27 -0
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +17 -0
|
@@ -992,6 +992,13 @@ export interface Routes {
|
|
|
992
992
|
display_name: string;
|
|
993
993
|
acs_system_id: string;
|
|
994
994
|
created_at: string;
|
|
995
|
+
visionline_metadata: {
|
|
996
|
+
door_name: string;
|
|
997
|
+
profiles?: Array<{
|
|
998
|
+
visionline_door_profile_id: string;
|
|
999
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
1000
|
+
}> | undefined;
|
|
1001
|
+
} | null;
|
|
995
1002
|
};
|
|
996
1003
|
};
|
|
997
1004
|
};
|
|
@@ -1023,6 +1030,13 @@ export interface Routes {
|
|
|
1023
1030
|
display_name: string;
|
|
1024
1031
|
acs_system_id: string;
|
|
1025
1032
|
created_at: string;
|
|
1033
|
+
visionline_metadata: {
|
|
1034
|
+
door_name: string;
|
|
1035
|
+
profiles?: Array<{
|
|
1036
|
+
visionline_door_profile_id: string;
|
|
1037
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
1038
|
+
}> | undefined;
|
|
1039
|
+
} | null;
|
|
1026
1040
|
}>;
|
|
1027
1041
|
};
|
|
1028
1042
|
};
|
|
@@ -1233,6 +1247,13 @@ export interface Routes {
|
|
|
1233
1247
|
display_name: string;
|
|
1234
1248
|
acs_system_id: string;
|
|
1235
1249
|
created_at: string;
|
|
1250
|
+
visionline_metadata: {
|
|
1251
|
+
door_name: string;
|
|
1252
|
+
profiles?: Array<{
|
|
1253
|
+
visionline_door_profile_id: string;
|
|
1254
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
1255
|
+
}> | undefined;
|
|
1256
|
+
} | null;
|
|
1236
1257
|
}>;
|
|
1237
1258
|
};
|
|
1238
1259
|
};
|
|
@@ -4,15 +4,54 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
4
4
|
display_name: z.ZodString;
|
|
5
5
|
acs_system_id: z.ZodString;
|
|
6
6
|
created_at: z.ZodString;
|
|
7
|
+
visionline_metadata: z.ZodNullable<z.ZodObject<{
|
|
8
|
+
door_name: z.ZodString;
|
|
9
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
|
+
visionline_door_profile_id: z.ZodString;
|
|
11
|
+
visionline_door_profile_type: z.ZodEnum<["BLE", "commonDoor", "touch"]>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
visionline_door_profile_id: string;
|
|
14
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
15
|
+
}, {
|
|
16
|
+
visionline_door_profile_id: string;
|
|
17
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
18
|
+
}>, "many">>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
door_name: string;
|
|
21
|
+
profiles?: {
|
|
22
|
+
visionline_door_profile_id: string;
|
|
23
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
24
|
+
}[] | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
door_name: string;
|
|
27
|
+
profiles?: {
|
|
28
|
+
visionline_door_profile_id: string;
|
|
29
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
}>>;
|
|
7
32
|
}, "strip", z.ZodTypeAny, {
|
|
8
33
|
created_at: string;
|
|
9
34
|
acs_system_id: string;
|
|
10
35
|
display_name: string;
|
|
11
36
|
acs_entrance_id: string;
|
|
37
|
+
visionline_metadata: {
|
|
38
|
+
door_name: string;
|
|
39
|
+
profiles?: {
|
|
40
|
+
visionline_door_profile_id: string;
|
|
41
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
42
|
+
}[] | undefined;
|
|
43
|
+
} | null;
|
|
12
44
|
}, {
|
|
13
45
|
created_at: string;
|
|
14
46
|
acs_system_id: string;
|
|
15
47
|
display_name: string;
|
|
16
48
|
acs_entrance_id: string;
|
|
49
|
+
visionline_metadata: {
|
|
50
|
+
door_name: string;
|
|
51
|
+
profiles?: {
|
|
52
|
+
visionline_door_profile_id: string;
|
|
53
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
} | null;
|
|
17
56
|
}>;
|
|
18
57
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
@@ -4,5 +4,20 @@ export const acs_entrance = z.object({
|
|
|
4
4
|
display_name: z.string(),
|
|
5
5
|
acs_system_id: z.string().uuid(),
|
|
6
6
|
created_at: z.string().datetime(),
|
|
7
|
+
visionline_metadata: z
|
|
8
|
+
.object({
|
|
9
|
+
door_name: z.string(),
|
|
10
|
+
profiles: z
|
|
11
|
+
.array(z.object({
|
|
12
|
+
visionline_door_profile_id: z.string(),
|
|
13
|
+
visionline_door_profile_type: z.enum([
|
|
14
|
+
'BLE',
|
|
15
|
+
'commonDoor',
|
|
16
|
+
'touch',
|
|
17
|
+
]),
|
|
18
|
+
}))
|
|
19
|
+
.optional(),
|
|
20
|
+
})
|
|
21
|
+
.nullable(),
|
|
7
22
|
});
|
|
8
23
|
//# sourceMappingURL=entrance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC;QACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,QAAQ,EAAE,CAAC;aACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;YACtC,4BAA4B,EAAE,CAAC,CAAC,IAAI,CAAC;gBACnC,KAAK;gBACL,YAAY;gBACZ,OAAO;aACR,CAAC;SACH,CAAC,CACH;aACA,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -4715,12 +4715,40 @@ export default {
|
|
|
4715
4715
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4716
4716
|
created_at: { format: 'date-time', type: 'string' },
|
|
4717
4717
|
display_name: { type: 'string' },
|
|
4718
|
+
visionline_metadata: {
|
|
4719
|
+
nullable: true,
|
|
4720
|
+
properties: {
|
|
4721
|
+
door_name: { type: 'string' },
|
|
4722
|
+
profiles: {
|
|
4723
|
+
items: {
|
|
4724
|
+
properties: {
|
|
4725
|
+
visionline_door_profile_id: {
|
|
4726
|
+
type: 'string',
|
|
4727
|
+
},
|
|
4728
|
+
visionline_door_profile_type: {
|
|
4729
|
+
enum: ['BLE', 'commonDoor', 'touch'],
|
|
4730
|
+
type: 'string',
|
|
4731
|
+
},
|
|
4732
|
+
},
|
|
4733
|
+
required: [
|
|
4734
|
+
'visionline_door_profile_id',
|
|
4735
|
+
'visionline_door_profile_type',
|
|
4736
|
+
],
|
|
4737
|
+
type: 'object',
|
|
4738
|
+
},
|
|
4739
|
+
type: 'array',
|
|
4740
|
+
},
|
|
4741
|
+
},
|
|
4742
|
+
required: ['door_name'],
|
|
4743
|
+
type: 'object',
|
|
4744
|
+
},
|
|
4718
4745
|
},
|
|
4719
4746
|
required: [
|
|
4720
4747
|
'acs_entrance_id',
|
|
4721
4748
|
'display_name',
|
|
4722
4749
|
'acs_system_id',
|
|
4723
4750
|
'created_at',
|
|
4751
|
+
'visionline_metadata',
|
|
4724
4752
|
],
|
|
4725
4753
|
type: 'object',
|
|
4726
4754
|
},
|
|
@@ -4822,12 +4850,40 @@ export default {
|
|
|
4822
4850
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4823
4851
|
created_at: { format: 'date-time', type: 'string' },
|
|
4824
4852
|
display_name: { type: 'string' },
|
|
4853
|
+
visionline_metadata: {
|
|
4854
|
+
nullable: true,
|
|
4855
|
+
properties: {
|
|
4856
|
+
door_name: { type: 'string' },
|
|
4857
|
+
profiles: {
|
|
4858
|
+
items: {
|
|
4859
|
+
properties: {
|
|
4860
|
+
visionline_door_profile_id: {
|
|
4861
|
+
type: 'string',
|
|
4862
|
+
},
|
|
4863
|
+
visionline_door_profile_type: {
|
|
4864
|
+
enum: ['BLE', 'commonDoor', 'touch'],
|
|
4865
|
+
type: 'string',
|
|
4866
|
+
},
|
|
4867
|
+
},
|
|
4868
|
+
required: [
|
|
4869
|
+
'visionline_door_profile_id',
|
|
4870
|
+
'visionline_door_profile_type',
|
|
4871
|
+
],
|
|
4872
|
+
type: 'object',
|
|
4873
|
+
},
|
|
4874
|
+
type: 'array',
|
|
4875
|
+
},
|
|
4876
|
+
},
|
|
4877
|
+
required: ['door_name'],
|
|
4878
|
+
type: 'object',
|
|
4879
|
+
},
|
|
4825
4880
|
},
|
|
4826
4881
|
required: [
|
|
4827
4882
|
'acs_entrance_id',
|
|
4828
4883
|
'display_name',
|
|
4829
4884
|
'acs_system_id',
|
|
4830
4885
|
'created_at',
|
|
4886
|
+
'visionline_metadata',
|
|
4831
4887
|
],
|
|
4832
4888
|
type: 'object',
|
|
4833
4889
|
},
|
|
@@ -5250,12 +5306,40 @@ export default {
|
|
|
5250
5306
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5251
5307
|
created_at: { format: 'date-time', type: 'string' },
|
|
5252
5308
|
display_name: { type: 'string' },
|
|
5309
|
+
visionline_metadata: {
|
|
5310
|
+
nullable: true,
|
|
5311
|
+
properties: {
|
|
5312
|
+
door_name: { type: 'string' },
|
|
5313
|
+
profiles: {
|
|
5314
|
+
items: {
|
|
5315
|
+
properties: {
|
|
5316
|
+
visionline_door_profile_id: {
|
|
5317
|
+
type: 'string',
|
|
5318
|
+
},
|
|
5319
|
+
visionline_door_profile_type: {
|
|
5320
|
+
enum: ['BLE', 'commonDoor', 'touch'],
|
|
5321
|
+
type: 'string',
|
|
5322
|
+
},
|
|
5323
|
+
},
|
|
5324
|
+
required: [
|
|
5325
|
+
'visionline_door_profile_id',
|
|
5326
|
+
'visionline_door_profile_type',
|
|
5327
|
+
],
|
|
5328
|
+
type: 'object',
|
|
5329
|
+
},
|
|
5330
|
+
type: 'array',
|
|
5331
|
+
},
|
|
5332
|
+
},
|
|
5333
|
+
required: ['door_name'],
|
|
5334
|
+
type: 'object',
|
|
5335
|
+
},
|
|
5253
5336
|
},
|
|
5254
5337
|
required: [
|
|
5255
5338
|
'acs_entrance_id',
|
|
5256
5339
|
'display_name',
|
|
5257
5340
|
'acs_system_id',
|
|
5258
5341
|
'created_at',
|
|
5342
|
+
'visionline_metadata',
|
|
5259
5343
|
],
|
|
5260
5344
|
type: 'object',
|
|
5261
5345
|
},
|
|
@@ -1082,6 +1082,15 @@ export interface Routes {
|
|
|
1082
1082
|
display_name: string
|
|
1083
1083
|
acs_system_id: string
|
|
1084
1084
|
created_at: string
|
|
1085
|
+
visionline_metadata: {
|
|
1086
|
+
door_name: string
|
|
1087
|
+
profiles?:
|
|
1088
|
+
| Array<{
|
|
1089
|
+
visionline_door_profile_id: string
|
|
1090
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
|
|
1091
|
+
}>
|
|
1092
|
+
| undefined
|
|
1093
|
+
} | null
|
|
1085
1094
|
}
|
|
1086
1095
|
}
|
|
1087
1096
|
}
|
|
@@ -1113,6 +1122,15 @@ export interface Routes {
|
|
|
1113
1122
|
display_name: string
|
|
1114
1123
|
acs_system_id: string
|
|
1115
1124
|
created_at: string
|
|
1125
|
+
visionline_metadata: {
|
|
1126
|
+
door_name: string
|
|
1127
|
+
profiles?:
|
|
1128
|
+
| Array<{
|
|
1129
|
+
visionline_door_profile_id: string
|
|
1130
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
|
|
1131
|
+
}>
|
|
1132
|
+
| undefined
|
|
1133
|
+
} | null
|
|
1116
1134
|
}>
|
|
1117
1135
|
}
|
|
1118
1136
|
}
|
|
@@ -1380,6 +1398,15 @@ export interface Routes {
|
|
|
1380
1398
|
display_name: string
|
|
1381
1399
|
acs_system_id: string
|
|
1382
1400
|
created_at: string
|
|
1401
|
+
visionline_metadata: {
|
|
1402
|
+
door_name: string
|
|
1403
|
+
profiles?:
|
|
1404
|
+
| Array<{
|
|
1405
|
+
visionline_door_profile_id: string
|
|
1406
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
|
|
1407
|
+
}>
|
|
1408
|
+
| undefined
|
|
1409
|
+
} | null
|
|
1383
1410
|
}>
|
|
1384
1411
|
}
|
|
1385
1412
|
}
|
|
@@ -5,6 +5,23 @@ export const acs_entrance = z.object({
|
|
|
5
5
|
display_name: z.string(),
|
|
6
6
|
acs_system_id: z.string().uuid(),
|
|
7
7
|
created_at: z.string().datetime(),
|
|
8
|
+
visionline_metadata: z
|
|
9
|
+
.object({
|
|
10
|
+
door_name: z.string(),
|
|
11
|
+
profiles: z
|
|
12
|
+
.array(
|
|
13
|
+
z.object({
|
|
14
|
+
visionline_door_profile_id: z.string(),
|
|
15
|
+
visionline_door_profile_type: z.enum([
|
|
16
|
+
'BLE',
|
|
17
|
+
'commonDoor',
|
|
18
|
+
'touch',
|
|
19
|
+
]),
|
|
20
|
+
}),
|
|
21
|
+
)
|
|
22
|
+
.optional(),
|
|
23
|
+
})
|
|
24
|
+
.nullable(),
|
|
8
25
|
})
|
|
9
26
|
|
|
10
27
|
export type AcsEntrance = z.infer<typeof acs_entrance>
|