@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
|
@@ -200,6 +200,7 @@ export default {
|
|
|
200
200
|
type: 'string',
|
|
201
201
|
},
|
|
202
202
|
external_type_display_name: { type: 'string' },
|
|
203
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
203
204
|
name: { type: 'string' },
|
|
204
205
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
205
206
|
},
|
|
@@ -214,6 +215,7 @@ export default {
|
|
|
214
215
|
'external_type',
|
|
215
216
|
'external_type_display_name',
|
|
216
217
|
'created_at',
|
|
218
|
+
'is_managed',
|
|
217
219
|
],
|
|
218
220
|
type: 'object',
|
|
219
221
|
},
|
|
@@ -254,6 +256,7 @@ export default {
|
|
|
254
256
|
},
|
|
255
257
|
external_type_display_name: { type: 'string' },
|
|
256
258
|
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
259
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
257
260
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
258
261
|
latest_desired_state_synced_with_provider_at: {
|
|
259
262
|
format: 'date-time',
|
|
@@ -264,14 +267,17 @@ export default {
|
|
|
264
267
|
visionline_metadata: {
|
|
265
268
|
properties: {
|
|
266
269
|
card_function_type: { enum: ['guest', 'staff'], type: 'string' },
|
|
270
|
+
card_id: { type: 'string' },
|
|
267
271
|
common_acs_entrance_ids: {
|
|
268
272
|
items: { format: 'uuid', type: 'string' },
|
|
269
273
|
type: 'array',
|
|
270
274
|
},
|
|
275
|
+
credential_id: { type: 'string' },
|
|
271
276
|
guest_acs_entrance_ids: {
|
|
272
277
|
items: { format: 'uuid', type: 'string' },
|
|
273
278
|
type: 'array',
|
|
274
279
|
},
|
|
280
|
+
is_valid: { type: 'boolean' },
|
|
275
281
|
joiner_acs_credential_ids: {
|
|
276
282
|
items: { format: 'uuid', type: 'string' },
|
|
277
283
|
type: 'array',
|
|
@@ -302,6 +308,7 @@ export default {
|
|
|
302
308
|
'workspace_id',
|
|
303
309
|
'errors',
|
|
304
310
|
'warnings',
|
|
311
|
+
'is_managed',
|
|
305
312
|
],
|
|
306
313
|
type: 'object',
|
|
307
314
|
},
|
|
@@ -662,6 +669,7 @@ export default {
|
|
|
662
669
|
full_name: { type: 'string' },
|
|
663
670
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
664
671
|
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
672
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
665
673
|
is_suspended: { type: 'boolean' },
|
|
666
674
|
latest_desired_state_synced_with_provider_at: {
|
|
667
675
|
format: 'date-time',
|
|
@@ -694,6 +702,7 @@ export default {
|
|
|
694
702
|
'display_name',
|
|
695
703
|
'is_suspended',
|
|
696
704
|
'warnings',
|
|
705
|
+
'is_managed',
|
|
697
706
|
],
|
|
698
707
|
type: 'object',
|
|
699
708
|
},
|
|
@@ -5370,6 +5379,206 @@ export default {
|
|
|
5370
5379
|
'x-fern-sdk-method-name': 'remove_user',
|
|
5371
5380
|
},
|
|
5372
5381
|
},
|
|
5382
|
+
'/acs/access_groups/unmanaged/get': {
|
|
5383
|
+
post: {
|
|
5384
|
+
operationId: 'acsAccessGroupsUnmanagedGetPost',
|
|
5385
|
+
requestBody: {
|
|
5386
|
+
content: {
|
|
5387
|
+
'application/json': {
|
|
5388
|
+
schema: {
|
|
5389
|
+
properties: {
|
|
5390
|
+
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
5391
|
+
},
|
|
5392
|
+
required: ['acs_access_group_id'],
|
|
5393
|
+
type: 'object',
|
|
5394
|
+
},
|
|
5395
|
+
},
|
|
5396
|
+
},
|
|
5397
|
+
},
|
|
5398
|
+
responses: {
|
|
5399
|
+
200: {
|
|
5400
|
+
content: {
|
|
5401
|
+
'application/json': {
|
|
5402
|
+
schema: {
|
|
5403
|
+
properties: {
|
|
5404
|
+
acs_access_group: {
|
|
5405
|
+
properties: {
|
|
5406
|
+
access_group_type: {
|
|
5407
|
+
deprecated: true,
|
|
5408
|
+
enum: [
|
|
5409
|
+
'pti_unit',
|
|
5410
|
+
'pti_access_level',
|
|
5411
|
+
'salto_access_group',
|
|
5412
|
+
'brivo_group',
|
|
5413
|
+
],
|
|
5414
|
+
type: 'string',
|
|
5415
|
+
'x-deprecated': 'use external_type',
|
|
5416
|
+
},
|
|
5417
|
+
access_group_type_display_name: {
|
|
5418
|
+
deprecated: true,
|
|
5419
|
+
type: 'string',
|
|
5420
|
+
'x-deprecated': 'use external_type_display_name',
|
|
5421
|
+
},
|
|
5422
|
+
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
5423
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5424
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
5425
|
+
display_name: { type: 'string' },
|
|
5426
|
+
external_type: {
|
|
5427
|
+
enum: [
|
|
5428
|
+
'pti_unit',
|
|
5429
|
+
'pti_access_level',
|
|
5430
|
+
'salto_access_group',
|
|
5431
|
+
'brivo_group',
|
|
5432
|
+
],
|
|
5433
|
+
type: 'string',
|
|
5434
|
+
},
|
|
5435
|
+
external_type_display_name: { type: 'string' },
|
|
5436
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
5437
|
+
name: { type: 'string' },
|
|
5438
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
5439
|
+
},
|
|
5440
|
+
required: [
|
|
5441
|
+
'acs_access_group_id',
|
|
5442
|
+
'acs_system_id',
|
|
5443
|
+
'workspace_id',
|
|
5444
|
+
'name',
|
|
5445
|
+
'access_group_type',
|
|
5446
|
+
'access_group_type_display_name',
|
|
5447
|
+
'display_name',
|
|
5448
|
+
'external_type',
|
|
5449
|
+
'external_type_display_name',
|
|
5450
|
+
'created_at',
|
|
5451
|
+
'is_managed',
|
|
5452
|
+
],
|
|
5453
|
+
type: 'object',
|
|
5454
|
+
},
|
|
5455
|
+
ok: { type: 'boolean' },
|
|
5456
|
+
},
|
|
5457
|
+
required: ['acs_access_group', 'ok'],
|
|
5458
|
+
type: 'object',
|
|
5459
|
+
},
|
|
5460
|
+
},
|
|
5461
|
+
},
|
|
5462
|
+
description: 'OK',
|
|
5463
|
+
},
|
|
5464
|
+
400: { description: 'Bad Request' },
|
|
5465
|
+
401: { description: 'Unauthorized' },
|
|
5466
|
+
},
|
|
5467
|
+
security: [
|
|
5468
|
+
{ pat_with_workspace: [] },
|
|
5469
|
+
{ console_session: [] },
|
|
5470
|
+
{ api_key: [] },
|
|
5471
|
+
],
|
|
5472
|
+
summary: '/acs/access_groups/unmanaged/get',
|
|
5473
|
+
tags: ['/acs'],
|
|
5474
|
+
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5475
|
+
'x-fern-sdk-method-name': 'get',
|
|
5476
|
+
'x-fern-sdk-return-value': 'acs_users',
|
|
5477
|
+
},
|
|
5478
|
+
},
|
|
5479
|
+
'/acs/access_groups/unmanaged/list': {
|
|
5480
|
+
post: {
|
|
5481
|
+
operationId: 'acsAccessGroupsUnmanagedListPost',
|
|
5482
|
+
requestBody: {
|
|
5483
|
+
content: {
|
|
5484
|
+
'application/json': {
|
|
5485
|
+
schema: {
|
|
5486
|
+
properties: {
|
|
5487
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5488
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
5489
|
+
},
|
|
5490
|
+
type: 'object',
|
|
5491
|
+
},
|
|
5492
|
+
},
|
|
5493
|
+
},
|
|
5494
|
+
},
|
|
5495
|
+
responses: {
|
|
5496
|
+
200: {
|
|
5497
|
+
content: {
|
|
5498
|
+
'application/json': {
|
|
5499
|
+
schema: {
|
|
5500
|
+
properties: {
|
|
5501
|
+
acs_access_groups: {
|
|
5502
|
+
items: {
|
|
5503
|
+
properties: {
|
|
5504
|
+
access_group_type: {
|
|
5505
|
+
deprecated: true,
|
|
5506
|
+
enum: [
|
|
5507
|
+
'pti_unit',
|
|
5508
|
+
'pti_access_level',
|
|
5509
|
+
'salto_access_group',
|
|
5510
|
+
'brivo_group',
|
|
5511
|
+
],
|
|
5512
|
+
type: 'string',
|
|
5513
|
+
'x-deprecated': 'use external_type',
|
|
5514
|
+
},
|
|
5515
|
+
access_group_type_display_name: {
|
|
5516
|
+
deprecated: true,
|
|
5517
|
+
type: 'string',
|
|
5518
|
+
'x-deprecated': 'use external_type_display_name',
|
|
5519
|
+
},
|
|
5520
|
+
acs_access_group_id: {
|
|
5521
|
+
format: 'uuid',
|
|
5522
|
+
type: 'string',
|
|
5523
|
+
},
|
|
5524
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5525
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
5526
|
+
display_name: { type: 'string' },
|
|
5527
|
+
external_type: {
|
|
5528
|
+
enum: [
|
|
5529
|
+
'pti_unit',
|
|
5530
|
+
'pti_access_level',
|
|
5531
|
+
'salto_access_group',
|
|
5532
|
+
'brivo_group',
|
|
5533
|
+
],
|
|
5534
|
+
type: 'string',
|
|
5535
|
+
},
|
|
5536
|
+
external_type_display_name: { type: 'string' },
|
|
5537
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
5538
|
+
name: { type: 'string' },
|
|
5539
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
5540
|
+
},
|
|
5541
|
+
required: [
|
|
5542
|
+
'acs_access_group_id',
|
|
5543
|
+
'acs_system_id',
|
|
5544
|
+
'workspace_id',
|
|
5545
|
+
'name',
|
|
5546
|
+
'access_group_type',
|
|
5547
|
+
'access_group_type_display_name',
|
|
5548
|
+
'display_name',
|
|
5549
|
+
'external_type',
|
|
5550
|
+
'external_type_display_name',
|
|
5551
|
+
'created_at',
|
|
5552
|
+
'is_managed',
|
|
5553
|
+
],
|
|
5554
|
+
type: 'object',
|
|
5555
|
+
},
|
|
5556
|
+
type: 'array',
|
|
5557
|
+
},
|
|
5558
|
+
ok: { type: 'boolean' },
|
|
5559
|
+
},
|
|
5560
|
+
required: ['acs_access_groups', 'ok'],
|
|
5561
|
+
type: 'object',
|
|
5562
|
+
},
|
|
5563
|
+
},
|
|
5564
|
+
},
|
|
5565
|
+
description: 'OK',
|
|
5566
|
+
},
|
|
5567
|
+
400: { description: 'Bad Request' },
|
|
5568
|
+
401: { description: 'Unauthorized' },
|
|
5569
|
+
},
|
|
5570
|
+
security: [
|
|
5571
|
+
{ pat_with_workspace: [] },
|
|
5572
|
+
{ console_session: [] },
|
|
5573
|
+
{ api_key: [] },
|
|
5574
|
+
],
|
|
5575
|
+
summary: '/acs/access_groups/unmanaged/list',
|
|
5576
|
+
tags: ['/acs'],
|
|
5577
|
+
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5578
|
+
'x-fern-sdk-method-name': 'list',
|
|
5579
|
+
'x-fern-sdk-return-value': 'acs_users',
|
|
5580
|
+
},
|
|
5581
|
+
},
|
|
5373
5582
|
'/acs/credential_pools/list': {
|
|
5374
5583
|
post: {
|
|
5375
5584
|
operationId: 'acsCredentialPoolsListPost',
|
|
@@ -6002,6 +6211,335 @@ export default {
|
|
|
6002
6211
|
'x-fern-sdk-method-name': 'unassign',
|
|
6003
6212
|
},
|
|
6004
6213
|
},
|
|
6214
|
+
'/acs/credentials/unmanaged/get': {
|
|
6215
|
+
post: {
|
|
6216
|
+
operationId: 'acsCredentialsUnmanagedGetPost',
|
|
6217
|
+
requestBody: {
|
|
6218
|
+
content: {
|
|
6219
|
+
'application/json': {
|
|
6220
|
+
schema: {
|
|
6221
|
+
properties: {
|
|
6222
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6223
|
+
},
|
|
6224
|
+
required: ['acs_credential_id'],
|
|
6225
|
+
type: 'object',
|
|
6226
|
+
},
|
|
6227
|
+
},
|
|
6228
|
+
},
|
|
6229
|
+
},
|
|
6230
|
+
responses: {
|
|
6231
|
+
200: {
|
|
6232
|
+
content: {
|
|
6233
|
+
'application/json': {
|
|
6234
|
+
schema: {
|
|
6235
|
+
properties: {
|
|
6236
|
+
acs_credential: {
|
|
6237
|
+
properties: {
|
|
6238
|
+
access_method: {
|
|
6239
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
6240
|
+
type: 'string',
|
|
6241
|
+
},
|
|
6242
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6243
|
+
acs_credential_pool_id: {
|
|
6244
|
+
format: 'uuid',
|
|
6245
|
+
type: 'string',
|
|
6246
|
+
},
|
|
6247
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6248
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6249
|
+
code: { nullable: true, type: 'string' },
|
|
6250
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6251
|
+
display_name: { minLength: 1, type: 'string' },
|
|
6252
|
+
ends_at: { type: 'string' },
|
|
6253
|
+
errors: {
|
|
6254
|
+
items: {
|
|
6255
|
+
properties: {
|
|
6256
|
+
error_code: { type: 'string' },
|
|
6257
|
+
message: { type: 'string' },
|
|
6258
|
+
},
|
|
6259
|
+
required: ['error_code', 'message'],
|
|
6260
|
+
type: 'object',
|
|
6261
|
+
},
|
|
6262
|
+
type: 'array',
|
|
6263
|
+
},
|
|
6264
|
+
external_type: {
|
|
6265
|
+
enum: [
|
|
6266
|
+
'pti_card',
|
|
6267
|
+
'brivo_credential',
|
|
6268
|
+
'hid_credential',
|
|
6269
|
+
'visionline_card',
|
|
6270
|
+
'salto_ks_credential',
|
|
6271
|
+
],
|
|
6272
|
+
type: 'string',
|
|
6273
|
+
},
|
|
6274
|
+
external_type_display_name: { type: 'string' },
|
|
6275
|
+
is_latest_desired_state_synced_with_provider: {
|
|
6276
|
+
type: 'boolean',
|
|
6277
|
+
},
|
|
6278
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
6279
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
6280
|
+
latest_desired_state_synced_with_provider_at: {
|
|
6281
|
+
format: 'date-time',
|
|
6282
|
+
type: 'string',
|
|
6283
|
+
},
|
|
6284
|
+
parent_acs_credential_id: {
|
|
6285
|
+
format: 'uuid',
|
|
6286
|
+
type: 'string',
|
|
6287
|
+
},
|
|
6288
|
+
starts_at: { type: 'string' },
|
|
6289
|
+
visionline_metadata: {
|
|
6290
|
+
properties: {
|
|
6291
|
+
card_function_type: {
|
|
6292
|
+
enum: ['guest', 'staff'],
|
|
6293
|
+
type: 'string',
|
|
6294
|
+
},
|
|
6295
|
+
card_id: { type: 'string' },
|
|
6296
|
+
common_acs_entrance_ids: {
|
|
6297
|
+
items: { format: 'uuid', type: 'string' },
|
|
6298
|
+
type: 'array',
|
|
6299
|
+
},
|
|
6300
|
+
credential_id: { type: 'string' },
|
|
6301
|
+
guest_acs_entrance_ids: {
|
|
6302
|
+
items: { format: 'uuid', type: 'string' },
|
|
6303
|
+
type: 'array',
|
|
6304
|
+
},
|
|
6305
|
+
is_valid: { type: 'boolean' },
|
|
6306
|
+
joiner_acs_credential_ids: {
|
|
6307
|
+
items: { format: 'uuid', type: 'string' },
|
|
6308
|
+
type: 'array',
|
|
6309
|
+
},
|
|
6310
|
+
},
|
|
6311
|
+
required: ['card_function_type'],
|
|
6312
|
+
type: 'object',
|
|
6313
|
+
},
|
|
6314
|
+
warnings: {
|
|
6315
|
+
items: {
|
|
6316
|
+
properties: {
|
|
6317
|
+
message: { type: 'string' },
|
|
6318
|
+
warning_code: { type: 'string' },
|
|
6319
|
+
},
|
|
6320
|
+
required: ['warning_code', 'message'],
|
|
6321
|
+
type: 'object',
|
|
6322
|
+
},
|
|
6323
|
+
type: 'array',
|
|
6324
|
+
},
|
|
6325
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
6326
|
+
},
|
|
6327
|
+
required: [
|
|
6328
|
+
'acs_credential_id',
|
|
6329
|
+
'acs_system_id',
|
|
6330
|
+
'display_name',
|
|
6331
|
+
'access_method',
|
|
6332
|
+
'created_at',
|
|
6333
|
+
'workspace_id',
|
|
6334
|
+
'errors',
|
|
6335
|
+
'warnings',
|
|
6336
|
+
'is_managed',
|
|
6337
|
+
],
|
|
6338
|
+
type: 'object',
|
|
6339
|
+
},
|
|
6340
|
+
ok: { type: 'boolean' },
|
|
6341
|
+
},
|
|
6342
|
+
required: ['acs_credential', 'ok'],
|
|
6343
|
+
type: 'object',
|
|
6344
|
+
},
|
|
6345
|
+
},
|
|
6346
|
+
},
|
|
6347
|
+
description: 'OK',
|
|
6348
|
+
},
|
|
6349
|
+
400: { description: 'Bad Request' },
|
|
6350
|
+
401: { description: 'Unauthorized' },
|
|
6351
|
+
},
|
|
6352
|
+
security: [
|
|
6353
|
+
{ pat_with_workspace: [] },
|
|
6354
|
+
{ console_session: [] },
|
|
6355
|
+
{ api_key: [] },
|
|
6356
|
+
],
|
|
6357
|
+
summary: '/acs/credentials/unmanaged/get',
|
|
6358
|
+
tags: ['/acs'],
|
|
6359
|
+
'x-fern-sdk-group-name': ['acs', 'credentials', 'unmanaged'],
|
|
6360
|
+
'x-fern-sdk-method-name': 'get',
|
|
6361
|
+
'x-fern-sdk-return-value': 'acs_credential',
|
|
6362
|
+
},
|
|
6363
|
+
},
|
|
6364
|
+
'/acs/credentials/unmanaged/list': {
|
|
6365
|
+
post: {
|
|
6366
|
+
operationId: 'acsCredentialsUnmanagedListPost',
|
|
6367
|
+
requestBody: {
|
|
6368
|
+
content: {
|
|
6369
|
+
'application/json': {
|
|
6370
|
+
schema: {
|
|
6371
|
+
oneOf: [
|
|
6372
|
+
{
|
|
6373
|
+
properties: {
|
|
6374
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6375
|
+
},
|
|
6376
|
+
required: ['acs_user_id'],
|
|
6377
|
+
type: 'object',
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
properties: {
|
|
6381
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6382
|
+
},
|
|
6383
|
+
required: ['acs_system_id'],
|
|
6384
|
+
type: 'object',
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
properties: {
|
|
6388
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6389
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6390
|
+
},
|
|
6391
|
+
required: ['acs_user_id', 'acs_system_id'],
|
|
6392
|
+
type: 'object',
|
|
6393
|
+
},
|
|
6394
|
+
{
|
|
6395
|
+
properties: {
|
|
6396
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
6397
|
+
},
|
|
6398
|
+
required: ['user_identity_id'],
|
|
6399
|
+
type: 'object',
|
|
6400
|
+
},
|
|
6401
|
+
],
|
|
6402
|
+
},
|
|
6403
|
+
},
|
|
6404
|
+
},
|
|
6405
|
+
},
|
|
6406
|
+
responses: {
|
|
6407
|
+
200: {
|
|
6408
|
+
content: {
|
|
6409
|
+
'application/json': {
|
|
6410
|
+
schema: {
|
|
6411
|
+
properties: {
|
|
6412
|
+
acs_credentials: {
|
|
6413
|
+
items: {
|
|
6414
|
+
properties: {
|
|
6415
|
+
access_method: {
|
|
6416
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
6417
|
+
type: 'string',
|
|
6418
|
+
},
|
|
6419
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6420
|
+
acs_credential_pool_id: {
|
|
6421
|
+
format: 'uuid',
|
|
6422
|
+
type: 'string',
|
|
6423
|
+
},
|
|
6424
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6425
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6426
|
+
code: { nullable: true, type: 'string' },
|
|
6427
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6428
|
+
display_name: { minLength: 1, type: 'string' },
|
|
6429
|
+
ends_at: { type: 'string' },
|
|
6430
|
+
errors: {
|
|
6431
|
+
items: {
|
|
6432
|
+
properties: {
|
|
6433
|
+
error_code: { type: 'string' },
|
|
6434
|
+
message: { type: 'string' },
|
|
6435
|
+
},
|
|
6436
|
+
required: ['error_code', 'message'],
|
|
6437
|
+
type: 'object',
|
|
6438
|
+
},
|
|
6439
|
+
type: 'array',
|
|
6440
|
+
},
|
|
6441
|
+
external_type: {
|
|
6442
|
+
enum: [
|
|
6443
|
+
'pti_card',
|
|
6444
|
+
'brivo_credential',
|
|
6445
|
+
'hid_credential',
|
|
6446
|
+
'visionline_card',
|
|
6447
|
+
'salto_ks_credential',
|
|
6448
|
+
],
|
|
6449
|
+
type: 'string',
|
|
6450
|
+
},
|
|
6451
|
+
external_type_display_name: { type: 'string' },
|
|
6452
|
+
is_latest_desired_state_synced_with_provider: {
|
|
6453
|
+
type: 'boolean',
|
|
6454
|
+
},
|
|
6455
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
6456
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
6457
|
+
latest_desired_state_synced_with_provider_at: {
|
|
6458
|
+
format: 'date-time',
|
|
6459
|
+
type: 'string',
|
|
6460
|
+
},
|
|
6461
|
+
parent_acs_credential_id: {
|
|
6462
|
+
format: 'uuid',
|
|
6463
|
+
type: 'string',
|
|
6464
|
+
},
|
|
6465
|
+
starts_at: { type: 'string' },
|
|
6466
|
+
visionline_metadata: {
|
|
6467
|
+
properties: {
|
|
6468
|
+
card_function_type: {
|
|
6469
|
+
enum: ['guest', 'staff'],
|
|
6470
|
+
type: 'string',
|
|
6471
|
+
},
|
|
6472
|
+
card_id: { type: 'string' },
|
|
6473
|
+
common_acs_entrance_ids: {
|
|
6474
|
+
items: { format: 'uuid', type: 'string' },
|
|
6475
|
+
type: 'array',
|
|
6476
|
+
},
|
|
6477
|
+
credential_id: { type: 'string' },
|
|
6478
|
+
guest_acs_entrance_ids: {
|
|
6479
|
+
items: { format: 'uuid', type: 'string' },
|
|
6480
|
+
type: 'array',
|
|
6481
|
+
},
|
|
6482
|
+
is_valid: { type: 'boolean' },
|
|
6483
|
+
joiner_acs_credential_ids: {
|
|
6484
|
+
items: { format: 'uuid', type: 'string' },
|
|
6485
|
+
type: 'array',
|
|
6486
|
+
},
|
|
6487
|
+
},
|
|
6488
|
+
required: ['card_function_type'],
|
|
6489
|
+
type: 'object',
|
|
6490
|
+
},
|
|
6491
|
+
warnings: {
|
|
6492
|
+
items: {
|
|
6493
|
+
properties: {
|
|
6494
|
+
message: { type: 'string' },
|
|
6495
|
+
warning_code: { type: 'string' },
|
|
6496
|
+
},
|
|
6497
|
+
required: ['warning_code', 'message'],
|
|
6498
|
+
type: 'object',
|
|
6499
|
+
},
|
|
6500
|
+
type: 'array',
|
|
6501
|
+
},
|
|
6502
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
6503
|
+
},
|
|
6504
|
+
required: [
|
|
6505
|
+
'acs_credential_id',
|
|
6506
|
+
'acs_system_id',
|
|
6507
|
+
'display_name',
|
|
6508
|
+
'access_method',
|
|
6509
|
+
'created_at',
|
|
6510
|
+
'workspace_id',
|
|
6511
|
+
'errors',
|
|
6512
|
+
'warnings',
|
|
6513
|
+
'is_managed',
|
|
6514
|
+
],
|
|
6515
|
+
type: 'object',
|
|
6516
|
+
},
|
|
6517
|
+
type: 'array',
|
|
6518
|
+
},
|
|
6519
|
+
ok: { type: 'boolean' },
|
|
6520
|
+
},
|
|
6521
|
+
required: ['acs_credentials', 'ok'],
|
|
6522
|
+
type: 'object',
|
|
6523
|
+
},
|
|
6524
|
+
},
|
|
6525
|
+
},
|
|
6526
|
+
description: 'OK',
|
|
6527
|
+
},
|
|
6528
|
+
400: { description: 'Bad Request' },
|
|
6529
|
+
401: { description: 'Unauthorized' },
|
|
6530
|
+
},
|
|
6531
|
+
security: [
|
|
6532
|
+
{ api_key: [] },
|
|
6533
|
+
{ pat_with_workspace: [] },
|
|
6534
|
+
{ console_session: [] },
|
|
6535
|
+
],
|
|
6536
|
+
summary: '/acs/credentials/unmanaged/list',
|
|
6537
|
+
tags: ['/acs'],
|
|
6538
|
+
'x-fern-sdk-group-name': ['acs', 'credentials', 'unmanaged'],
|
|
6539
|
+
'x-fern-sdk-method-name': 'list',
|
|
6540
|
+
'x-fern-sdk-return-value': 'acs_credentials',
|
|
6541
|
+
},
|
|
6542
|
+
},
|
|
6005
6543
|
'/acs/credentials/update': {
|
|
6006
6544
|
patch: {
|
|
6007
6545
|
operationId: 'acsCredentialsUpdatePatch',
|
|
@@ -6993,8 +7531,11 @@ export default {
|
|
|
6993
7531
|
schema: {
|
|
6994
7532
|
properties: {
|
|
6995
7533
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7534
|
+
limit: { default: 500, format: 'float', type: 'number' },
|
|
7535
|
+
user_identity_email_address: { type: 'string' },
|
|
7536
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
7537
|
+
user_identity_phone_number: { type: 'string' },
|
|
6996
7538
|
},
|
|
6997
|
-
required: ['acs_system_id'],
|
|
6998
7539
|
type: 'object',
|
|
6999
7540
|
},
|
|
7000
7541
|
},
|
|
@@ -7007,7 +7548,102 @@ export default {
|
|
|
7007
7548
|
schema: {
|
|
7008
7549
|
properties: {
|
|
7009
7550
|
acs_users: {
|
|
7010
|
-
items: {
|
|
7551
|
+
items: {
|
|
7552
|
+
properties: {
|
|
7553
|
+
access_schedule: {
|
|
7554
|
+
properties: {
|
|
7555
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
7556
|
+
starts_at: {
|
|
7557
|
+
format: 'date-time',
|
|
7558
|
+
type: 'string',
|
|
7559
|
+
},
|
|
7560
|
+
},
|
|
7561
|
+
required: ['starts_at', 'ends_at'],
|
|
7562
|
+
type: 'object',
|
|
7563
|
+
},
|
|
7564
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7565
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
7566
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7567
|
+
display_name: { type: 'string' },
|
|
7568
|
+
email: {
|
|
7569
|
+
deprecated: true,
|
|
7570
|
+
format: 'email',
|
|
7571
|
+
type: 'string',
|
|
7572
|
+
'x-deprecated': 'use email_address.',
|
|
7573
|
+
},
|
|
7574
|
+
email_address: { format: 'email', type: 'string' },
|
|
7575
|
+
external_type: {
|
|
7576
|
+
enum: [
|
|
7577
|
+
'pti_user',
|
|
7578
|
+
'brivo_user',
|
|
7579
|
+
'hid_credential_manager_user',
|
|
7580
|
+
'salto_site_user',
|
|
7581
|
+
'latch_user',
|
|
7582
|
+
],
|
|
7583
|
+
type: 'string',
|
|
7584
|
+
},
|
|
7585
|
+
external_type_display_name: { type: 'string' },
|
|
7586
|
+
full_name: { type: 'string' },
|
|
7587
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
7588
|
+
is_latest_desired_state_synced_with_provider: {
|
|
7589
|
+
type: 'boolean',
|
|
7590
|
+
},
|
|
7591
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
7592
|
+
is_suspended: { type: 'boolean' },
|
|
7593
|
+
latest_desired_state_synced_with_provider_at: {
|
|
7594
|
+
format: 'date-time',
|
|
7595
|
+
type: 'string',
|
|
7596
|
+
},
|
|
7597
|
+
phone_number: { type: 'string' },
|
|
7598
|
+
user_identity_email_address: {
|
|
7599
|
+
nullable: true,
|
|
7600
|
+
type: 'string',
|
|
7601
|
+
},
|
|
7602
|
+
user_identity_full_name: {
|
|
7603
|
+
nullable: true,
|
|
7604
|
+
type: 'string',
|
|
7605
|
+
},
|
|
7606
|
+
user_identity_id: { type: 'string' },
|
|
7607
|
+
user_identity_phone_number: {
|
|
7608
|
+
nullable: true,
|
|
7609
|
+
type: 'string',
|
|
7610
|
+
},
|
|
7611
|
+
warnings: {
|
|
7612
|
+
items: {
|
|
7613
|
+
properties: {
|
|
7614
|
+
created_at: {
|
|
7615
|
+
format: 'date-time',
|
|
7616
|
+
type: 'string',
|
|
7617
|
+
},
|
|
7618
|
+
message: { type: 'string' },
|
|
7619
|
+
warning_code: {
|
|
7620
|
+
enum: ['being_deleted'],
|
|
7621
|
+
type: 'string',
|
|
7622
|
+
},
|
|
7623
|
+
},
|
|
7624
|
+
required: [
|
|
7625
|
+
'created_at',
|
|
7626
|
+
'message',
|
|
7627
|
+
'warning_code',
|
|
7628
|
+
],
|
|
7629
|
+
type: 'object',
|
|
7630
|
+
},
|
|
7631
|
+
type: 'array',
|
|
7632
|
+
},
|
|
7633
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
7634
|
+
},
|
|
7635
|
+
required: [
|
|
7636
|
+
'acs_user_id',
|
|
7637
|
+
'acs_system_id',
|
|
7638
|
+
'workspace_id',
|
|
7639
|
+
'created_at',
|
|
7640
|
+
'display_name',
|
|
7641
|
+
'is_suspended',
|
|
7642
|
+
'warnings',
|
|
7643
|
+
'is_managed',
|
|
7644
|
+
],
|
|
7645
|
+
type: 'object',
|
|
7646
|
+
},
|
|
7011
7647
|
type: 'array',
|
|
7012
7648
|
},
|
|
7013
7649
|
ok: { type: 'boolean' },
|
|
@@ -7023,7 +7659,6 @@ export default {
|
|
|
7023
7659
|
401: { description: 'Unauthorized' },
|
|
7024
7660
|
},
|
|
7025
7661
|
security: [
|
|
7026
|
-
{ client_session: [] },
|
|
7027
7662
|
{ pat_with_workspace: [] },
|
|
7028
7663
|
{ console_session: [] },
|
|
7029
7664
|
{ api_key: [] },
|