@seamapi/types 1.162.0 → 1.163.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 +13 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +28 -0
- package/lib/seam/connect/models/acs/credential.d.ts +8 -0
- package/lib/seam/connect/models/acs/credential.js +1 -0
- package/lib/seam/connect/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/models/acs/entrance.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +14 -0
- package/lib/seam/connect/openapi.js +12 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/credential.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +13 -1
- package/src/lib/seam/connect/route-types.ts +14 -0
|
@@ -837,6 +837,7 @@ export interface Routes {
|
|
|
837
837
|
}>;
|
|
838
838
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
839
839
|
visionline_metadata?: {
|
|
840
|
+
card_function_type: 'guest' | 'staff';
|
|
840
841
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
841
842
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
842
843
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -859,7 +860,14 @@ export interface Routes {
|
|
|
859
860
|
visionline_metadata?: {
|
|
860
861
|
assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
|
|
861
862
|
card_format?: ('TLCode' | 'rfid48') | undefined;
|
|
863
|
+
card_function_type?: 'guest' | 'staff';
|
|
864
|
+
/**
|
|
865
|
+
---
|
|
866
|
+
deprecated: use override.
|
|
867
|
+
---
|
|
868
|
+
*/
|
|
862
869
|
is_override_key?: boolean | undefined;
|
|
870
|
+
override?: boolean | undefined;
|
|
863
871
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
864
872
|
} | undefined;
|
|
865
873
|
starts_at?: string | undefined;
|
|
@@ -892,6 +900,7 @@ export interface Routes {
|
|
|
892
900
|
}>;
|
|
893
901
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
894
902
|
visionline_metadata?: {
|
|
903
|
+
card_function_type: 'guest' | 'staff';
|
|
895
904
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
896
905
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
897
906
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -945,6 +954,7 @@ export interface Routes {
|
|
|
945
954
|
}>;
|
|
946
955
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
947
956
|
visionline_metadata?: {
|
|
957
|
+
card_function_type: 'guest' | 'staff';
|
|
948
958
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
949
959
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
950
960
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -996,6 +1006,7 @@ export interface Routes {
|
|
|
996
1006
|
}>;
|
|
997
1007
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
998
1008
|
visionline_metadata?: {
|
|
1009
|
+
card_function_type: 'guest' | 'staff';
|
|
999
1010
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
1000
1011
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
1001
1012
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -1039,6 +1050,7 @@ export interface Routes {
|
|
|
1039
1050
|
}>;
|
|
1040
1051
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1041
1052
|
visionline_metadata?: {
|
|
1053
|
+
card_function_type: 'guest' | 'staff';
|
|
1042
1054
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
1043
1055
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
1044
1056
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -1082,6 +1094,7 @@ export interface Routes {
|
|
|
1082
1094
|
}>;
|
|
1083
1095
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1084
1096
|
visionline_metadata?: {
|
|
1097
|
+
card_function_type: 'guest' | 'staff';
|
|
1085
1098
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
1086
1099
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
1087
1100
|
common_acs_entrance_ids?: string[] | undefined;
|
|
@@ -1202,6 +1215,7 @@ export interface Routes {
|
|
|
1202
1215
|
}>;
|
|
1203
1216
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1204
1217
|
visionline_metadata?: {
|
|
1218
|
+
card_function_type: 'guest' | 'staff';
|
|
1205
1219
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
1206
1220
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
1207
1221
|
common_acs_entrance_ids?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export type AcsCredentialExternalType = z.infer<
|
|
|
19
19
|
>
|
|
20
20
|
|
|
21
21
|
export const acs_credential_visionline_metadata = z.object({
|
|
22
|
+
card_function_type: z.enum(['guest', 'staff']),
|
|
22
23
|
joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
|
|
23
24
|
guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
24
25
|
common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
@@ -224,6 +224,7 @@ export default {
|
|
|
224
224
|
starts_at: { type: 'string' },
|
|
225
225
|
visionline_metadata: {
|
|
226
226
|
properties: {
|
|
227
|
+
card_function_type: { enum: ['guest', 'staff'], type: 'string' },
|
|
227
228
|
common_acs_entrance_ids: {
|
|
228
229
|
items: { format: 'uuid', type: 'string' },
|
|
229
230
|
type: 'array',
|
|
@@ -237,6 +238,7 @@ export default {
|
|
|
237
238
|
type: 'array',
|
|
238
239
|
},
|
|
239
240
|
},
|
|
241
|
+
required: ['card_function_type'],
|
|
240
242
|
type: 'object',
|
|
241
243
|
},
|
|
242
244
|
warnings: {
|
|
@@ -4367,11 +4369,21 @@ export default {
|
|
|
4367
4369
|
enum: ['TLCode', 'rfid48'],
|
|
4368
4370
|
type: 'string',
|
|
4369
4371
|
},
|
|
4370
|
-
|
|
4372
|
+
card_function_type: {
|
|
4373
|
+
default: 'guest',
|
|
4374
|
+
enum: ['guest', 'staff'],
|
|
4375
|
+
type: 'string',
|
|
4376
|
+
},
|
|
4377
|
+
is_override_key: {
|
|
4378
|
+
description:
|
|
4379
|
+
'\n ---\n deprecated: use override.\n ---\n ',
|
|
4380
|
+
type: 'boolean',
|
|
4381
|
+
},
|
|
4371
4382
|
joiner_acs_credential_ids: {
|
|
4372
4383
|
items: { format: 'uuid', type: 'string' },
|
|
4373
4384
|
type: 'array',
|
|
4374
4385
|
},
|
|
4386
|
+
override: { type: 'boolean' },
|
|
4375
4387
|
},
|
|
4376
4388
|
type: 'object',
|
|
4377
4389
|
},
|
|
@@ -883,6 +883,7 @@ export interface Routes {
|
|
|
883
883
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
884
884
|
visionline_metadata?:
|
|
885
885
|
| {
|
|
886
|
+
card_function_type: 'guest' | 'staff'
|
|
886
887
|
joiner_acs_credential_ids?: string[] | undefined
|
|
887
888
|
guest_acs_entrance_ids?: string[] | undefined
|
|
888
889
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -909,7 +910,14 @@ export interface Routes {
|
|
|
909
910
|
| string
|
|
910
911
|
| undefined
|
|
911
912
|
card_format?: ('TLCode' | 'rfid48') | undefined
|
|
913
|
+
card_function_type?: 'guest' | 'staff'
|
|
914
|
+
/**
|
|
915
|
+
---
|
|
916
|
+
deprecated: use override.
|
|
917
|
+
---
|
|
918
|
+
*/
|
|
912
919
|
is_override_key?: boolean | undefined
|
|
920
|
+
override?: boolean | undefined
|
|
913
921
|
joiner_acs_credential_ids?: string[] | undefined
|
|
914
922
|
}
|
|
915
923
|
| undefined
|
|
@@ -951,6 +959,7 @@ export interface Routes {
|
|
|
951
959
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
952
960
|
visionline_metadata?:
|
|
953
961
|
| {
|
|
962
|
+
card_function_type: 'guest' | 'staff'
|
|
954
963
|
joiner_acs_credential_ids?: string[] | undefined
|
|
955
964
|
guest_acs_entrance_ids?: string[] | undefined
|
|
956
965
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -1013,6 +1022,7 @@ export interface Routes {
|
|
|
1013
1022
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1014
1023
|
visionline_metadata?:
|
|
1015
1024
|
| {
|
|
1025
|
+
card_function_type: 'guest' | 'staff'
|
|
1016
1026
|
joiner_acs_credential_ids?: string[] | undefined
|
|
1017
1027
|
guest_acs_entrance_ids?: string[] | undefined
|
|
1018
1028
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -1078,6 +1088,7 @@ export interface Routes {
|
|
|
1078
1088
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1079
1089
|
visionline_metadata?:
|
|
1080
1090
|
| {
|
|
1091
|
+
card_function_type: 'guest' | 'staff'
|
|
1081
1092
|
joiner_acs_credential_ids?: string[] | undefined
|
|
1082
1093
|
guest_acs_entrance_ids?: string[] | undefined
|
|
1083
1094
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -1130,6 +1141,7 @@ export interface Routes {
|
|
|
1130
1141
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1131
1142
|
visionline_metadata?:
|
|
1132
1143
|
| {
|
|
1144
|
+
card_function_type: 'guest' | 'staff'
|
|
1133
1145
|
joiner_acs_credential_ids?: string[] | undefined
|
|
1134
1146
|
guest_acs_entrance_ids?: string[] | undefined
|
|
1135
1147
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -1182,6 +1194,7 @@ export interface Routes {
|
|
|
1182
1194
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1183
1195
|
visionline_metadata?:
|
|
1184
1196
|
| {
|
|
1197
|
+
card_function_type: 'guest' | 'staff'
|
|
1185
1198
|
joiner_acs_credential_ids?: string[] | undefined
|
|
1186
1199
|
guest_acs_entrance_ids?: string[] | undefined
|
|
1187
1200
|
common_acs_entrance_ids?: string[] | undefined
|
|
@@ -1325,6 +1338,7 @@ export interface Routes {
|
|
|
1325
1338
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1326
1339
|
visionline_metadata?:
|
|
1327
1340
|
| {
|
|
1341
|
+
card_function_type: 'guest' | 'staff'
|
|
1328
1342
|
joiner_acs_credential_ids?: string[] | undefined
|
|
1329
1343
|
guest_acs_entrance_ids?: string[] | undefined
|
|
1330
1344
|
common_acs_entrance_ids?: string[] | undefined
|