@seamapi/types 1.233.0 → 1.235.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 +678 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1514 -169
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +45 -2
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +160 -2
- package/lib/seam/connect/models/acs/acs-credential.js +7 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +114 -1
- package/lib/seam/connect/models/acs/acs-user.js +7 -1
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +9 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js +3 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +867 -41
- package/lib/seam/connect/openapi.js +638 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +206 -1
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +11 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +14 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +14 -1
- package/src/lib/seam/connect/models/acs/metadata/visionline.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +638 -3
- package/src/lib/seam/connect/route-types.ts +246 -1
- package/src/lib/seam/connect/schemas.ts +3 -0
package/dist/connect.cjs
CHANGED
|
@@ -16,6 +16,7 @@ __export(schemas_exports, {
|
|
|
16
16
|
acs_credential: () => acs_credential,
|
|
17
17
|
acs_entrance: () => acs_entrance,
|
|
18
18
|
acs_system: () => acs_system,
|
|
19
|
+
acs_unmanaged_user: () => acs_unmanaged_user,
|
|
19
20
|
acs_user: () => acs_user,
|
|
20
21
|
action_attempt: () => action_attempt,
|
|
21
22
|
client_session: () => client_session,
|
|
@@ -28,6 +29,8 @@ __export(schemas_exports, {
|
|
|
28
29
|
noise_threshold: () => noise_threshold,
|
|
29
30
|
seam_event: () => seam_event,
|
|
30
31
|
unmanaged_access_code: () => unmanaged_access_code,
|
|
32
|
+
unmanaged_acs_access_group: () => unmanaged_acs_access_group,
|
|
33
|
+
unmanaged_acs_credential: () => unmanaged_acs_credential,
|
|
31
34
|
unmanaged_device: () => unmanaged_device,
|
|
32
35
|
user_identity: () => user_identity,
|
|
33
36
|
webhook: () => webhook,
|
|
@@ -1030,7 +1033,7 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
1030
1033
|
"salto_access_group",
|
|
1031
1034
|
"brivo_group"
|
|
1032
1035
|
]);
|
|
1033
|
-
var
|
|
1036
|
+
var common_acs_access_group = zod.z.object({
|
|
1034
1037
|
acs_access_group_id: zod.z.string().uuid(),
|
|
1035
1038
|
acs_system_id: zod.z.string().uuid(),
|
|
1036
1039
|
workspace_id: zod.z.string().uuid(),
|
|
@@ -1050,6 +1053,12 @@ var acs_access_group = zod.z.object({
|
|
|
1050
1053
|
external_type_display_name: zod.z.string(),
|
|
1051
1054
|
created_at: zod.z.string().datetime()
|
|
1052
1055
|
});
|
|
1056
|
+
var acs_access_group = common_acs_access_group.extend({
|
|
1057
|
+
is_managed: zod.z.literal(true)
|
|
1058
|
+
});
|
|
1059
|
+
var unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
1060
|
+
is_managed: zod.z.literal(false)
|
|
1061
|
+
});
|
|
1053
1062
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
1054
1063
|
accessibility_type: zod.z.string(),
|
|
1055
1064
|
door_name: zod.z.string(),
|
|
@@ -1076,7 +1085,10 @@ var acs_credential_visionline_metadata = zod.z.object({
|
|
|
1076
1085
|
card_function_type: zod.z.enum(["guest", "staff"]),
|
|
1077
1086
|
joiner_acs_credential_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1078
1087
|
guest_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1079
|
-
common_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
1088
|
+
common_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1089
|
+
is_valid: zod.z.boolean().optional(),
|
|
1090
|
+
card_id: zod.z.string().optional(),
|
|
1091
|
+
credential_id: zod.z.string().optional()
|
|
1080
1092
|
});
|
|
1081
1093
|
|
|
1082
1094
|
// src/lib/seam/connect/models/acs/acs-credential.ts
|
|
@@ -1092,7 +1104,7 @@ var acs_credential_access_method_type = zod.z.enum([
|
|
|
1092
1104
|
"card",
|
|
1093
1105
|
"mobile_key"
|
|
1094
1106
|
]);
|
|
1095
|
-
var
|
|
1107
|
+
var common_acs_credential = zod.z.object({
|
|
1096
1108
|
acs_credential_id: zod.z.string().uuid(),
|
|
1097
1109
|
acs_user_id: zod.z.string().uuid().optional(),
|
|
1098
1110
|
acs_credential_pool_id: zod.z.string().uuid().optional(),
|
|
@@ -1124,6 +1136,16 @@ var acs_credential = zod.z.object({
|
|
|
1124
1136
|
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional(),
|
|
1125
1137
|
visionline_metadata: acs_credential_visionline_metadata.optional()
|
|
1126
1138
|
});
|
|
1139
|
+
var acs_credential = common_acs_credential.merge(
|
|
1140
|
+
zod.z.object({
|
|
1141
|
+
is_managed: zod.z.literal(true)
|
|
1142
|
+
})
|
|
1143
|
+
);
|
|
1144
|
+
var unmanaged_acs_credential = common_acs_credential.merge(
|
|
1145
|
+
zod.z.object({
|
|
1146
|
+
is_managed: zod.z.literal(false)
|
|
1147
|
+
})
|
|
1148
|
+
);
|
|
1127
1149
|
var acs_entrance = zod.z.object({
|
|
1128
1150
|
acs_system_id: zod.z.string().uuid(),
|
|
1129
1151
|
acs_entrance_id: zod.z.string().uuid(),
|
|
@@ -1297,7 +1319,7 @@ var user_fields = zod.z.object({
|
|
|
1297
1319
|
email_address: zod.z.string().email().optional(),
|
|
1298
1320
|
phone_number: phone_number.optional()
|
|
1299
1321
|
});
|
|
1300
|
-
var
|
|
1322
|
+
var common_acs_user = zod.z.object({
|
|
1301
1323
|
acs_user_id: zod.z.string().uuid(),
|
|
1302
1324
|
acs_system_id: zod.z.string().uuid(),
|
|
1303
1325
|
hid_acs_system_id: zod.z.string().uuid().optional(),
|
|
@@ -1316,6 +1338,16 @@ var acs_user = zod.z.object({
|
|
|
1316
1338
|
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional(),
|
|
1317
1339
|
warnings: zod.z.array(acs_users_warning)
|
|
1318
1340
|
}).merge(user_fields);
|
|
1341
|
+
var acs_user = common_acs_user.merge(
|
|
1342
|
+
zod.z.object({
|
|
1343
|
+
is_managed: zod.z.literal(true)
|
|
1344
|
+
})
|
|
1345
|
+
);
|
|
1346
|
+
var acs_unmanaged_user = common_acs_user.merge(
|
|
1347
|
+
zod.z.object({
|
|
1348
|
+
is_managed: zod.z.literal(false)
|
|
1349
|
+
})
|
|
1350
|
+
);
|
|
1319
1351
|
var common_action_attempt = zod.z.object({
|
|
1320
1352
|
action_attempt_id: zod.z.string().uuid().describe(`
|
|
1321
1353
|
---
|
|
@@ -2406,6 +2438,7 @@ var openapi_default = {
|
|
|
2406
2438
|
type: "string"
|
|
2407
2439
|
},
|
|
2408
2440
|
external_type_display_name: { type: "string" },
|
|
2441
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
2409
2442
|
name: { type: "string" },
|
|
2410
2443
|
workspace_id: { format: "uuid", type: "string" }
|
|
2411
2444
|
},
|
|
@@ -2419,7 +2452,8 @@ var openapi_default = {
|
|
|
2419
2452
|
"display_name",
|
|
2420
2453
|
"external_type",
|
|
2421
2454
|
"external_type_display_name",
|
|
2422
|
-
"created_at"
|
|
2455
|
+
"created_at",
|
|
2456
|
+
"is_managed"
|
|
2423
2457
|
],
|
|
2424
2458
|
type: "object"
|
|
2425
2459
|
},
|
|
@@ -2460,6 +2494,7 @@ var openapi_default = {
|
|
|
2460
2494
|
},
|
|
2461
2495
|
external_type_display_name: { type: "string" },
|
|
2462
2496
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2497
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
2463
2498
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
2464
2499
|
latest_desired_state_synced_with_provider_at: {
|
|
2465
2500
|
format: "date-time",
|
|
@@ -2470,14 +2505,17 @@ var openapi_default = {
|
|
|
2470
2505
|
visionline_metadata: {
|
|
2471
2506
|
properties: {
|
|
2472
2507
|
card_function_type: { enum: ["guest", "staff"], type: "string" },
|
|
2508
|
+
card_id: { type: "string" },
|
|
2473
2509
|
common_acs_entrance_ids: {
|
|
2474
2510
|
items: { format: "uuid", type: "string" },
|
|
2475
2511
|
type: "array"
|
|
2476
2512
|
},
|
|
2513
|
+
credential_id: { type: "string" },
|
|
2477
2514
|
guest_acs_entrance_ids: {
|
|
2478
2515
|
items: { format: "uuid", type: "string" },
|
|
2479
2516
|
type: "array"
|
|
2480
2517
|
},
|
|
2518
|
+
is_valid: { type: "boolean" },
|
|
2481
2519
|
joiner_acs_credential_ids: {
|
|
2482
2520
|
items: { format: "uuid", type: "string" },
|
|
2483
2521
|
type: "array"
|
|
@@ -2507,7 +2545,8 @@ var openapi_default = {
|
|
|
2507
2545
|
"created_at",
|
|
2508
2546
|
"workspace_id",
|
|
2509
2547
|
"errors",
|
|
2510
|
-
"warnings"
|
|
2548
|
+
"warnings",
|
|
2549
|
+
"is_managed"
|
|
2511
2550
|
],
|
|
2512
2551
|
type: "object"
|
|
2513
2552
|
},
|
|
@@ -2868,6 +2907,7 @@ var openapi_default = {
|
|
|
2868
2907
|
full_name: { type: "string" },
|
|
2869
2908
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
2870
2909
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2910
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
2871
2911
|
is_suspended: { type: "boolean" },
|
|
2872
2912
|
latest_desired_state_synced_with_provider_at: {
|
|
2873
2913
|
format: "date-time",
|
|
@@ -2899,7 +2939,8 @@ var openapi_default = {
|
|
|
2899
2939
|
"created_at",
|
|
2900
2940
|
"display_name",
|
|
2901
2941
|
"is_suspended",
|
|
2902
|
-
"warnings"
|
|
2942
|
+
"warnings",
|
|
2943
|
+
"is_managed"
|
|
2903
2944
|
],
|
|
2904
2945
|
type: "object"
|
|
2905
2946
|
},
|
|
@@ -7576,6 +7617,206 @@ var openapi_default = {
|
|
|
7576
7617
|
"x-fern-sdk-method-name": "remove_user"
|
|
7577
7618
|
}
|
|
7578
7619
|
},
|
|
7620
|
+
"/acs/access_groups/unmanaged/get": {
|
|
7621
|
+
post: {
|
|
7622
|
+
operationId: "acsAccessGroupsUnmanagedGetPost",
|
|
7623
|
+
requestBody: {
|
|
7624
|
+
content: {
|
|
7625
|
+
"application/json": {
|
|
7626
|
+
schema: {
|
|
7627
|
+
properties: {
|
|
7628
|
+
acs_access_group_id: { format: "uuid", type: "string" }
|
|
7629
|
+
},
|
|
7630
|
+
required: ["acs_access_group_id"],
|
|
7631
|
+
type: "object"
|
|
7632
|
+
}
|
|
7633
|
+
}
|
|
7634
|
+
}
|
|
7635
|
+
},
|
|
7636
|
+
responses: {
|
|
7637
|
+
200: {
|
|
7638
|
+
content: {
|
|
7639
|
+
"application/json": {
|
|
7640
|
+
schema: {
|
|
7641
|
+
properties: {
|
|
7642
|
+
acs_access_group: {
|
|
7643
|
+
properties: {
|
|
7644
|
+
access_group_type: {
|
|
7645
|
+
deprecated: true,
|
|
7646
|
+
enum: [
|
|
7647
|
+
"pti_unit",
|
|
7648
|
+
"pti_access_level",
|
|
7649
|
+
"salto_access_group",
|
|
7650
|
+
"brivo_group"
|
|
7651
|
+
],
|
|
7652
|
+
type: "string",
|
|
7653
|
+
"x-deprecated": "use external_type"
|
|
7654
|
+
},
|
|
7655
|
+
access_group_type_display_name: {
|
|
7656
|
+
deprecated: true,
|
|
7657
|
+
type: "string",
|
|
7658
|
+
"x-deprecated": "use external_type_display_name"
|
|
7659
|
+
},
|
|
7660
|
+
acs_access_group_id: { format: "uuid", type: "string" },
|
|
7661
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
7662
|
+
created_at: { format: "date-time", type: "string" },
|
|
7663
|
+
display_name: { type: "string" },
|
|
7664
|
+
external_type: {
|
|
7665
|
+
enum: [
|
|
7666
|
+
"pti_unit",
|
|
7667
|
+
"pti_access_level",
|
|
7668
|
+
"salto_access_group",
|
|
7669
|
+
"brivo_group"
|
|
7670
|
+
],
|
|
7671
|
+
type: "string"
|
|
7672
|
+
},
|
|
7673
|
+
external_type_display_name: { type: "string" },
|
|
7674
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
7675
|
+
name: { type: "string" },
|
|
7676
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
7677
|
+
},
|
|
7678
|
+
required: [
|
|
7679
|
+
"acs_access_group_id",
|
|
7680
|
+
"acs_system_id",
|
|
7681
|
+
"workspace_id",
|
|
7682
|
+
"name",
|
|
7683
|
+
"access_group_type",
|
|
7684
|
+
"access_group_type_display_name",
|
|
7685
|
+
"display_name",
|
|
7686
|
+
"external_type",
|
|
7687
|
+
"external_type_display_name",
|
|
7688
|
+
"created_at",
|
|
7689
|
+
"is_managed"
|
|
7690
|
+
],
|
|
7691
|
+
type: "object"
|
|
7692
|
+
},
|
|
7693
|
+
ok: { type: "boolean" }
|
|
7694
|
+
},
|
|
7695
|
+
required: ["acs_access_group", "ok"],
|
|
7696
|
+
type: "object"
|
|
7697
|
+
}
|
|
7698
|
+
}
|
|
7699
|
+
},
|
|
7700
|
+
description: "OK"
|
|
7701
|
+
},
|
|
7702
|
+
400: { description: "Bad Request" },
|
|
7703
|
+
401: { description: "Unauthorized" }
|
|
7704
|
+
},
|
|
7705
|
+
security: [
|
|
7706
|
+
{ pat_with_workspace: [] },
|
|
7707
|
+
{ console_session: [] },
|
|
7708
|
+
{ api_key: [] }
|
|
7709
|
+
],
|
|
7710
|
+
summary: "/acs/access_groups/unmanaged/get",
|
|
7711
|
+
tags: ["/acs"],
|
|
7712
|
+
"x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
|
|
7713
|
+
"x-fern-sdk-method-name": "get",
|
|
7714
|
+
"x-fern-sdk-return-value": "acs_users"
|
|
7715
|
+
}
|
|
7716
|
+
},
|
|
7717
|
+
"/acs/access_groups/unmanaged/list": {
|
|
7718
|
+
post: {
|
|
7719
|
+
operationId: "acsAccessGroupsUnmanagedListPost",
|
|
7720
|
+
requestBody: {
|
|
7721
|
+
content: {
|
|
7722
|
+
"application/json": {
|
|
7723
|
+
schema: {
|
|
7724
|
+
properties: {
|
|
7725
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
7726
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
7727
|
+
},
|
|
7728
|
+
type: "object"
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7732
|
+
},
|
|
7733
|
+
responses: {
|
|
7734
|
+
200: {
|
|
7735
|
+
content: {
|
|
7736
|
+
"application/json": {
|
|
7737
|
+
schema: {
|
|
7738
|
+
properties: {
|
|
7739
|
+
acs_access_groups: {
|
|
7740
|
+
items: {
|
|
7741
|
+
properties: {
|
|
7742
|
+
access_group_type: {
|
|
7743
|
+
deprecated: true,
|
|
7744
|
+
enum: [
|
|
7745
|
+
"pti_unit",
|
|
7746
|
+
"pti_access_level",
|
|
7747
|
+
"salto_access_group",
|
|
7748
|
+
"brivo_group"
|
|
7749
|
+
],
|
|
7750
|
+
type: "string",
|
|
7751
|
+
"x-deprecated": "use external_type"
|
|
7752
|
+
},
|
|
7753
|
+
access_group_type_display_name: {
|
|
7754
|
+
deprecated: true,
|
|
7755
|
+
type: "string",
|
|
7756
|
+
"x-deprecated": "use external_type_display_name"
|
|
7757
|
+
},
|
|
7758
|
+
acs_access_group_id: {
|
|
7759
|
+
format: "uuid",
|
|
7760
|
+
type: "string"
|
|
7761
|
+
},
|
|
7762
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
7763
|
+
created_at: { format: "date-time", type: "string" },
|
|
7764
|
+
display_name: { type: "string" },
|
|
7765
|
+
external_type: {
|
|
7766
|
+
enum: [
|
|
7767
|
+
"pti_unit",
|
|
7768
|
+
"pti_access_level",
|
|
7769
|
+
"salto_access_group",
|
|
7770
|
+
"brivo_group"
|
|
7771
|
+
],
|
|
7772
|
+
type: "string"
|
|
7773
|
+
},
|
|
7774
|
+
external_type_display_name: { type: "string" },
|
|
7775
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
7776
|
+
name: { type: "string" },
|
|
7777
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
7778
|
+
},
|
|
7779
|
+
required: [
|
|
7780
|
+
"acs_access_group_id",
|
|
7781
|
+
"acs_system_id",
|
|
7782
|
+
"workspace_id",
|
|
7783
|
+
"name",
|
|
7784
|
+
"access_group_type",
|
|
7785
|
+
"access_group_type_display_name",
|
|
7786
|
+
"display_name",
|
|
7787
|
+
"external_type",
|
|
7788
|
+
"external_type_display_name",
|
|
7789
|
+
"created_at",
|
|
7790
|
+
"is_managed"
|
|
7791
|
+
],
|
|
7792
|
+
type: "object"
|
|
7793
|
+
},
|
|
7794
|
+
type: "array"
|
|
7795
|
+
},
|
|
7796
|
+
ok: { type: "boolean" }
|
|
7797
|
+
},
|
|
7798
|
+
required: ["acs_access_groups", "ok"],
|
|
7799
|
+
type: "object"
|
|
7800
|
+
}
|
|
7801
|
+
}
|
|
7802
|
+
},
|
|
7803
|
+
description: "OK"
|
|
7804
|
+
},
|
|
7805
|
+
400: { description: "Bad Request" },
|
|
7806
|
+
401: { description: "Unauthorized" }
|
|
7807
|
+
},
|
|
7808
|
+
security: [
|
|
7809
|
+
{ pat_with_workspace: [] },
|
|
7810
|
+
{ console_session: [] },
|
|
7811
|
+
{ api_key: [] }
|
|
7812
|
+
],
|
|
7813
|
+
summary: "/acs/access_groups/unmanaged/list",
|
|
7814
|
+
tags: ["/acs"],
|
|
7815
|
+
"x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
|
|
7816
|
+
"x-fern-sdk-method-name": "list",
|
|
7817
|
+
"x-fern-sdk-return-value": "acs_users"
|
|
7818
|
+
}
|
|
7819
|
+
},
|
|
7579
7820
|
"/acs/credential_pools/list": {
|
|
7580
7821
|
post: {
|
|
7581
7822
|
operationId: "acsCredentialPoolsListPost",
|
|
@@ -8208,6 +8449,335 @@ var openapi_default = {
|
|
|
8208
8449
|
"x-fern-sdk-method-name": "unassign"
|
|
8209
8450
|
}
|
|
8210
8451
|
},
|
|
8452
|
+
"/acs/credentials/unmanaged/get": {
|
|
8453
|
+
post: {
|
|
8454
|
+
operationId: "acsCredentialsUnmanagedGetPost",
|
|
8455
|
+
requestBody: {
|
|
8456
|
+
content: {
|
|
8457
|
+
"application/json": {
|
|
8458
|
+
schema: {
|
|
8459
|
+
properties: {
|
|
8460
|
+
acs_credential_id: { format: "uuid", type: "string" }
|
|
8461
|
+
},
|
|
8462
|
+
required: ["acs_credential_id"],
|
|
8463
|
+
type: "object"
|
|
8464
|
+
}
|
|
8465
|
+
}
|
|
8466
|
+
}
|
|
8467
|
+
},
|
|
8468
|
+
responses: {
|
|
8469
|
+
200: {
|
|
8470
|
+
content: {
|
|
8471
|
+
"application/json": {
|
|
8472
|
+
schema: {
|
|
8473
|
+
properties: {
|
|
8474
|
+
acs_credential: {
|
|
8475
|
+
properties: {
|
|
8476
|
+
access_method: {
|
|
8477
|
+
enum: ["code", "card", "mobile_key"],
|
|
8478
|
+
type: "string"
|
|
8479
|
+
},
|
|
8480
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
8481
|
+
acs_credential_pool_id: {
|
|
8482
|
+
format: "uuid",
|
|
8483
|
+
type: "string"
|
|
8484
|
+
},
|
|
8485
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8486
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
8487
|
+
code: { nullable: true, type: "string" },
|
|
8488
|
+
created_at: { format: "date-time", type: "string" },
|
|
8489
|
+
display_name: { minLength: 1, type: "string" },
|
|
8490
|
+
ends_at: { type: "string" },
|
|
8491
|
+
errors: {
|
|
8492
|
+
items: {
|
|
8493
|
+
properties: {
|
|
8494
|
+
error_code: { type: "string" },
|
|
8495
|
+
message: { type: "string" }
|
|
8496
|
+
},
|
|
8497
|
+
required: ["error_code", "message"],
|
|
8498
|
+
type: "object"
|
|
8499
|
+
},
|
|
8500
|
+
type: "array"
|
|
8501
|
+
},
|
|
8502
|
+
external_type: {
|
|
8503
|
+
enum: [
|
|
8504
|
+
"pti_card",
|
|
8505
|
+
"brivo_credential",
|
|
8506
|
+
"hid_credential",
|
|
8507
|
+
"visionline_card",
|
|
8508
|
+
"salto_ks_credential"
|
|
8509
|
+
],
|
|
8510
|
+
type: "string"
|
|
8511
|
+
},
|
|
8512
|
+
external_type_display_name: { type: "string" },
|
|
8513
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8514
|
+
type: "boolean"
|
|
8515
|
+
},
|
|
8516
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
8517
|
+
is_multi_phone_sync_credential: { type: "boolean" },
|
|
8518
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8519
|
+
format: "date-time",
|
|
8520
|
+
type: "string"
|
|
8521
|
+
},
|
|
8522
|
+
parent_acs_credential_id: {
|
|
8523
|
+
format: "uuid",
|
|
8524
|
+
type: "string"
|
|
8525
|
+
},
|
|
8526
|
+
starts_at: { type: "string" },
|
|
8527
|
+
visionline_metadata: {
|
|
8528
|
+
properties: {
|
|
8529
|
+
card_function_type: {
|
|
8530
|
+
enum: ["guest", "staff"],
|
|
8531
|
+
type: "string"
|
|
8532
|
+
},
|
|
8533
|
+
card_id: { type: "string" },
|
|
8534
|
+
common_acs_entrance_ids: {
|
|
8535
|
+
items: { format: "uuid", type: "string" },
|
|
8536
|
+
type: "array"
|
|
8537
|
+
},
|
|
8538
|
+
credential_id: { type: "string" },
|
|
8539
|
+
guest_acs_entrance_ids: {
|
|
8540
|
+
items: { format: "uuid", type: "string" },
|
|
8541
|
+
type: "array"
|
|
8542
|
+
},
|
|
8543
|
+
is_valid: { type: "boolean" },
|
|
8544
|
+
joiner_acs_credential_ids: {
|
|
8545
|
+
items: { format: "uuid", type: "string" },
|
|
8546
|
+
type: "array"
|
|
8547
|
+
}
|
|
8548
|
+
},
|
|
8549
|
+
required: ["card_function_type"],
|
|
8550
|
+
type: "object"
|
|
8551
|
+
},
|
|
8552
|
+
warnings: {
|
|
8553
|
+
items: {
|
|
8554
|
+
properties: {
|
|
8555
|
+
message: { type: "string" },
|
|
8556
|
+
warning_code: { type: "string" }
|
|
8557
|
+
},
|
|
8558
|
+
required: ["warning_code", "message"],
|
|
8559
|
+
type: "object"
|
|
8560
|
+
},
|
|
8561
|
+
type: "array"
|
|
8562
|
+
},
|
|
8563
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
8564
|
+
},
|
|
8565
|
+
required: [
|
|
8566
|
+
"acs_credential_id",
|
|
8567
|
+
"acs_system_id",
|
|
8568
|
+
"display_name",
|
|
8569
|
+
"access_method",
|
|
8570
|
+
"created_at",
|
|
8571
|
+
"workspace_id",
|
|
8572
|
+
"errors",
|
|
8573
|
+
"warnings",
|
|
8574
|
+
"is_managed"
|
|
8575
|
+
],
|
|
8576
|
+
type: "object"
|
|
8577
|
+
},
|
|
8578
|
+
ok: { type: "boolean" }
|
|
8579
|
+
},
|
|
8580
|
+
required: ["acs_credential", "ok"],
|
|
8581
|
+
type: "object"
|
|
8582
|
+
}
|
|
8583
|
+
}
|
|
8584
|
+
},
|
|
8585
|
+
description: "OK"
|
|
8586
|
+
},
|
|
8587
|
+
400: { description: "Bad Request" },
|
|
8588
|
+
401: { description: "Unauthorized" }
|
|
8589
|
+
},
|
|
8590
|
+
security: [
|
|
8591
|
+
{ pat_with_workspace: [] },
|
|
8592
|
+
{ console_session: [] },
|
|
8593
|
+
{ api_key: [] }
|
|
8594
|
+
],
|
|
8595
|
+
summary: "/acs/credentials/unmanaged/get",
|
|
8596
|
+
tags: ["/acs"],
|
|
8597
|
+
"x-fern-sdk-group-name": ["acs", "credentials", "unmanaged"],
|
|
8598
|
+
"x-fern-sdk-method-name": "get",
|
|
8599
|
+
"x-fern-sdk-return-value": "acs_credential"
|
|
8600
|
+
}
|
|
8601
|
+
},
|
|
8602
|
+
"/acs/credentials/unmanaged/list": {
|
|
8603
|
+
post: {
|
|
8604
|
+
operationId: "acsCredentialsUnmanagedListPost",
|
|
8605
|
+
requestBody: {
|
|
8606
|
+
content: {
|
|
8607
|
+
"application/json": {
|
|
8608
|
+
schema: {
|
|
8609
|
+
oneOf: [
|
|
8610
|
+
{
|
|
8611
|
+
properties: {
|
|
8612
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
8613
|
+
},
|
|
8614
|
+
required: ["acs_user_id"],
|
|
8615
|
+
type: "object"
|
|
8616
|
+
},
|
|
8617
|
+
{
|
|
8618
|
+
properties: {
|
|
8619
|
+
acs_system_id: { format: "uuid", type: "string" }
|
|
8620
|
+
},
|
|
8621
|
+
required: ["acs_system_id"],
|
|
8622
|
+
type: "object"
|
|
8623
|
+
},
|
|
8624
|
+
{
|
|
8625
|
+
properties: {
|
|
8626
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8627
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
8628
|
+
},
|
|
8629
|
+
required: ["acs_user_id", "acs_system_id"],
|
|
8630
|
+
type: "object"
|
|
8631
|
+
},
|
|
8632
|
+
{
|
|
8633
|
+
properties: {
|
|
8634
|
+
user_identity_id: { format: "uuid", type: "string" }
|
|
8635
|
+
},
|
|
8636
|
+
required: ["user_identity_id"],
|
|
8637
|
+
type: "object"
|
|
8638
|
+
}
|
|
8639
|
+
]
|
|
8640
|
+
}
|
|
8641
|
+
}
|
|
8642
|
+
}
|
|
8643
|
+
},
|
|
8644
|
+
responses: {
|
|
8645
|
+
200: {
|
|
8646
|
+
content: {
|
|
8647
|
+
"application/json": {
|
|
8648
|
+
schema: {
|
|
8649
|
+
properties: {
|
|
8650
|
+
acs_credentials: {
|
|
8651
|
+
items: {
|
|
8652
|
+
properties: {
|
|
8653
|
+
access_method: {
|
|
8654
|
+
enum: ["code", "card", "mobile_key"],
|
|
8655
|
+
type: "string"
|
|
8656
|
+
},
|
|
8657
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
8658
|
+
acs_credential_pool_id: {
|
|
8659
|
+
format: "uuid",
|
|
8660
|
+
type: "string"
|
|
8661
|
+
},
|
|
8662
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8663
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
8664
|
+
code: { nullable: true, type: "string" },
|
|
8665
|
+
created_at: { format: "date-time", type: "string" },
|
|
8666
|
+
display_name: { minLength: 1, type: "string" },
|
|
8667
|
+
ends_at: { type: "string" },
|
|
8668
|
+
errors: {
|
|
8669
|
+
items: {
|
|
8670
|
+
properties: {
|
|
8671
|
+
error_code: { type: "string" },
|
|
8672
|
+
message: { type: "string" }
|
|
8673
|
+
},
|
|
8674
|
+
required: ["error_code", "message"],
|
|
8675
|
+
type: "object"
|
|
8676
|
+
},
|
|
8677
|
+
type: "array"
|
|
8678
|
+
},
|
|
8679
|
+
external_type: {
|
|
8680
|
+
enum: [
|
|
8681
|
+
"pti_card",
|
|
8682
|
+
"brivo_credential",
|
|
8683
|
+
"hid_credential",
|
|
8684
|
+
"visionline_card",
|
|
8685
|
+
"salto_ks_credential"
|
|
8686
|
+
],
|
|
8687
|
+
type: "string"
|
|
8688
|
+
},
|
|
8689
|
+
external_type_display_name: { type: "string" },
|
|
8690
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8691
|
+
type: "boolean"
|
|
8692
|
+
},
|
|
8693
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
8694
|
+
is_multi_phone_sync_credential: { type: "boolean" },
|
|
8695
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8696
|
+
format: "date-time",
|
|
8697
|
+
type: "string"
|
|
8698
|
+
},
|
|
8699
|
+
parent_acs_credential_id: {
|
|
8700
|
+
format: "uuid",
|
|
8701
|
+
type: "string"
|
|
8702
|
+
},
|
|
8703
|
+
starts_at: { type: "string" },
|
|
8704
|
+
visionline_metadata: {
|
|
8705
|
+
properties: {
|
|
8706
|
+
card_function_type: {
|
|
8707
|
+
enum: ["guest", "staff"],
|
|
8708
|
+
type: "string"
|
|
8709
|
+
},
|
|
8710
|
+
card_id: { type: "string" },
|
|
8711
|
+
common_acs_entrance_ids: {
|
|
8712
|
+
items: { format: "uuid", type: "string" },
|
|
8713
|
+
type: "array"
|
|
8714
|
+
},
|
|
8715
|
+
credential_id: { type: "string" },
|
|
8716
|
+
guest_acs_entrance_ids: {
|
|
8717
|
+
items: { format: "uuid", type: "string" },
|
|
8718
|
+
type: "array"
|
|
8719
|
+
},
|
|
8720
|
+
is_valid: { type: "boolean" },
|
|
8721
|
+
joiner_acs_credential_ids: {
|
|
8722
|
+
items: { format: "uuid", type: "string" },
|
|
8723
|
+
type: "array"
|
|
8724
|
+
}
|
|
8725
|
+
},
|
|
8726
|
+
required: ["card_function_type"],
|
|
8727
|
+
type: "object"
|
|
8728
|
+
},
|
|
8729
|
+
warnings: {
|
|
8730
|
+
items: {
|
|
8731
|
+
properties: {
|
|
8732
|
+
message: { type: "string" },
|
|
8733
|
+
warning_code: { type: "string" }
|
|
8734
|
+
},
|
|
8735
|
+
required: ["warning_code", "message"],
|
|
8736
|
+
type: "object"
|
|
8737
|
+
},
|
|
8738
|
+
type: "array"
|
|
8739
|
+
},
|
|
8740
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
8741
|
+
},
|
|
8742
|
+
required: [
|
|
8743
|
+
"acs_credential_id",
|
|
8744
|
+
"acs_system_id",
|
|
8745
|
+
"display_name",
|
|
8746
|
+
"access_method",
|
|
8747
|
+
"created_at",
|
|
8748
|
+
"workspace_id",
|
|
8749
|
+
"errors",
|
|
8750
|
+
"warnings",
|
|
8751
|
+
"is_managed"
|
|
8752
|
+
],
|
|
8753
|
+
type: "object"
|
|
8754
|
+
},
|
|
8755
|
+
type: "array"
|
|
8756
|
+
},
|
|
8757
|
+
ok: { type: "boolean" }
|
|
8758
|
+
},
|
|
8759
|
+
required: ["acs_credentials", "ok"],
|
|
8760
|
+
type: "object"
|
|
8761
|
+
}
|
|
8762
|
+
}
|
|
8763
|
+
},
|
|
8764
|
+
description: "OK"
|
|
8765
|
+
},
|
|
8766
|
+
400: { description: "Bad Request" },
|
|
8767
|
+
401: { description: "Unauthorized" }
|
|
8768
|
+
},
|
|
8769
|
+
security: [
|
|
8770
|
+
{ api_key: [] },
|
|
8771
|
+
{ pat_with_workspace: [] },
|
|
8772
|
+
{ console_session: [] }
|
|
8773
|
+
],
|
|
8774
|
+
summary: "/acs/credentials/unmanaged/list",
|
|
8775
|
+
tags: ["/acs"],
|
|
8776
|
+
"x-fern-sdk-group-name": ["acs", "credentials", "unmanaged"],
|
|
8777
|
+
"x-fern-sdk-method-name": "list",
|
|
8778
|
+
"x-fern-sdk-return-value": "acs_credentials"
|
|
8779
|
+
}
|
|
8780
|
+
},
|
|
8211
8781
|
"/acs/credentials/update": {
|
|
8212
8782
|
patch: {
|
|
8213
8783
|
operationId: "acsCredentialsUpdatePatch",
|
|
@@ -9198,9 +9768,12 @@ var openapi_default = {
|
|
|
9198
9768
|
"application/json": {
|
|
9199
9769
|
schema: {
|
|
9200
9770
|
properties: {
|
|
9201
|
-
acs_system_id: { format: "uuid", type: "string" }
|
|
9771
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
9772
|
+
limit: { default: 500, format: "float", type: "number" },
|
|
9773
|
+
user_identity_email_address: { type: "string" },
|
|
9774
|
+
user_identity_id: { format: "uuid", type: "string" },
|
|
9775
|
+
user_identity_phone_number: { type: "string" }
|
|
9202
9776
|
},
|
|
9203
|
-
required: ["acs_system_id"],
|
|
9204
9777
|
type: "object"
|
|
9205
9778
|
}
|
|
9206
9779
|
}
|
|
@@ -9213,7 +9786,102 @@ var openapi_default = {
|
|
|
9213
9786
|
schema: {
|
|
9214
9787
|
properties: {
|
|
9215
9788
|
acs_users: {
|
|
9216
|
-
items: {
|
|
9789
|
+
items: {
|
|
9790
|
+
properties: {
|
|
9791
|
+
access_schedule: {
|
|
9792
|
+
properties: {
|
|
9793
|
+
ends_at: { format: "date-time", type: "string" },
|
|
9794
|
+
starts_at: {
|
|
9795
|
+
format: "date-time",
|
|
9796
|
+
type: "string"
|
|
9797
|
+
}
|
|
9798
|
+
},
|
|
9799
|
+
required: ["starts_at", "ends_at"],
|
|
9800
|
+
type: "object"
|
|
9801
|
+
},
|
|
9802
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
9803
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
9804
|
+
created_at: { format: "date-time", type: "string" },
|
|
9805
|
+
display_name: { type: "string" },
|
|
9806
|
+
email: {
|
|
9807
|
+
deprecated: true,
|
|
9808
|
+
format: "email",
|
|
9809
|
+
type: "string",
|
|
9810
|
+
"x-deprecated": "use email_address."
|
|
9811
|
+
},
|
|
9812
|
+
email_address: { format: "email", type: "string" },
|
|
9813
|
+
external_type: {
|
|
9814
|
+
enum: [
|
|
9815
|
+
"pti_user",
|
|
9816
|
+
"brivo_user",
|
|
9817
|
+
"hid_credential_manager_user",
|
|
9818
|
+
"salto_site_user",
|
|
9819
|
+
"latch_user"
|
|
9820
|
+
],
|
|
9821
|
+
type: "string"
|
|
9822
|
+
},
|
|
9823
|
+
external_type_display_name: { type: "string" },
|
|
9824
|
+
full_name: { type: "string" },
|
|
9825
|
+
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
9826
|
+
is_latest_desired_state_synced_with_provider: {
|
|
9827
|
+
type: "boolean"
|
|
9828
|
+
},
|
|
9829
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
9830
|
+
is_suspended: { type: "boolean" },
|
|
9831
|
+
latest_desired_state_synced_with_provider_at: {
|
|
9832
|
+
format: "date-time",
|
|
9833
|
+
type: "string"
|
|
9834
|
+
},
|
|
9835
|
+
phone_number: { type: "string" },
|
|
9836
|
+
user_identity_email_address: {
|
|
9837
|
+
nullable: true,
|
|
9838
|
+
type: "string"
|
|
9839
|
+
},
|
|
9840
|
+
user_identity_full_name: {
|
|
9841
|
+
nullable: true,
|
|
9842
|
+
type: "string"
|
|
9843
|
+
},
|
|
9844
|
+
user_identity_id: { type: "string" },
|
|
9845
|
+
user_identity_phone_number: {
|
|
9846
|
+
nullable: true,
|
|
9847
|
+
type: "string"
|
|
9848
|
+
},
|
|
9849
|
+
warnings: {
|
|
9850
|
+
items: {
|
|
9851
|
+
properties: {
|
|
9852
|
+
created_at: {
|
|
9853
|
+
format: "date-time",
|
|
9854
|
+
type: "string"
|
|
9855
|
+
},
|
|
9856
|
+
message: { type: "string" },
|
|
9857
|
+
warning_code: {
|
|
9858
|
+
enum: ["being_deleted"],
|
|
9859
|
+
type: "string"
|
|
9860
|
+
}
|
|
9861
|
+
},
|
|
9862
|
+
required: [
|
|
9863
|
+
"created_at",
|
|
9864
|
+
"message",
|
|
9865
|
+
"warning_code"
|
|
9866
|
+
],
|
|
9867
|
+
type: "object"
|
|
9868
|
+
},
|
|
9869
|
+
type: "array"
|
|
9870
|
+
},
|
|
9871
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
9872
|
+
},
|
|
9873
|
+
required: [
|
|
9874
|
+
"acs_user_id",
|
|
9875
|
+
"acs_system_id",
|
|
9876
|
+
"workspace_id",
|
|
9877
|
+
"created_at",
|
|
9878
|
+
"display_name",
|
|
9879
|
+
"is_suspended",
|
|
9880
|
+
"warnings",
|
|
9881
|
+
"is_managed"
|
|
9882
|
+
],
|
|
9883
|
+
type: "object"
|
|
9884
|
+
},
|
|
9217
9885
|
type: "array"
|
|
9218
9886
|
},
|
|
9219
9887
|
ok: { type: "boolean" }
|
|
@@ -9229,7 +9897,6 @@ var openapi_default = {
|
|
|
9229
9897
|
401: { description: "Unauthorized" }
|
|
9230
9898
|
},
|
|
9231
9899
|
security: [
|
|
9232
|
-
{ client_session: [] },
|
|
9233
9900
|
{ pat_with_workspace: [] },
|
|
9234
9901
|
{ console_session: [] },
|
|
9235
9902
|
{ api_key: [] }
|