@seamapi/types 1.105.0 → 1.107.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 +37 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -2
- package/lib/seam/connect/openapi.d.ts +13 -0
- package/lib/seam/connect/openapi.js +37 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -2
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +5 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +7 -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 +37 -12
- package/src/lib/seam/connect/route-types.ts +20 -9
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +7 -0
|
@@ -824,8 +824,8 @@ export interface Routes {
|
|
|
824
824
|
acs_user_id: string;
|
|
825
825
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
826
826
|
code?: string | undefined;
|
|
827
|
-
is_multi_phone_sync_credential?: boolean
|
|
828
|
-
external_type?:
|
|
827
|
+
is_multi_phone_sync_credential?: boolean;
|
|
828
|
+
external_type?: 'visionline_card' | undefined;
|
|
829
829
|
visionline_metadata?: {
|
|
830
830
|
assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
|
|
831
831
|
card_format?: ('TLCode' | 'rfid48') | undefined;
|
|
@@ -1034,6 +1034,7 @@ export interface Routes {
|
|
|
1034
1034
|
created_at: string;
|
|
1035
1035
|
visionline_metadata: {
|
|
1036
1036
|
door_name: string;
|
|
1037
|
+
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
1037
1038
|
profiles?: Array<{
|
|
1038
1039
|
visionline_door_profile_id: string;
|
|
1039
1040
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
@@ -1072,6 +1073,7 @@ export interface Routes {
|
|
|
1072
1073
|
created_at: string;
|
|
1073
1074
|
visionline_metadata: {
|
|
1074
1075
|
door_name: string;
|
|
1076
|
+
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
1075
1077
|
profiles?: Array<{
|
|
1076
1078
|
visionline_door_profile_id: string;
|
|
1077
1079
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
@@ -1324,6 +1326,7 @@ export interface Routes {
|
|
|
1324
1326
|
created_at: string;
|
|
1325
1327
|
visionline_metadata: {
|
|
1326
1328
|
door_name: string;
|
|
1329
|
+
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
1327
1330
|
profiles?: Array<{
|
|
1328
1331
|
visionline_door_profile_id: string;
|
|
1329
1332
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
@@ -6,6 +6,7 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
6
6
|
created_at: z.ZodString;
|
|
7
7
|
visionline_metadata: z.ZodNullable<z.ZodObject<{
|
|
8
8
|
door_name: z.ZodString;
|
|
9
|
+
door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
|
|
9
10
|
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
11
|
visionline_door_profile_id: z.ZodString;
|
|
11
12
|
visionline_door_profile_type: z.ZodEnum<["BLE", "commonDoor", "touch"]>;
|
|
@@ -18,12 +19,14 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
18
19
|
}>, "many">>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
door_name: string;
|
|
22
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
21
23
|
profiles?: {
|
|
22
24
|
visionline_door_profile_id: string;
|
|
23
25
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
24
26
|
}[] | undefined;
|
|
25
27
|
}, {
|
|
26
28
|
door_name: string;
|
|
29
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
27
30
|
profiles?: {
|
|
28
31
|
visionline_door_profile_id: string;
|
|
29
32
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -36,6 +39,7 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
36
39
|
acs_entrance_id: string;
|
|
37
40
|
visionline_metadata: {
|
|
38
41
|
door_name: string;
|
|
42
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
39
43
|
profiles?: {
|
|
40
44
|
visionline_door_profile_id: string;
|
|
41
45
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -48,6 +52,7 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
48
52
|
acs_entrance_id: string;
|
|
49
53
|
visionline_metadata: {
|
|
50
54
|
door_name: string;
|
|
55
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
51
56
|
profiles?: {
|
|
52
57
|
visionline_door_profile_id: string;
|
|
53
58
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -7,6 +7,13 @@ export const acs_entrance = z.object({
|
|
|
7
7
|
visionline_metadata: z
|
|
8
8
|
.object({
|
|
9
9
|
door_name: z.string(),
|
|
10
|
+
door_category: z.enum([
|
|
11
|
+
'entrance',
|
|
12
|
+
'guest',
|
|
13
|
+
'elevator reader',
|
|
14
|
+
'common',
|
|
15
|
+
'common (PMS)',
|
|
16
|
+
]),
|
|
10
17
|
profiles: z
|
|
11
18
|
.array(z.object({
|
|
12
19
|
visionline_door_profile_id: z.string(),
|
|
@@ -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;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"}
|
|
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,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;YACpB,UAAU;YACV,OAAO;YACP,iBAAiB;YACjB,QAAQ;YACR,cAAc;SACf,CAAC;QACF,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
|
@@ -4073,16 +4073,11 @@ export default {
|
|
|
4073
4073
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4074
4074
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
4075
4075
|
ends_at: { format: 'date-time', type: 'string' },
|
|
4076
|
-
external_type: {
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
'hid_credential',
|
|
4081
|
-
'visionline_card',
|
|
4082
|
-
],
|
|
4083
|
-
type: 'string',
|
|
4076
|
+
external_type: { enum: ['visionline_card'], type: 'string' },
|
|
4077
|
+
is_multi_phone_sync_credential: {
|
|
4078
|
+
default: false,
|
|
4079
|
+
type: 'boolean',
|
|
4084
4080
|
},
|
|
4085
|
-
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4086
4081
|
starts_at: { format: 'date-time', type: 'string' },
|
|
4087
4082
|
visionline_metadata: {
|
|
4088
4083
|
properties: {
|
|
@@ -4944,6 +4939,16 @@ export default {
|
|
|
4944
4939
|
visionline_metadata: {
|
|
4945
4940
|
nullable: true,
|
|
4946
4941
|
properties: {
|
|
4942
|
+
door_category: {
|
|
4943
|
+
enum: [
|
|
4944
|
+
'entrance',
|
|
4945
|
+
'guest',
|
|
4946
|
+
'elevator reader',
|
|
4947
|
+
'common',
|
|
4948
|
+
'common (PMS)',
|
|
4949
|
+
],
|
|
4950
|
+
type: 'string',
|
|
4951
|
+
},
|
|
4947
4952
|
door_name: { type: 'string' },
|
|
4948
4953
|
profiles: {
|
|
4949
4954
|
items: {
|
|
@@ -4965,7 +4970,7 @@ export default {
|
|
|
4965
4970
|
type: 'array',
|
|
4966
4971
|
},
|
|
4967
4972
|
},
|
|
4968
|
-
required: ['door_name'],
|
|
4973
|
+
required: ['door_name', 'door_category'],
|
|
4969
4974
|
type: 'object',
|
|
4970
4975
|
},
|
|
4971
4976
|
},
|
|
@@ -5079,6 +5084,16 @@ export default {
|
|
|
5079
5084
|
visionline_metadata: {
|
|
5080
5085
|
nullable: true,
|
|
5081
5086
|
properties: {
|
|
5087
|
+
door_category: {
|
|
5088
|
+
enum: [
|
|
5089
|
+
'entrance',
|
|
5090
|
+
'guest',
|
|
5091
|
+
'elevator reader',
|
|
5092
|
+
'common',
|
|
5093
|
+
'common (PMS)',
|
|
5094
|
+
],
|
|
5095
|
+
type: 'string',
|
|
5096
|
+
},
|
|
5082
5097
|
door_name: { type: 'string' },
|
|
5083
5098
|
profiles: {
|
|
5084
5099
|
items: {
|
|
@@ -5100,7 +5115,7 @@ export default {
|
|
|
5100
5115
|
type: 'array',
|
|
5101
5116
|
},
|
|
5102
5117
|
},
|
|
5103
|
-
required: ['door_name'],
|
|
5118
|
+
required: ['door_name', 'door_category'],
|
|
5104
5119
|
type: 'object',
|
|
5105
5120
|
},
|
|
5106
5121
|
},
|
|
@@ -5653,6 +5668,16 @@ export default {
|
|
|
5653
5668
|
visionline_metadata: {
|
|
5654
5669
|
nullable: true,
|
|
5655
5670
|
properties: {
|
|
5671
|
+
door_category: {
|
|
5672
|
+
enum: [
|
|
5673
|
+
'entrance',
|
|
5674
|
+
'guest',
|
|
5675
|
+
'elevator reader',
|
|
5676
|
+
'common',
|
|
5677
|
+
'common (PMS)',
|
|
5678
|
+
],
|
|
5679
|
+
type: 'string',
|
|
5680
|
+
},
|
|
5656
5681
|
door_name: { type: 'string' },
|
|
5657
5682
|
profiles: {
|
|
5658
5683
|
items: {
|
|
@@ -5674,7 +5699,7 @@ export default {
|
|
|
5674
5699
|
type: 'array',
|
|
5675
5700
|
},
|
|
5676
5701
|
},
|
|
5677
|
-
required: ['door_name'],
|
|
5702
|
+
required: ['door_name', 'door_category'],
|
|
5678
5703
|
type: 'object',
|
|
5679
5704
|
},
|
|
5680
5705
|
},
|
|
@@ -870,15 +870,8 @@ export interface Routes {
|
|
|
870
870
|
acs_user_id: string
|
|
871
871
|
access_method: 'code' | 'card' | 'mobile_key'
|
|
872
872
|
code?: string | undefined
|
|
873
|
-
is_multi_phone_sync_credential?: boolean
|
|
874
|
-
external_type?:
|
|
875
|
-
| (
|
|
876
|
-
| 'pti_card'
|
|
877
|
-
| 'brivo_credential'
|
|
878
|
-
| 'hid_credential'
|
|
879
|
-
| 'visionline_card'
|
|
880
|
-
)
|
|
881
|
-
| undefined
|
|
873
|
+
is_multi_phone_sync_credential?: boolean
|
|
874
|
+
external_type?: 'visionline_card' | undefined
|
|
882
875
|
visionline_metadata?:
|
|
883
876
|
| {
|
|
884
877
|
assa_abloy_credential_service_mobile_endpoint_id?:
|
|
@@ -1140,6 +1133,12 @@ export interface Routes {
|
|
|
1140
1133
|
created_at: string
|
|
1141
1134
|
visionline_metadata: {
|
|
1142
1135
|
door_name: string
|
|
1136
|
+
door_category:
|
|
1137
|
+
| 'entrance'
|
|
1138
|
+
| 'guest'
|
|
1139
|
+
| 'elevator reader'
|
|
1140
|
+
| 'common'
|
|
1141
|
+
| 'common (PMS)'
|
|
1143
1142
|
profiles?:
|
|
1144
1143
|
| Array<{
|
|
1145
1144
|
visionline_door_profile_id: string
|
|
@@ -1180,6 +1179,12 @@ export interface Routes {
|
|
|
1180
1179
|
created_at: string
|
|
1181
1180
|
visionline_metadata: {
|
|
1182
1181
|
door_name: string
|
|
1182
|
+
door_category:
|
|
1183
|
+
| 'entrance'
|
|
1184
|
+
| 'guest'
|
|
1185
|
+
| 'elevator reader'
|
|
1186
|
+
| 'common'
|
|
1187
|
+
| 'common (PMS)'
|
|
1183
1188
|
profiles?:
|
|
1184
1189
|
| Array<{
|
|
1185
1190
|
visionline_door_profile_id: string
|
|
@@ -1500,6 +1505,12 @@ export interface Routes {
|
|
|
1500
1505
|
created_at: string
|
|
1501
1506
|
visionline_metadata: {
|
|
1502
1507
|
door_name: string
|
|
1508
|
+
door_category:
|
|
1509
|
+
| 'entrance'
|
|
1510
|
+
| 'guest'
|
|
1511
|
+
| 'elevator reader'
|
|
1512
|
+
| 'common'
|
|
1513
|
+
| 'common (PMS)'
|
|
1503
1514
|
profiles?:
|
|
1504
1515
|
| Array<{
|
|
1505
1516
|
visionline_door_profile_id: string
|
|
@@ -8,6 +8,13 @@ export const acs_entrance = z.object({
|
|
|
8
8
|
visionline_metadata: z
|
|
9
9
|
.object({
|
|
10
10
|
door_name: z.string(),
|
|
11
|
+
door_category: z.enum([
|
|
12
|
+
'entrance',
|
|
13
|
+
'guest',
|
|
14
|
+
'elevator reader',
|
|
15
|
+
'common',
|
|
16
|
+
'common (PMS)',
|
|
17
|
+
]),
|
|
11
18
|
profiles: z
|
|
12
19
|
.array(
|
|
13
20
|
z.object({
|