@seamapi/types 1.233.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 +467 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1166 -161
- 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 +600 -10
- package/lib/seam/connect/openapi.js +436 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +145 -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-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 +436 -3
- package/src/lib/seam/connect/route-types.ts +169 -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
|
},
|
|
@@ -8208,6 +8240,335 @@ var openapi_default = {
|
|
|
8208
8240
|
"x-fern-sdk-method-name": "unassign"
|
|
8209
8241
|
}
|
|
8210
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
|
+
},
|
|
8211
8572
|
"/acs/credentials/update": {
|
|
8212
8573
|
patch: {
|
|
8213
8574
|
operationId: "acsCredentialsUpdatePatch",
|
|
@@ -9198,9 +9559,12 @@ var openapi_default = {
|
|
|
9198
9559
|
"application/json": {
|
|
9199
9560
|
schema: {
|
|
9200
9561
|
properties: {
|
|
9201
|
-
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" }
|
|
9202
9567
|
},
|
|
9203
|
-
required: ["acs_system_id"],
|
|
9204
9568
|
type: "object"
|
|
9205
9569
|
}
|
|
9206
9570
|
}
|
|
@@ -9213,7 +9577,102 @@ var openapi_default = {
|
|
|
9213
9577
|
schema: {
|
|
9214
9578
|
properties: {
|
|
9215
9579
|
acs_users: {
|
|
9216
|
-
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
|
+
},
|
|
9217
9676
|
type: "array"
|
|
9218
9677
|
},
|
|
9219
9678
|
ok: { type: "boolean" }
|
|
@@ -9229,7 +9688,6 @@ var openapi_default = {
|
|
|
9229
9688
|
401: { description: "Unauthorized" }
|
|
9230
9689
|
},
|
|
9231
9690
|
security: [
|
|
9232
|
-
{ client_session: [] },
|
|
9233
9691
|
{ pat_with_workspace: [] },
|
|
9234
9692
|
{ console_session: [] },
|
|
9235
9693
|
{ api_key: [] }
|