@seamapi/types 1.91.3 → 1.93.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 +190 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +273 -0
- package/lib/seam/connect/openapi.d.ts +222 -0
- package/lib/seam/connect/openapi.js +184 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -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 +184 -0
- package/src/lib/seam/connect/route-types.ts +64 -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,43 @@ 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;
|
|
1040
|
+
}>;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
1044
|
+
route: '/acs/entrances/list_credentials_with_access';
|
|
1045
|
+
method: 'GET' | 'POST';
|
|
1046
|
+
queryParams: {};
|
|
1047
|
+
jsonBody: {};
|
|
1048
|
+
commonParams: {
|
|
1049
|
+
acs_entrance_id?: string | undefined;
|
|
1050
|
+
acs_entrance_ids?: string[] | undefined;
|
|
1051
|
+
include_if?: Array<'visionline_metadata.is_valid'> | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
formData: {};
|
|
1054
|
+
jsonResponse: {
|
|
1055
|
+
acs_credentials: Array<{
|
|
1056
|
+
acs_credential_id: string;
|
|
1057
|
+
acs_user_id?: string | undefined;
|
|
1058
|
+
acs_credential_pool_id?: string | undefined;
|
|
1059
|
+
acs_system_id: string;
|
|
1060
|
+
display_name: string;
|
|
1061
|
+
code?: (string | undefined) | null;
|
|
1062
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
1063
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
1064
|
+
external_type_display_name?: string | undefined;
|
|
1065
|
+
created_at: string;
|
|
1066
|
+
workspace_id: string;
|
|
1067
|
+
starts_at?: string | undefined;
|
|
1068
|
+
ends_at?: string | undefined;
|
|
1069
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1026
1070
|
}>;
|
|
1027
1071
|
};
|
|
1028
1072
|
};
|
|
@@ -1233,6 +1277,13 @@ export interface Routes {
|
|
|
1233
1277
|
display_name: string;
|
|
1234
1278
|
acs_system_id: string;
|
|
1235
1279
|
created_at: string;
|
|
1280
|
+
visionline_metadata: {
|
|
1281
|
+
door_name: string;
|
|
1282
|
+
profiles?: Array<{
|
|
1283
|
+
visionline_door_profile_id: string;
|
|
1284
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
1285
|
+
}> | undefined;
|
|
1286
|
+
} | null;
|
|
1236
1287
|
}>;
|
|
1237
1288
|
};
|
|
1238
1289
|
};
|
|
@@ -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
|
},
|
|
@@ -4857,6 +4913,106 @@ export default {
|
|
|
4857
4913
|
'x-fern-sdk-method-name': 'list',
|
|
4858
4914
|
},
|
|
4859
4915
|
},
|
|
4916
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
4917
|
+
post: {
|
|
4918
|
+
operationId: 'acsEntrancesListCredentialsWithAccessPost',
|
|
4919
|
+
requestBody: {
|
|
4920
|
+
content: {
|
|
4921
|
+
'application/json': {
|
|
4922
|
+
schema: {
|
|
4923
|
+
properties: {
|
|
4924
|
+
acs_entrance_id: { format: 'uuid', type: 'string' },
|
|
4925
|
+
acs_entrance_ids: {
|
|
4926
|
+
items: { format: 'uuid', type: 'string' },
|
|
4927
|
+
type: 'array',
|
|
4928
|
+
},
|
|
4929
|
+
include_if: {
|
|
4930
|
+
items: {
|
|
4931
|
+
enum: ['visionline_metadata.is_valid'],
|
|
4932
|
+
type: 'string',
|
|
4933
|
+
},
|
|
4934
|
+
type: 'array',
|
|
4935
|
+
},
|
|
4936
|
+
},
|
|
4937
|
+
type: 'object',
|
|
4938
|
+
},
|
|
4939
|
+
},
|
|
4940
|
+
},
|
|
4941
|
+
},
|
|
4942
|
+
responses: {
|
|
4943
|
+
200: {
|
|
4944
|
+
content: {
|
|
4945
|
+
'application/json': {
|
|
4946
|
+
schema: {
|
|
4947
|
+
properties: {
|
|
4948
|
+
acs_credentials: {
|
|
4949
|
+
items: {
|
|
4950
|
+
properties: {
|
|
4951
|
+
access_method: {
|
|
4952
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4953
|
+
type: 'string',
|
|
4954
|
+
},
|
|
4955
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4956
|
+
acs_credential_pool_id: {
|
|
4957
|
+
format: 'uuid',
|
|
4958
|
+
type: 'string',
|
|
4959
|
+
},
|
|
4960
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4961
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4962
|
+
code: { nullable: true, type: 'string' },
|
|
4963
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
4964
|
+
display_name: { minLength: 1, type: 'string' },
|
|
4965
|
+
ends_at: { type: 'string' },
|
|
4966
|
+
external_type: {
|
|
4967
|
+
enum: [
|
|
4968
|
+
'pti_card',
|
|
4969
|
+
'brivo_credential',
|
|
4970
|
+
'hid_credential',
|
|
4971
|
+
'visionline_card',
|
|
4972
|
+
],
|
|
4973
|
+
type: 'string',
|
|
4974
|
+
},
|
|
4975
|
+
external_type_display_name: { type: 'string' },
|
|
4976
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4977
|
+
starts_at: { type: 'string' },
|
|
4978
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
4979
|
+
},
|
|
4980
|
+
required: [
|
|
4981
|
+
'acs_credential_id',
|
|
4982
|
+
'acs_system_id',
|
|
4983
|
+
'display_name',
|
|
4984
|
+
'access_method',
|
|
4985
|
+
'created_at',
|
|
4986
|
+
'workspace_id',
|
|
4987
|
+
],
|
|
4988
|
+
type: 'object',
|
|
4989
|
+
},
|
|
4990
|
+
type: 'array',
|
|
4991
|
+
},
|
|
4992
|
+
ok: { type: 'boolean' },
|
|
4993
|
+
},
|
|
4994
|
+
required: ['acs_credentials', 'ok'],
|
|
4995
|
+
type: 'object',
|
|
4996
|
+
},
|
|
4997
|
+
},
|
|
4998
|
+
},
|
|
4999
|
+
description: 'OK',
|
|
5000
|
+
},
|
|
5001
|
+
400: { description: 'Bad Request' },
|
|
5002
|
+
401: { description: 'Unauthorized' },
|
|
5003
|
+
},
|
|
5004
|
+
security: [
|
|
5005
|
+
{ client_session: [] },
|
|
5006
|
+
{ pat_with_workspace: [] },
|
|
5007
|
+
{ console_session: [] },
|
|
5008
|
+
{ api_key: [] },
|
|
5009
|
+
],
|
|
5010
|
+
summary: '/acs/entrances/list_credentials_with_access',
|
|
5011
|
+
tags: ['/acs'],
|
|
5012
|
+
'x-fern-sdk-group-name': ['acs', 'entrances'],
|
|
5013
|
+
'x-fern-sdk-method-name': 'list_credentials_with_access',
|
|
5014
|
+
},
|
|
5015
|
+
},
|
|
4860
5016
|
'/acs/systems/get': {
|
|
4861
5017
|
post: {
|
|
4862
5018
|
operationId: 'acsSystemsGetPost',
|
|
@@ -5250,12 +5406,40 @@ export default {
|
|
|
5250
5406
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5251
5407
|
created_at: { format: 'date-time', type: 'string' },
|
|
5252
5408
|
display_name: { type: 'string' },
|
|
5409
|
+
visionline_metadata: {
|
|
5410
|
+
nullable: true,
|
|
5411
|
+
properties: {
|
|
5412
|
+
door_name: { type: 'string' },
|
|
5413
|
+
profiles: {
|
|
5414
|
+
items: {
|
|
5415
|
+
properties: {
|
|
5416
|
+
visionline_door_profile_id: {
|
|
5417
|
+
type: 'string',
|
|
5418
|
+
},
|
|
5419
|
+
visionline_door_profile_type: {
|
|
5420
|
+
enum: ['BLE', 'commonDoor', 'touch'],
|
|
5421
|
+
type: 'string',
|
|
5422
|
+
},
|
|
5423
|
+
},
|
|
5424
|
+
required: [
|
|
5425
|
+
'visionline_door_profile_id',
|
|
5426
|
+
'visionline_door_profile_type',
|
|
5427
|
+
],
|
|
5428
|
+
type: 'object',
|
|
5429
|
+
},
|
|
5430
|
+
type: 'array',
|
|
5431
|
+
},
|
|
5432
|
+
},
|
|
5433
|
+
required: ['door_name'],
|
|
5434
|
+
type: 'object',
|
|
5435
|
+
},
|
|
5253
5436
|
},
|
|
5254
5437
|
required: [
|
|
5255
5438
|
'acs_entrance_id',
|
|
5256
5439
|
'display_name',
|
|
5257
5440
|
'acs_system_id',
|
|
5258
5441
|
'created_at',
|
|
5442
|
+
'visionline_metadata',
|
|
5259
5443
|
],
|
|
5260
5444
|
type: 'object',
|
|
5261
5445
|
},
|
|
@@ -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,52 @@ 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
|
|
1134
|
+
}>
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
1138
|
+
route: '/acs/entrances/list_credentials_with_access'
|
|
1139
|
+
method: 'GET' | 'POST'
|
|
1140
|
+
queryParams: {}
|
|
1141
|
+
jsonBody: {}
|
|
1142
|
+
commonParams: {
|
|
1143
|
+
acs_entrance_id?: string | undefined
|
|
1144
|
+
acs_entrance_ids?: string[] | undefined
|
|
1145
|
+
include_if?: Array<'visionline_metadata.is_valid'> | undefined
|
|
1146
|
+
}
|
|
1147
|
+
formData: {}
|
|
1148
|
+
jsonResponse: {
|
|
1149
|
+
acs_credentials: Array<{
|
|
1150
|
+
acs_credential_id: string
|
|
1151
|
+
acs_user_id?: string | undefined
|
|
1152
|
+
acs_credential_pool_id?: string | undefined
|
|
1153
|
+
acs_system_id: string
|
|
1154
|
+
display_name: string
|
|
1155
|
+
code?: (string | undefined) | null
|
|
1156
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
1157
|
+
external_type?:
|
|
1158
|
+
| (
|
|
1159
|
+
| 'pti_card'
|
|
1160
|
+
| 'brivo_credential'
|
|
1161
|
+
| 'hid_credential'
|
|
1162
|
+
| 'visionline_card'
|
|
1163
|
+
)
|
|
1164
|
+
| undefined
|
|
1165
|
+
external_type_display_name?: string | undefined
|
|
1166
|
+
created_at: string
|
|
1167
|
+
workspace_id: string
|
|
1168
|
+
starts_at?: string | undefined
|
|
1169
|
+
ends_at?: string | undefined
|
|
1170
|
+
is_multi_phone_sync_credential?: boolean | undefined
|
|
1116
1171
|
}>
|
|
1117
1172
|
}
|
|
1118
1173
|
}
|
|
@@ -1380,6 +1435,15 @@ export interface Routes {
|
|
|
1380
1435
|
display_name: string
|
|
1381
1436
|
acs_system_id: string
|
|
1382
1437
|
created_at: string
|
|
1438
|
+
visionline_metadata: {
|
|
1439
|
+
door_name: string
|
|
1440
|
+
profiles?:
|
|
1441
|
+
| Array<{
|
|
1442
|
+
visionline_door_profile_id: string
|
|
1443
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
|
|
1444
|
+
}>
|
|
1445
|
+
| undefined
|
|
1446
|
+
} | null
|
|
1383
1447
|
}>
|
|
1384
1448
|
}
|
|
1385
1449
|
}
|
|
@@ -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>
|