@seamapi/types 1.161.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 +15 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +40 -0
- package/lib/seam/connect/models/acs/acs_system_capability_flags.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs_system_capability_flags.js +2 -0
- package/lib/seam/connect/models/acs/acs_system_capability_flags.js.map +1 -1
- 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/models/acs/system.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +14 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs_system_capability_flags.ts +2 -0
- package/src/lib/seam/connect/models/acs/credential.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +15 -1
- package/src/lib/seam/connect/route-types.ts +20 -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;
|
|
@@ -1243,6 +1257,8 @@ export interface Routes {
|
|
|
1243
1257
|
image_alt_text: string;
|
|
1244
1258
|
can_automate_enrollment?: boolean | undefined;
|
|
1245
1259
|
can_create_acs_access_groups?: boolean | undefined;
|
|
1260
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
1261
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
1246
1262
|
};
|
|
1247
1263
|
};
|
|
1248
1264
|
};
|
|
@@ -1280,6 +1296,8 @@ export interface Routes {
|
|
|
1280
1296
|
image_alt_text: string;
|
|
1281
1297
|
can_automate_enrollment?: boolean | undefined;
|
|
1282
1298
|
can_create_acs_access_groups?: boolean | undefined;
|
|
1299
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
1300
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
1283
1301
|
}>;
|
|
1284
1302
|
};
|
|
1285
1303
|
};
|
|
@@ -8611,6 +8629,8 @@ export interface Routes {
|
|
|
8611
8629
|
image_alt_text: string;
|
|
8612
8630
|
can_automate_enrollment?: boolean | undefined;
|
|
8613
8631
|
can_create_acs_access_groups?: boolean | undefined;
|
|
8632
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
8633
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
8614
8634
|
}>;
|
|
8615
8635
|
};
|
|
8616
8636
|
};
|
package/package.json
CHANGED
|
@@ -3,4 +3,6 @@ import { z } from 'zod'
|
|
|
3
3
|
export const acs_system_capability_flags = z.object({
|
|
4
4
|
can_automate_enrollment: z.boolean().optional(),
|
|
5
5
|
can_create_acs_access_groups: z.boolean().optional(),
|
|
6
|
+
can_remove_acs_users_from_acs_access_groups: z.boolean().optional(),
|
|
7
|
+
can_add_acs_users_to_acs_access_groups: z.boolean().optional(),
|
|
6
8
|
})
|
|
@@ -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: {
|
|
@@ -376,8 +378,10 @@ export default {
|
|
|
376
378
|
acs_system: {
|
|
377
379
|
properties: {
|
|
378
380
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
381
|
+
can_add_acs_users_to_acs_access_groups: { type: 'boolean' },
|
|
379
382
|
can_automate_enrollment: { type: 'boolean' },
|
|
380
383
|
can_create_acs_access_groups: { type: 'boolean' },
|
|
384
|
+
can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
|
|
381
385
|
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
382
386
|
created_at: { format: 'date-time', type: 'string' },
|
|
383
387
|
external_type: {
|
|
@@ -4365,11 +4369,21 @@ export default {
|
|
|
4365
4369
|
enum: ['TLCode', 'rfid48'],
|
|
4366
4370
|
type: 'string',
|
|
4367
4371
|
},
|
|
4368
|
-
|
|
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
|
+
},
|
|
4369
4382
|
joiner_acs_credential_ids: {
|
|
4370
4383
|
items: { format: 'uuid', type: 'string' },
|
|
4371
4384
|
type: 'array',
|
|
4372
4385
|
},
|
|
4386
|
+
override: { type: 'boolean' },
|
|
4373
4387
|
},
|
|
4374
4388
|
type: 'object',
|
|
4375
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
|
|
@@ -1389,6 +1403,8 @@ export interface Routes {
|
|
|
1389
1403
|
image_alt_text: string
|
|
1390
1404
|
can_automate_enrollment?: boolean | undefined
|
|
1391
1405
|
can_create_acs_access_groups?: boolean | undefined
|
|
1406
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined
|
|
1407
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined
|
|
1392
1408
|
}
|
|
1393
1409
|
}
|
|
1394
1410
|
}
|
|
@@ -1448,6 +1464,8 @@ export interface Routes {
|
|
|
1448
1464
|
image_alt_text: string
|
|
1449
1465
|
can_automate_enrollment?: boolean | undefined
|
|
1450
1466
|
can_create_acs_access_groups?: boolean | undefined
|
|
1467
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined
|
|
1468
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined
|
|
1451
1469
|
}>
|
|
1452
1470
|
}
|
|
1453
1471
|
}
|
|
@@ -11934,6 +11952,8 @@ export interface Routes {
|
|
|
11934
11952
|
image_alt_text: string
|
|
11935
11953
|
can_automate_enrollment?: boolean | undefined
|
|
11936
11954
|
can_create_acs_access_groups?: boolean | undefined
|
|
11955
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined
|
|
11956
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined
|
|
11937
11957
|
}>
|
|
11938
11958
|
}
|
|
11939
11959
|
}
|