@seamapi/types 1.232.0 → 1.234.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 +523 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1352 -231
- 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 +648 -10
- package/lib/seam/connect/openapi.js +492 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +223 -11
- 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-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 +492 -3
- package/src/lib/seam/connect/route-types.ts +277 -1
- package/src/lib/seam/connect/schemas.ts +2 -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,7 @@ __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_credential: () => unmanaged_acs_credential,
|
|
31
33
|
unmanaged_device: () => unmanaged_device,
|
|
32
34
|
user_identity: () => user_identity,
|
|
33
35
|
webhook: () => webhook,
|
|
@@ -1076,7 +1078,10 @@ var acs_credential_visionline_metadata = zod.z.object({
|
|
|
1076
1078
|
card_function_type: zod.z.enum(["guest", "staff"]),
|
|
1077
1079
|
joiner_acs_credential_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1078
1080
|
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()
|
|
1081
|
+
common_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1082
|
+
is_valid: zod.z.boolean().optional(),
|
|
1083
|
+
card_id: zod.z.string().optional(),
|
|
1084
|
+
credential_id: zod.z.string().optional()
|
|
1080
1085
|
});
|
|
1081
1086
|
|
|
1082
1087
|
// src/lib/seam/connect/models/acs/acs-credential.ts
|
|
@@ -1092,7 +1097,7 @@ var acs_credential_access_method_type = zod.z.enum([
|
|
|
1092
1097
|
"card",
|
|
1093
1098
|
"mobile_key"
|
|
1094
1099
|
]);
|
|
1095
|
-
var
|
|
1100
|
+
var common_acs_credential = zod.z.object({
|
|
1096
1101
|
acs_credential_id: zod.z.string().uuid(),
|
|
1097
1102
|
acs_user_id: zod.z.string().uuid().optional(),
|
|
1098
1103
|
acs_credential_pool_id: zod.z.string().uuid().optional(),
|
|
@@ -1124,6 +1129,16 @@ var acs_credential = zod.z.object({
|
|
|
1124
1129
|
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional(),
|
|
1125
1130
|
visionline_metadata: acs_credential_visionline_metadata.optional()
|
|
1126
1131
|
});
|
|
1132
|
+
var acs_credential = common_acs_credential.merge(
|
|
1133
|
+
zod.z.object({
|
|
1134
|
+
is_managed: zod.z.literal(true)
|
|
1135
|
+
})
|
|
1136
|
+
);
|
|
1137
|
+
var unmanaged_acs_credential = common_acs_credential.merge(
|
|
1138
|
+
zod.z.object({
|
|
1139
|
+
is_managed: zod.z.literal(false)
|
|
1140
|
+
})
|
|
1141
|
+
);
|
|
1127
1142
|
var acs_entrance = zod.z.object({
|
|
1128
1143
|
acs_system_id: zod.z.string().uuid(),
|
|
1129
1144
|
acs_entrance_id: zod.z.string().uuid(),
|
|
@@ -1297,7 +1312,7 @@ var user_fields = zod.z.object({
|
|
|
1297
1312
|
email_address: zod.z.string().email().optional(),
|
|
1298
1313
|
phone_number: phone_number.optional()
|
|
1299
1314
|
});
|
|
1300
|
-
var
|
|
1315
|
+
var common_acs_user = zod.z.object({
|
|
1301
1316
|
acs_user_id: zod.z.string().uuid(),
|
|
1302
1317
|
acs_system_id: zod.z.string().uuid(),
|
|
1303
1318
|
hid_acs_system_id: zod.z.string().uuid().optional(),
|
|
@@ -1316,6 +1331,16 @@ var acs_user = zod.z.object({
|
|
|
1316
1331
|
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional(),
|
|
1317
1332
|
warnings: zod.z.array(acs_users_warning)
|
|
1318
1333
|
}).merge(user_fields);
|
|
1334
|
+
var acs_user = common_acs_user.merge(
|
|
1335
|
+
zod.z.object({
|
|
1336
|
+
is_managed: zod.z.literal(true)
|
|
1337
|
+
})
|
|
1338
|
+
);
|
|
1339
|
+
var acs_unmanaged_user = common_acs_user.merge(
|
|
1340
|
+
zod.z.object({
|
|
1341
|
+
is_managed: zod.z.literal(false)
|
|
1342
|
+
})
|
|
1343
|
+
);
|
|
1319
1344
|
var common_action_attempt = zod.z.object({
|
|
1320
1345
|
action_attempt_id: zod.z.string().uuid().describe(`
|
|
1321
1346
|
---
|
|
@@ -2460,6 +2485,7 @@ var openapi_default = {
|
|
|
2460
2485
|
},
|
|
2461
2486
|
external_type_display_name: { type: "string" },
|
|
2462
2487
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2488
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
2463
2489
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
2464
2490
|
latest_desired_state_synced_with_provider_at: {
|
|
2465
2491
|
format: "date-time",
|
|
@@ -2470,14 +2496,17 @@ var openapi_default = {
|
|
|
2470
2496
|
visionline_metadata: {
|
|
2471
2497
|
properties: {
|
|
2472
2498
|
card_function_type: { enum: ["guest", "staff"], type: "string" },
|
|
2499
|
+
card_id: { type: "string" },
|
|
2473
2500
|
common_acs_entrance_ids: {
|
|
2474
2501
|
items: { format: "uuid", type: "string" },
|
|
2475
2502
|
type: "array"
|
|
2476
2503
|
},
|
|
2504
|
+
credential_id: { type: "string" },
|
|
2477
2505
|
guest_acs_entrance_ids: {
|
|
2478
2506
|
items: { format: "uuid", type: "string" },
|
|
2479
2507
|
type: "array"
|
|
2480
2508
|
},
|
|
2509
|
+
is_valid: { type: "boolean" },
|
|
2481
2510
|
joiner_acs_credential_ids: {
|
|
2482
2511
|
items: { format: "uuid", type: "string" },
|
|
2483
2512
|
type: "array"
|
|
@@ -2507,7 +2536,8 @@ var openapi_default = {
|
|
|
2507
2536
|
"created_at",
|
|
2508
2537
|
"workspace_id",
|
|
2509
2538
|
"errors",
|
|
2510
|
-
"warnings"
|
|
2539
|
+
"warnings",
|
|
2540
|
+
"is_managed"
|
|
2511
2541
|
],
|
|
2512
2542
|
type: "object"
|
|
2513
2543
|
},
|
|
@@ -2868,6 +2898,7 @@ var openapi_default = {
|
|
|
2868
2898
|
full_name: { type: "string" },
|
|
2869
2899
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
2870
2900
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2901
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
2871
2902
|
is_suspended: { type: "boolean" },
|
|
2872
2903
|
latest_desired_state_synced_with_provider_at: {
|
|
2873
2904
|
format: "date-time",
|
|
@@ -2899,7 +2930,8 @@ var openapi_default = {
|
|
|
2899
2930
|
"created_at",
|
|
2900
2931
|
"display_name",
|
|
2901
2932
|
"is_suspended",
|
|
2902
|
-
"warnings"
|
|
2933
|
+
"warnings",
|
|
2934
|
+
"is_managed"
|
|
2903
2935
|
],
|
|
2904
2936
|
type: "object"
|
|
2905
2937
|
},
|
|
@@ -4195,6 +4227,9 @@ var openapi_default = {
|
|
|
4195
4227
|
},
|
|
4196
4228
|
device: {
|
|
4197
4229
|
properties: {
|
|
4230
|
+
can_hvac_cool: { type: "boolean" },
|
|
4231
|
+
can_hvac_heat: { type: "boolean" },
|
|
4232
|
+
can_hvac_heat_cool: { type: "boolean" },
|
|
4198
4233
|
can_program_offline_access_codes: { type: "boolean" },
|
|
4199
4234
|
can_program_online_access_codes: { type: "boolean" },
|
|
4200
4235
|
can_remotely_lock: { type: "boolean" },
|
|
@@ -4202,6 +4237,7 @@ var openapi_default = {
|
|
|
4202
4237
|
can_simulate_connection: { type: "boolean" },
|
|
4203
4238
|
can_simulate_disconnection: { type: "boolean" },
|
|
4204
4239
|
can_simulate_removal: { type: "boolean" },
|
|
4240
|
+
can_turn_off_hvac: { type: "boolean" },
|
|
4205
4241
|
capabilities_supported: {
|
|
4206
4242
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
4207
4243
|
items: {
|
|
@@ -5281,6 +5317,9 @@ var openapi_default = {
|
|
|
5281
5317
|
},
|
|
5282
5318
|
device_provider: {
|
|
5283
5319
|
properties: {
|
|
5320
|
+
can_hvac_cool: { type: "boolean" },
|
|
5321
|
+
can_hvac_heat: { type: "boolean" },
|
|
5322
|
+
can_hvac_heat_cool: { type: "boolean" },
|
|
5284
5323
|
can_program_offline_access_codes: { type: "boolean" },
|
|
5285
5324
|
can_program_online_access_codes: { type: "boolean" },
|
|
5286
5325
|
can_remotely_lock: { type: "boolean" },
|
|
@@ -5288,6 +5327,7 @@ var openapi_default = {
|
|
|
5288
5327
|
can_simulate_connection: { type: "boolean" },
|
|
5289
5328
|
can_simulate_disconnection: { type: "boolean" },
|
|
5290
5329
|
can_simulate_removal: { type: "boolean" },
|
|
5330
|
+
can_turn_off_hvac: { type: "boolean" },
|
|
5291
5331
|
device_provider_name: {
|
|
5292
5332
|
enum: [
|
|
5293
5333
|
"akuvox",
|
|
@@ -5429,6 +5469,9 @@ var openapi_default = {
|
|
|
5429
5469
|
},
|
|
5430
5470
|
phone: {
|
|
5431
5471
|
properties: {
|
|
5472
|
+
can_hvac_cool: { type: "boolean" },
|
|
5473
|
+
can_hvac_heat: { type: "boolean" },
|
|
5474
|
+
can_hvac_heat_cool: { type: "boolean" },
|
|
5432
5475
|
can_program_offline_access_codes: { type: "boolean" },
|
|
5433
5476
|
can_program_online_access_codes: { type: "boolean" },
|
|
5434
5477
|
can_remotely_lock: { type: "boolean" },
|
|
@@ -5436,6 +5479,7 @@ var openapi_default = {
|
|
|
5436
5479
|
can_simulate_connection: { type: "boolean" },
|
|
5437
5480
|
can_simulate_disconnection: { type: "boolean" },
|
|
5438
5481
|
can_simulate_removal: { type: "boolean" },
|
|
5482
|
+
can_turn_off_hvac: { type: "boolean" },
|
|
5439
5483
|
capabilities_supported: {
|
|
5440
5484
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
5441
5485
|
items: {
|
|
@@ -5712,6 +5756,9 @@ var openapi_default = {
|
|
|
5712
5756
|
},
|
|
5713
5757
|
unmanaged_device: {
|
|
5714
5758
|
properties: {
|
|
5759
|
+
can_hvac_cool: { type: "boolean" },
|
|
5760
|
+
can_hvac_heat: { type: "boolean" },
|
|
5761
|
+
can_hvac_heat_cool: { type: "boolean" },
|
|
5715
5762
|
can_program_offline_access_codes: { type: "boolean" },
|
|
5716
5763
|
can_program_online_access_codes: { type: "boolean" },
|
|
5717
5764
|
can_remotely_lock: { type: "boolean" },
|
|
@@ -5719,6 +5766,7 @@ var openapi_default = {
|
|
|
5719
5766
|
can_simulate_connection: { type: "boolean" },
|
|
5720
5767
|
can_simulate_disconnection: { type: "boolean" },
|
|
5721
5768
|
can_simulate_removal: { type: "boolean" },
|
|
5769
|
+
can_turn_off_hvac: { type: "boolean" },
|
|
5722
5770
|
capabilities_supported: {
|
|
5723
5771
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
5724
5772
|
items: {
|
|
@@ -8192,6 +8240,335 @@ var openapi_default = {
|
|
|
8192
8240
|
"x-fern-sdk-method-name": "unassign"
|
|
8193
8241
|
}
|
|
8194
8242
|
},
|
|
8243
|
+
"/acs/credentials/unmanaged/get": {
|
|
8244
|
+
post: {
|
|
8245
|
+
operationId: "acsCredentialsUnmanagedGetPost",
|
|
8246
|
+
requestBody: {
|
|
8247
|
+
content: {
|
|
8248
|
+
"application/json": {
|
|
8249
|
+
schema: {
|
|
8250
|
+
properties: {
|
|
8251
|
+
acs_credential_id: { format: "uuid", type: "string" }
|
|
8252
|
+
},
|
|
8253
|
+
required: ["acs_credential_id"],
|
|
8254
|
+
type: "object"
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8257
|
+
}
|
|
8258
|
+
},
|
|
8259
|
+
responses: {
|
|
8260
|
+
200: {
|
|
8261
|
+
content: {
|
|
8262
|
+
"application/json": {
|
|
8263
|
+
schema: {
|
|
8264
|
+
properties: {
|
|
8265
|
+
acs_credential: {
|
|
8266
|
+
properties: {
|
|
8267
|
+
access_method: {
|
|
8268
|
+
enum: ["code", "card", "mobile_key"],
|
|
8269
|
+
type: "string"
|
|
8270
|
+
},
|
|
8271
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
8272
|
+
acs_credential_pool_id: {
|
|
8273
|
+
format: "uuid",
|
|
8274
|
+
type: "string"
|
|
8275
|
+
},
|
|
8276
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8277
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
8278
|
+
code: { nullable: true, type: "string" },
|
|
8279
|
+
created_at: { format: "date-time", type: "string" },
|
|
8280
|
+
display_name: { minLength: 1, type: "string" },
|
|
8281
|
+
ends_at: { type: "string" },
|
|
8282
|
+
errors: {
|
|
8283
|
+
items: {
|
|
8284
|
+
properties: {
|
|
8285
|
+
error_code: { type: "string" },
|
|
8286
|
+
message: { type: "string" }
|
|
8287
|
+
},
|
|
8288
|
+
required: ["error_code", "message"],
|
|
8289
|
+
type: "object"
|
|
8290
|
+
},
|
|
8291
|
+
type: "array"
|
|
8292
|
+
},
|
|
8293
|
+
external_type: {
|
|
8294
|
+
enum: [
|
|
8295
|
+
"pti_card",
|
|
8296
|
+
"brivo_credential",
|
|
8297
|
+
"hid_credential",
|
|
8298
|
+
"visionline_card",
|
|
8299
|
+
"salto_ks_credential"
|
|
8300
|
+
],
|
|
8301
|
+
type: "string"
|
|
8302
|
+
},
|
|
8303
|
+
external_type_display_name: { type: "string" },
|
|
8304
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8305
|
+
type: "boolean"
|
|
8306
|
+
},
|
|
8307
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
8308
|
+
is_multi_phone_sync_credential: { type: "boolean" },
|
|
8309
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8310
|
+
format: "date-time",
|
|
8311
|
+
type: "string"
|
|
8312
|
+
},
|
|
8313
|
+
parent_acs_credential_id: {
|
|
8314
|
+
format: "uuid",
|
|
8315
|
+
type: "string"
|
|
8316
|
+
},
|
|
8317
|
+
starts_at: { type: "string" },
|
|
8318
|
+
visionline_metadata: {
|
|
8319
|
+
properties: {
|
|
8320
|
+
card_function_type: {
|
|
8321
|
+
enum: ["guest", "staff"],
|
|
8322
|
+
type: "string"
|
|
8323
|
+
},
|
|
8324
|
+
card_id: { type: "string" },
|
|
8325
|
+
common_acs_entrance_ids: {
|
|
8326
|
+
items: { format: "uuid", type: "string" },
|
|
8327
|
+
type: "array"
|
|
8328
|
+
},
|
|
8329
|
+
credential_id: { type: "string" },
|
|
8330
|
+
guest_acs_entrance_ids: {
|
|
8331
|
+
items: { format: "uuid", type: "string" },
|
|
8332
|
+
type: "array"
|
|
8333
|
+
},
|
|
8334
|
+
is_valid: { type: "boolean" },
|
|
8335
|
+
joiner_acs_credential_ids: {
|
|
8336
|
+
items: { format: "uuid", type: "string" },
|
|
8337
|
+
type: "array"
|
|
8338
|
+
}
|
|
8339
|
+
},
|
|
8340
|
+
required: ["card_function_type"],
|
|
8341
|
+
type: "object"
|
|
8342
|
+
},
|
|
8343
|
+
warnings: {
|
|
8344
|
+
items: {
|
|
8345
|
+
properties: {
|
|
8346
|
+
message: { type: "string" },
|
|
8347
|
+
warning_code: { type: "string" }
|
|
8348
|
+
},
|
|
8349
|
+
required: ["warning_code", "message"],
|
|
8350
|
+
type: "object"
|
|
8351
|
+
},
|
|
8352
|
+
type: "array"
|
|
8353
|
+
},
|
|
8354
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
8355
|
+
},
|
|
8356
|
+
required: [
|
|
8357
|
+
"acs_credential_id",
|
|
8358
|
+
"acs_system_id",
|
|
8359
|
+
"display_name",
|
|
8360
|
+
"access_method",
|
|
8361
|
+
"created_at",
|
|
8362
|
+
"workspace_id",
|
|
8363
|
+
"errors",
|
|
8364
|
+
"warnings",
|
|
8365
|
+
"is_managed"
|
|
8366
|
+
],
|
|
8367
|
+
type: "object"
|
|
8368
|
+
},
|
|
8369
|
+
ok: { type: "boolean" }
|
|
8370
|
+
},
|
|
8371
|
+
required: ["acs_credential", "ok"],
|
|
8372
|
+
type: "object"
|
|
8373
|
+
}
|
|
8374
|
+
}
|
|
8375
|
+
},
|
|
8376
|
+
description: "OK"
|
|
8377
|
+
},
|
|
8378
|
+
400: { description: "Bad Request" },
|
|
8379
|
+
401: { description: "Unauthorized" }
|
|
8380
|
+
},
|
|
8381
|
+
security: [
|
|
8382
|
+
{ pat_with_workspace: [] },
|
|
8383
|
+
{ console_session: [] },
|
|
8384
|
+
{ api_key: [] }
|
|
8385
|
+
],
|
|
8386
|
+
summary: "/acs/credentials/unmanaged/get",
|
|
8387
|
+
tags: ["/acs"],
|
|
8388
|
+
"x-fern-sdk-group-name": ["acs", "credentials", "unmanaged"],
|
|
8389
|
+
"x-fern-sdk-method-name": "get",
|
|
8390
|
+
"x-fern-sdk-return-value": "acs_credential"
|
|
8391
|
+
}
|
|
8392
|
+
},
|
|
8393
|
+
"/acs/credentials/unmanaged/list": {
|
|
8394
|
+
post: {
|
|
8395
|
+
operationId: "acsCredentialsUnmanagedListPost",
|
|
8396
|
+
requestBody: {
|
|
8397
|
+
content: {
|
|
8398
|
+
"application/json": {
|
|
8399
|
+
schema: {
|
|
8400
|
+
oneOf: [
|
|
8401
|
+
{
|
|
8402
|
+
properties: {
|
|
8403
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
8404
|
+
},
|
|
8405
|
+
required: ["acs_user_id"],
|
|
8406
|
+
type: "object"
|
|
8407
|
+
},
|
|
8408
|
+
{
|
|
8409
|
+
properties: {
|
|
8410
|
+
acs_system_id: { format: "uuid", type: "string" }
|
|
8411
|
+
},
|
|
8412
|
+
required: ["acs_system_id"],
|
|
8413
|
+
type: "object"
|
|
8414
|
+
},
|
|
8415
|
+
{
|
|
8416
|
+
properties: {
|
|
8417
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8418
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
8419
|
+
},
|
|
8420
|
+
required: ["acs_user_id", "acs_system_id"],
|
|
8421
|
+
type: "object"
|
|
8422
|
+
},
|
|
8423
|
+
{
|
|
8424
|
+
properties: {
|
|
8425
|
+
user_identity_id: { format: "uuid", type: "string" }
|
|
8426
|
+
},
|
|
8427
|
+
required: ["user_identity_id"],
|
|
8428
|
+
type: "object"
|
|
8429
|
+
}
|
|
8430
|
+
]
|
|
8431
|
+
}
|
|
8432
|
+
}
|
|
8433
|
+
}
|
|
8434
|
+
},
|
|
8435
|
+
responses: {
|
|
8436
|
+
200: {
|
|
8437
|
+
content: {
|
|
8438
|
+
"application/json": {
|
|
8439
|
+
schema: {
|
|
8440
|
+
properties: {
|
|
8441
|
+
acs_credentials: {
|
|
8442
|
+
items: {
|
|
8443
|
+
properties: {
|
|
8444
|
+
access_method: {
|
|
8445
|
+
enum: ["code", "card", "mobile_key"],
|
|
8446
|
+
type: "string"
|
|
8447
|
+
},
|
|
8448
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
8449
|
+
acs_credential_pool_id: {
|
|
8450
|
+
format: "uuid",
|
|
8451
|
+
type: "string"
|
|
8452
|
+
},
|
|
8453
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
8454
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
8455
|
+
code: { nullable: true, type: "string" },
|
|
8456
|
+
created_at: { format: "date-time", type: "string" },
|
|
8457
|
+
display_name: { minLength: 1, type: "string" },
|
|
8458
|
+
ends_at: { type: "string" },
|
|
8459
|
+
errors: {
|
|
8460
|
+
items: {
|
|
8461
|
+
properties: {
|
|
8462
|
+
error_code: { type: "string" },
|
|
8463
|
+
message: { type: "string" }
|
|
8464
|
+
},
|
|
8465
|
+
required: ["error_code", "message"],
|
|
8466
|
+
type: "object"
|
|
8467
|
+
},
|
|
8468
|
+
type: "array"
|
|
8469
|
+
},
|
|
8470
|
+
external_type: {
|
|
8471
|
+
enum: [
|
|
8472
|
+
"pti_card",
|
|
8473
|
+
"brivo_credential",
|
|
8474
|
+
"hid_credential",
|
|
8475
|
+
"visionline_card",
|
|
8476
|
+
"salto_ks_credential"
|
|
8477
|
+
],
|
|
8478
|
+
type: "string"
|
|
8479
|
+
},
|
|
8480
|
+
external_type_display_name: { type: "string" },
|
|
8481
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8482
|
+
type: "boolean"
|
|
8483
|
+
},
|
|
8484
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
8485
|
+
is_multi_phone_sync_credential: { type: "boolean" },
|
|
8486
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8487
|
+
format: "date-time",
|
|
8488
|
+
type: "string"
|
|
8489
|
+
},
|
|
8490
|
+
parent_acs_credential_id: {
|
|
8491
|
+
format: "uuid",
|
|
8492
|
+
type: "string"
|
|
8493
|
+
},
|
|
8494
|
+
starts_at: { type: "string" },
|
|
8495
|
+
visionline_metadata: {
|
|
8496
|
+
properties: {
|
|
8497
|
+
card_function_type: {
|
|
8498
|
+
enum: ["guest", "staff"],
|
|
8499
|
+
type: "string"
|
|
8500
|
+
},
|
|
8501
|
+
card_id: { type: "string" },
|
|
8502
|
+
common_acs_entrance_ids: {
|
|
8503
|
+
items: { format: "uuid", type: "string" },
|
|
8504
|
+
type: "array"
|
|
8505
|
+
},
|
|
8506
|
+
credential_id: { type: "string" },
|
|
8507
|
+
guest_acs_entrance_ids: {
|
|
8508
|
+
items: { format: "uuid", type: "string" },
|
|
8509
|
+
type: "array"
|
|
8510
|
+
},
|
|
8511
|
+
is_valid: { type: "boolean" },
|
|
8512
|
+
joiner_acs_credential_ids: {
|
|
8513
|
+
items: { format: "uuid", type: "string" },
|
|
8514
|
+
type: "array"
|
|
8515
|
+
}
|
|
8516
|
+
},
|
|
8517
|
+
required: ["card_function_type"],
|
|
8518
|
+
type: "object"
|
|
8519
|
+
},
|
|
8520
|
+
warnings: {
|
|
8521
|
+
items: {
|
|
8522
|
+
properties: {
|
|
8523
|
+
message: { type: "string" },
|
|
8524
|
+
warning_code: { type: "string" }
|
|
8525
|
+
},
|
|
8526
|
+
required: ["warning_code", "message"],
|
|
8527
|
+
type: "object"
|
|
8528
|
+
},
|
|
8529
|
+
type: "array"
|
|
8530
|
+
},
|
|
8531
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
8532
|
+
},
|
|
8533
|
+
required: [
|
|
8534
|
+
"acs_credential_id",
|
|
8535
|
+
"acs_system_id",
|
|
8536
|
+
"display_name",
|
|
8537
|
+
"access_method",
|
|
8538
|
+
"created_at",
|
|
8539
|
+
"workspace_id",
|
|
8540
|
+
"errors",
|
|
8541
|
+
"warnings",
|
|
8542
|
+
"is_managed"
|
|
8543
|
+
],
|
|
8544
|
+
type: "object"
|
|
8545
|
+
},
|
|
8546
|
+
type: "array"
|
|
8547
|
+
},
|
|
8548
|
+
ok: { type: "boolean" }
|
|
8549
|
+
},
|
|
8550
|
+
required: ["acs_credentials", "ok"],
|
|
8551
|
+
type: "object"
|
|
8552
|
+
}
|
|
8553
|
+
}
|
|
8554
|
+
},
|
|
8555
|
+
description: "OK"
|
|
8556
|
+
},
|
|
8557
|
+
400: { description: "Bad Request" },
|
|
8558
|
+
401: { description: "Unauthorized" }
|
|
8559
|
+
},
|
|
8560
|
+
security: [
|
|
8561
|
+
{ api_key: [] },
|
|
8562
|
+
{ pat_with_workspace: [] },
|
|
8563
|
+
{ console_session: [] }
|
|
8564
|
+
],
|
|
8565
|
+
summary: "/acs/credentials/unmanaged/list",
|
|
8566
|
+
tags: ["/acs"],
|
|
8567
|
+
"x-fern-sdk-group-name": ["acs", "credentials", "unmanaged"],
|
|
8568
|
+
"x-fern-sdk-method-name": "list",
|
|
8569
|
+
"x-fern-sdk-return-value": "acs_credentials"
|
|
8570
|
+
}
|
|
8571
|
+
},
|
|
8195
8572
|
"/acs/credentials/update": {
|
|
8196
8573
|
patch: {
|
|
8197
8574
|
operationId: "acsCredentialsUpdatePatch",
|
|
@@ -9182,9 +9559,12 @@ var openapi_default = {
|
|
|
9182
9559
|
"application/json": {
|
|
9183
9560
|
schema: {
|
|
9184
9561
|
properties: {
|
|
9185
|
-
acs_system_id: { format: "uuid", type: "string" }
|
|
9562
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
9563
|
+
limit: { default: 500, format: "float", type: "number" },
|
|
9564
|
+
user_identity_email_address: { type: "string" },
|
|
9565
|
+
user_identity_id: { format: "uuid", type: "string" },
|
|
9566
|
+
user_identity_phone_number: { type: "string" }
|
|
9186
9567
|
},
|
|
9187
|
-
required: ["acs_system_id"],
|
|
9188
9568
|
type: "object"
|
|
9189
9569
|
}
|
|
9190
9570
|
}
|
|
@@ -9197,7 +9577,102 @@ var openapi_default = {
|
|
|
9197
9577
|
schema: {
|
|
9198
9578
|
properties: {
|
|
9199
9579
|
acs_users: {
|
|
9200
|
-
items: {
|
|
9580
|
+
items: {
|
|
9581
|
+
properties: {
|
|
9582
|
+
access_schedule: {
|
|
9583
|
+
properties: {
|
|
9584
|
+
ends_at: { format: "date-time", type: "string" },
|
|
9585
|
+
starts_at: {
|
|
9586
|
+
format: "date-time",
|
|
9587
|
+
type: "string"
|
|
9588
|
+
}
|
|
9589
|
+
},
|
|
9590
|
+
required: ["starts_at", "ends_at"],
|
|
9591
|
+
type: "object"
|
|
9592
|
+
},
|
|
9593
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
9594
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
9595
|
+
created_at: { format: "date-time", type: "string" },
|
|
9596
|
+
display_name: { type: "string" },
|
|
9597
|
+
email: {
|
|
9598
|
+
deprecated: true,
|
|
9599
|
+
format: "email",
|
|
9600
|
+
type: "string",
|
|
9601
|
+
"x-deprecated": "use email_address."
|
|
9602
|
+
},
|
|
9603
|
+
email_address: { format: "email", type: "string" },
|
|
9604
|
+
external_type: {
|
|
9605
|
+
enum: [
|
|
9606
|
+
"pti_user",
|
|
9607
|
+
"brivo_user",
|
|
9608
|
+
"hid_credential_manager_user",
|
|
9609
|
+
"salto_site_user",
|
|
9610
|
+
"latch_user"
|
|
9611
|
+
],
|
|
9612
|
+
type: "string"
|
|
9613
|
+
},
|
|
9614
|
+
external_type_display_name: { type: "string" },
|
|
9615
|
+
full_name: { type: "string" },
|
|
9616
|
+
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
9617
|
+
is_latest_desired_state_synced_with_provider: {
|
|
9618
|
+
type: "boolean"
|
|
9619
|
+
},
|
|
9620
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
9621
|
+
is_suspended: { type: "boolean" },
|
|
9622
|
+
latest_desired_state_synced_with_provider_at: {
|
|
9623
|
+
format: "date-time",
|
|
9624
|
+
type: "string"
|
|
9625
|
+
},
|
|
9626
|
+
phone_number: { type: "string" },
|
|
9627
|
+
user_identity_email_address: {
|
|
9628
|
+
nullable: true,
|
|
9629
|
+
type: "string"
|
|
9630
|
+
},
|
|
9631
|
+
user_identity_full_name: {
|
|
9632
|
+
nullable: true,
|
|
9633
|
+
type: "string"
|
|
9634
|
+
},
|
|
9635
|
+
user_identity_id: { type: "string" },
|
|
9636
|
+
user_identity_phone_number: {
|
|
9637
|
+
nullable: true,
|
|
9638
|
+
type: "string"
|
|
9639
|
+
},
|
|
9640
|
+
warnings: {
|
|
9641
|
+
items: {
|
|
9642
|
+
properties: {
|
|
9643
|
+
created_at: {
|
|
9644
|
+
format: "date-time",
|
|
9645
|
+
type: "string"
|
|
9646
|
+
},
|
|
9647
|
+
message: { type: "string" },
|
|
9648
|
+
warning_code: {
|
|
9649
|
+
enum: ["being_deleted"],
|
|
9650
|
+
type: "string"
|
|
9651
|
+
}
|
|
9652
|
+
},
|
|
9653
|
+
required: [
|
|
9654
|
+
"created_at",
|
|
9655
|
+
"message",
|
|
9656
|
+
"warning_code"
|
|
9657
|
+
],
|
|
9658
|
+
type: "object"
|
|
9659
|
+
},
|
|
9660
|
+
type: "array"
|
|
9661
|
+
},
|
|
9662
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
9663
|
+
},
|
|
9664
|
+
required: [
|
|
9665
|
+
"acs_user_id",
|
|
9666
|
+
"acs_system_id",
|
|
9667
|
+
"workspace_id",
|
|
9668
|
+
"created_at",
|
|
9669
|
+
"display_name",
|
|
9670
|
+
"is_suspended",
|
|
9671
|
+
"warnings",
|
|
9672
|
+
"is_managed"
|
|
9673
|
+
],
|
|
9674
|
+
type: "object"
|
|
9675
|
+
},
|
|
9201
9676
|
type: "array"
|
|
9202
9677
|
},
|
|
9203
9678
|
ok: { type: "boolean" }
|
|
@@ -9213,7 +9688,6 @@ var openapi_default = {
|
|
|
9213
9688
|
401: { description: "Unauthorized" }
|
|
9214
9689
|
},
|
|
9215
9690
|
security: [
|
|
9216
|
-
{ client_session: [] },
|
|
9217
9691
|
{ pat_with_workspace: [] },
|
|
9218
9692
|
{ console_session: [] },
|
|
9219
9693
|
{ api_key: [] }
|
|
@@ -10743,6 +11217,10 @@ var openapi_default = {
|
|
|
10743
11217
|
"can_remotely_lock",
|
|
10744
11218
|
"can_program_offline_access_codes",
|
|
10745
11219
|
"can_program_online_access_codes",
|
|
11220
|
+
"can_hvac_heat",
|
|
11221
|
+
"can_hvac_cool",
|
|
11222
|
+
"can_hvac_heat_cool",
|
|
11223
|
+
"can_turn_off_hvac",
|
|
10746
11224
|
"can_simulate_removal",
|
|
10747
11225
|
"can_simulate_connection",
|
|
10748
11226
|
"can_simulate_disconnection"
|
|
@@ -10758,6 +11236,10 @@ var openapi_default = {
|
|
|
10758
11236
|
"can_remotely_lock",
|
|
10759
11237
|
"can_program_offline_access_codes",
|
|
10760
11238
|
"can_program_online_access_codes",
|
|
11239
|
+
"can_hvac_heat",
|
|
11240
|
+
"can_hvac_cool",
|
|
11241
|
+
"can_hvac_heat_cool",
|
|
11242
|
+
"can_turn_off_hvac",
|
|
10761
11243
|
"can_simulate_removal",
|
|
10762
11244
|
"can_simulate_connection",
|
|
10763
11245
|
"can_simulate_disconnection"
|
|
@@ -11216,6 +11698,10 @@ var openapi_default = {
|
|
|
11216
11698
|
"can_remotely_lock",
|
|
11217
11699
|
"can_program_offline_access_codes",
|
|
11218
11700
|
"can_program_online_access_codes",
|
|
11701
|
+
"can_hvac_heat",
|
|
11702
|
+
"can_hvac_cool",
|
|
11703
|
+
"can_hvac_heat_cool",
|
|
11704
|
+
"can_turn_off_hvac",
|
|
11219
11705
|
"can_simulate_removal",
|
|
11220
11706
|
"can_simulate_connection",
|
|
11221
11707
|
"can_simulate_disconnection"
|
|
@@ -11231,6 +11717,10 @@ var openapi_default = {
|
|
|
11231
11717
|
"can_remotely_lock",
|
|
11232
11718
|
"can_program_offline_access_codes",
|
|
11233
11719
|
"can_program_online_access_codes",
|
|
11720
|
+
"can_hvac_heat",
|
|
11721
|
+
"can_hvac_cool",
|
|
11722
|
+
"can_hvac_heat_cool",
|
|
11723
|
+
"can_turn_off_hvac",
|
|
11234
11724
|
"can_simulate_removal",
|
|
11235
11725
|
"can_simulate_connection",
|
|
11236
11726
|
"can_simulate_disconnection"
|
|
@@ -11967,6 +12457,10 @@ var openapi_default = {
|
|
|
11967
12457
|
"can_remotely_lock",
|
|
11968
12458
|
"can_program_offline_access_codes",
|
|
11969
12459
|
"can_program_online_access_codes",
|
|
12460
|
+
"can_hvac_heat",
|
|
12461
|
+
"can_hvac_cool",
|
|
12462
|
+
"can_hvac_heat_cool",
|
|
12463
|
+
"can_turn_off_hvac",
|
|
11970
12464
|
"can_simulate_removal",
|
|
11971
12465
|
"can_simulate_connection",
|
|
11972
12466
|
"can_simulate_disconnection"
|
|
@@ -11982,6 +12476,10 @@ var openapi_default = {
|
|
|
11982
12476
|
"can_remotely_lock",
|
|
11983
12477
|
"can_program_offline_access_codes",
|
|
11984
12478
|
"can_program_online_access_codes",
|
|
12479
|
+
"can_hvac_heat",
|
|
12480
|
+
"can_hvac_cool",
|
|
12481
|
+
"can_hvac_heat_cool",
|
|
12482
|
+
"can_turn_off_hvac",
|
|
11985
12483
|
"can_simulate_removal",
|
|
11986
12484
|
"can_simulate_connection",
|
|
11987
12485
|
"can_simulate_disconnection"
|
|
@@ -12403,6 +12901,10 @@ var openapi_default = {
|
|
|
12403
12901
|
"can_remotely_lock",
|
|
12404
12902
|
"can_program_offline_access_codes",
|
|
12405
12903
|
"can_program_online_access_codes",
|
|
12904
|
+
"can_hvac_heat",
|
|
12905
|
+
"can_hvac_cool",
|
|
12906
|
+
"can_hvac_heat_cool",
|
|
12907
|
+
"can_turn_off_hvac",
|
|
12406
12908
|
"can_simulate_removal",
|
|
12407
12909
|
"can_simulate_connection",
|
|
12408
12910
|
"can_simulate_disconnection"
|
|
@@ -12418,6 +12920,10 @@ var openapi_default = {
|
|
|
12418
12920
|
"can_remotely_lock",
|
|
12419
12921
|
"can_program_offline_access_codes",
|
|
12420
12922
|
"can_program_online_access_codes",
|
|
12923
|
+
"can_hvac_heat",
|
|
12924
|
+
"can_hvac_cool",
|
|
12925
|
+
"can_hvac_heat_cool",
|
|
12926
|
+
"can_turn_off_hvac",
|
|
12421
12927
|
"can_simulate_removal",
|
|
12422
12928
|
"can_simulate_connection",
|
|
12423
12929
|
"can_simulate_disconnection"
|
|
@@ -13987,6 +14493,10 @@ var openapi_default = {
|
|
|
13987
14493
|
"can_remotely_lock",
|
|
13988
14494
|
"can_program_offline_access_codes",
|
|
13989
14495
|
"can_program_online_access_codes",
|
|
14496
|
+
"can_hvac_heat",
|
|
14497
|
+
"can_hvac_cool",
|
|
14498
|
+
"can_hvac_heat_cool",
|
|
14499
|
+
"can_turn_off_hvac",
|
|
13990
14500
|
"can_simulate_removal",
|
|
13991
14501
|
"can_simulate_connection",
|
|
13992
14502
|
"can_simulate_disconnection"
|
|
@@ -14002,6 +14512,10 @@ var openapi_default = {
|
|
|
14002
14512
|
"can_remotely_lock",
|
|
14003
14513
|
"can_program_offline_access_codes",
|
|
14004
14514
|
"can_program_online_access_codes",
|
|
14515
|
+
"can_hvac_heat",
|
|
14516
|
+
"can_hvac_cool",
|
|
14517
|
+
"can_hvac_heat_cool",
|
|
14518
|
+
"can_turn_off_hvac",
|
|
14005
14519
|
"can_simulate_removal",
|
|
14006
14520
|
"can_simulate_connection",
|
|
14007
14521
|
"can_simulate_disconnection"
|