@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
|
@@ -217,6 +217,7 @@ export default {
|
|
|
217
217
|
type: 'string',
|
|
218
218
|
},
|
|
219
219
|
external_type_display_name: { type: 'string' },
|
|
220
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
220
221
|
name: { type: 'string' },
|
|
221
222
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
222
223
|
},
|
|
@@ -231,6 +232,7 @@ export default {
|
|
|
231
232
|
'external_type',
|
|
232
233
|
'external_type_display_name',
|
|
233
234
|
'created_at',
|
|
235
|
+
'is_managed',
|
|
234
236
|
],
|
|
235
237
|
type: 'object',
|
|
236
238
|
},
|
|
@@ -271,6 +273,7 @@ export default {
|
|
|
271
273
|
},
|
|
272
274
|
external_type_display_name: { type: 'string' },
|
|
273
275
|
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
276
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
274
277
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
275
278
|
latest_desired_state_synced_with_provider_at: {
|
|
276
279
|
format: 'date-time',
|
|
@@ -281,14 +284,17 @@ export default {
|
|
|
281
284
|
visionline_metadata: {
|
|
282
285
|
properties: {
|
|
283
286
|
card_function_type: { enum: ['guest', 'staff'], type: 'string' },
|
|
287
|
+
card_id: { type: 'string' },
|
|
284
288
|
common_acs_entrance_ids: {
|
|
285
289
|
items: { format: 'uuid', type: 'string' },
|
|
286
290
|
type: 'array',
|
|
287
291
|
},
|
|
292
|
+
credential_id: { type: 'string' },
|
|
288
293
|
guest_acs_entrance_ids: {
|
|
289
294
|
items: { format: 'uuid', type: 'string' },
|
|
290
295
|
type: 'array',
|
|
291
296
|
},
|
|
297
|
+
is_valid: { type: 'boolean' },
|
|
292
298
|
joiner_acs_credential_ids: {
|
|
293
299
|
items: { format: 'uuid', type: 'string' },
|
|
294
300
|
type: 'array',
|
|
@@ -319,6 +325,7 @@ export default {
|
|
|
319
325
|
'workspace_id',
|
|
320
326
|
'errors',
|
|
321
327
|
'warnings',
|
|
328
|
+
'is_managed',
|
|
322
329
|
],
|
|
323
330
|
type: 'object',
|
|
324
331
|
},
|
|
@@ -702,6 +709,7 @@ export default {
|
|
|
702
709
|
full_name: { type: 'string' },
|
|
703
710
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
704
711
|
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
712
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
705
713
|
is_suspended: { type: 'boolean' },
|
|
706
714
|
latest_desired_state_synced_with_provider_at: {
|
|
707
715
|
format: 'date-time',
|
|
@@ -734,6 +742,7 @@ export default {
|
|
|
734
742
|
'display_name',
|
|
735
743
|
'is_suspended',
|
|
736
744
|
'warnings',
|
|
745
|
+
'is_managed',
|
|
737
746
|
],
|
|
738
747
|
type: 'object',
|
|
739
748
|
},
|
|
@@ -5472,6 +5481,206 @@ export default {
|
|
|
5472
5481
|
'x-fern-sdk-method-name': 'remove_user',
|
|
5473
5482
|
},
|
|
5474
5483
|
},
|
|
5484
|
+
'/acs/access_groups/unmanaged/get': {
|
|
5485
|
+
post: {
|
|
5486
|
+
operationId: 'acsAccessGroupsUnmanagedGetPost',
|
|
5487
|
+
requestBody: {
|
|
5488
|
+
content: {
|
|
5489
|
+
'application/json': {
|
|
5490
|
+
schema: {
|
|
5491
|
+
properties: {
|
|
5492
|
+
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
5493
|
+
},
|
|
5494
|
+
required: ['acs_access_group_id'],
|
|
5495
|
+
type: 'object',
|
|
5496
|
+
},
|
|
5497
|
+
},
|
|
5498
|
+
},
|
|
5499
|
+
},
|
|
5500
|
+
responses: {
|
|
5501
|
+
200: {
|
|
5502
|
+
content: {
|
|
5503
|
+
'application/json': {
|
|
5504
|
+
schema: {
|
|
5505
|
+
properties: {
|
|
5506
|
+
acs_access_group: {
|
|
5507
|
+
properties: {
|
|
5508
|
+
access_group_type: {
|
|
5509
|
+
deprecated: true,
|
|
5510
|
+
enum: [
|
|
5511
|
+
'pti_unit',
|
|
5512
|
+
'pti_access_level',
|
|
5513
|
+
'salto_access_group',
|
|
5514
|
+
'brivo_group',
|
|
5515
|
+
],
|
|
5516
|
+
type: 'string',
|
|
5517
|
+
'x-deprecated': 'use external_type',
|
|
5518
|
+
},
|
|
5519
|
+
access_group_type_display_name: {
|
|
5520
|
+
deprecated: true,
|
|
5521
|
+
type: 'string',
|
|
5522
|
+
'x-deprecated': 'use external_type_display_name',
|
|
5523
|
+
},
|
|
5524
|
+
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
5525
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5526
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
5527
|
+
display_name: { type: 'string' },
|
|
5528
|
+
external_type: {
|
|
5529
|
+
enum: [
|
|
5530
|
+
'pti_unit',
|
|
5531
|
+
'pti_access_level',
|
|
5532
|
+
'salto_access_group',
|
|
5533
|
+
'brivo_group',
|
|
5534
|
+
],
|
|
5535
|
+
type: 'string',
|
|
5536
|
+
},
|
|
5537
|
+
external_type_display_name: { type: 'string' },
|
|
5538
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
5539
|
+
name: { type: 'string' },
|
|
5540
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
5541
|
+
},
|
|
5542
|
+
required: [
|
|
5543
|
+
'acs_access_group_id',
|
|
5544
|
+
'acs_system_id',
|
|
5545
|
+
'workspace_id',
|
|
5546
|
+
'name',
|
|
5547
|
+
'access_group_type',
|
|
5548
|
+
'access_group_type_display_name',
|
|
5549
|
+
'display_name',
|
|
5550
|
+
'external_type',
|
|
5551
|
+
'external_type_display_name',
|
|
5552
|
+
'created_at',
|
|
5553
|
+
'is_managed',
|
|
5554
|
+
],
|
|
5555
|
+
type: 'object',
|
|
5556
|
+
},
|
|
5557
|
+
ok: { type: 'boolean' },
|
|
5558
|
+
},
|
|
5559
|
+
required: ['acs_access_group', 'ok'],
|
|
5560
|
+
type: 'object',
|
|
5561
|
+
},
|
|
5562
|
+
},
|
|
5563
|
+
},
|
|
5564
|
+
description: 'OK',
|
|
5565
|
+
},
|
|
5566
|
+
400: { description: 'Bad Request' },
|
|
5567
|
+
401: { description: 'Unauthorized' },
|
|
5568
|
+
},
|
|
5569
|
+
security: [
|
|
5570
|
+
{ pat_with_workspace: [] },
|
|
5571
|
+
{ console_session: [] },
|
|
5572
|
+
{ api_key: [] },
|
|
5573
|
+
],
|
|
5574
|
+
summary: '/acs/access_groups/unmanaged/get',
|
|
5575
|
+
tags: ['/acs'],
|
|
5576
|
+
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5577
|
+
'x-fern-sdk-method-name': 'get',
|
|
5578
|
+
'x-fern-sdk-return-value': 'acs_users',
|
|
5579
|
+
},
|
|
5580
|
+
},
|
|
5581
|
+
'/acs/access_groups/unmanaged/list': {
|
|
5582
|
+
post: {
|
|
5583
|
+
operationId: 'acsAccessGroupsUnmanagedListPost',
|
|
5584
|
+
requestBody: {
|
|
5585
|
+
content: {
|
|
5586
|
+
'application/json': {
|
|
5587
|
+
schema: {
|
|
5588
|
+
properties: {
|
|
5589
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5590
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
5591
|
+
},
|
|
5592
|
+
type: 'object',
|
|
5593
|
+
},
|
|
5594
|
+
},
|
|
5595
|
+
},
|
|
5596
|
+
},
|
|
5597
|
+
responses: {
|
|
5598
|
+
200: {
|
|
5599
|
+
content: {
|
|
5600
|
+
'application/json': {
|
|
5601
|
+
schema: {
|
|
5602
|
+
properties: {
|
|
5603
|
+
acs_access_groups: {
|
|
5604
|
+
items: {
|
|
5605
|
+
properties: {
|
|
5606
|
+
access_group_type: {
|
|
5607
|
+
deprecated: true,
|
|
5608
|
+
enum: [
|
|
5609
|
+
'pti_unit',
|
|
5610
|
+
'pti_access_level',
|
|
5611
|
+
'salto_access_group',
|
|
5612
|
+
'brivo_group',
|
|
5613
|
+
],
|
|
5614
|
+
type: 'string',
|
|
5615
|
+
'x-deprecated': 'use external_type',
|
|
5616
|
+
},
|
|
5617
|
+
access_group_type_display_name: {
|
|
5618
|
+
deprecated: true,
|
|
5619
|
+
type: 'string',
|
|
5620
|
+
'x-deprecated': 'use external_type_display_name',
|
|
5621
|
+
},
|
|
5622
|
+
acs_access_group_id: {
|
|
5623
|
+
format: 'uuid',
|
|
5624
|
+
type: 'string',
|
|
5625
|
+
},
|
|
5626
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
5627
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
5628
|
+
display_name: { type: 'string' },
|
|
5629
|
+
external_type: {
|
|
5630
|
+
enum: [
|
|
5631
|
+
'pti_unit',
|
|
5632
|
+
'pti_access_level',
|
|
5633
|
+
'salto_access_group',
|
|
5634
|
+
'brivo_group',
|
|
5635
|
+
],
|
|
5636
|
+
type: 'string',
|
|
5637
|
+
},
|
|
5638
|
+
external_type_display_name: { type: 'string' },
|
|
5639
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
5640
|
+
name: { type: 'string' },
|
|
5641
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
5642
|
+
},
|
|
5643
|
+
required: [
|
|
5644
|
+
'acs_access_group_id',
|
|
5645
|
+
'acs_system_id',
|
|
5646
|
+
'workspace_id',
|
|
5647
|
+
'name',
|
|
5648
|
+
'access_group_type',
|
|
5649
|
+
'access_group_type_display_name',
|
|
5650
|
+
'display_name',
|
|
5651
|
+
'external_type',
|
|
5652
|
+
'external_type_display_name',
|
|
5653
|
+
'created_at',
|
|
5654
|
+
'is_managed',
|
|
5655
|
+
],
|
|
5656
|
+
type: 'object',
|
|
5657
|
+
},
|
|
5658
|
+
type: 'array',
|
|
5659
|
+
},
|
|
5660
|
+
ok: { type: 'boolean' },
|
|
5661
|
+
},
|
|
5662
|
+
required: ['acs_access_groups', 'ok'],
|
|
5663
|
+
type: 'object',
|
|
5664
|
+
},
|
|
5665
|
+
},
|
|
5666
|
+
},
|
|
5667
|
+
description: 'OK',
|
|
5668
|
+
},
|
|
5669
|
+
400: { description: 'Bad Request' },
|
|
5670
|
+
401: { description: 'Unauthorized' },
|
|
5671
|
+
},
|
|
5672
|
+
security: [
|
|
5673
|
+
{ pat_with_workspace: [] },
|
|
5674
|
+
{ console_session: [] },
|
|
5675
|
+
{ api_key: [] },
|
|
5676
|
+
],
|
|
5677
|
+
summary: '/acs/access_groups/unmanaged/list',
|
|
5678
|
+
tags: ['/acs'],
|
|
5679
|
+
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5680
|
+
'x-fern-sdk-method-name': 'list',
|
|
5681
|
+
'x-fern-sdk-return-value': 'acs_users',
|
|
5682
|
+
},
|
|
5683
|
+
},
|
|
5475
5684
|
'/acs/credential_pools/list': {
|
|
5476
5685
|
post: {
|
|
5477
5686
|
operationId: 'acsCredentialPoolsListPost',
|
|
@@ -6104,6 +6313,335 @@ export default {
|
|
|
6104
6313
|
'x-fern-sdk-method-name': 'unassign',
|
|
6105
6314
|
},
|
|
6106
6315
|
},
|
|
6316
|
+
'/acs/credentials/unmanaged/get': {
|
|
6317
|
+
post: {
|
|
6318
|
+
operationId: 'acsCredentialsUnmanagedGetPost',
|
|
6319
|
+
requestBody: {
|
|
6320
|
+
content: {
|
|
6321
|
+
'application/json': {
|
|
6322
|
+
schema: {
|
|
6323
|
+
properties: {
|
|
6324
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6325
|
+
},
|
|
6326
|
+
required: ['acs_credential_id'],
|
|
6327
|
+
type: 'object',
|
|
6328
|
+
},
|
|
6329
|
+
},
|
|
6330
|
+
},
|
|
6331
|
+
},
|
|
6332
|
+
responses: {
|
|
6333
|
+
200: {
|
|
6334
|
+
content: {
|
|
6335
|
+
'application/json': {
|
|
6336
|
+
schema: {
|
|
6337
|
+
properties: {
|
|
6338
|
+
acs_credential: {
|
|
6339
|
+
properties: {
|
|
6340
|
+
access_method: {
|
|
6341
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
6342
|
+
type: 'string',
|
|
6343
|
+
},
|
|
6344
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6345
|
+
acs_credential_pool_id: {
|
|
6346
|
+
format: 'uuid',
|
|
6347
|
+
type: 'string',
|
|
6348
|
+
},
|
|
6349
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6350
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6351
|
+
code: { nullable: true, type: 'string' },
|
|
6352
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6353
|
+
display_name: { minLength: 1, type: 'string' },
|
|
6354
|
+
ends_at: { type: 'string' },
|
|
6355
|
+
errors: {
|
|
6356
|
+
items: {
|
|
6357
|
+
properties: {
|
|
6358
|
+
error_code: { type: 'string' },
|
|
6359
|
+
message: { type: 'string' },
|
|
6360
|
+
},
|
|
6361
|
+
required: ['error_code', 'message'],
|
|
6362
|
+
type: 'object',
|
|
6363
|
+
},
|
|
6364
|
+
type: 'array',
|
|
6365
|
+
},
|
|
6366
|
+
external_type: {
|
|
6367
|
+
enum: [
|
|
6368
|
+
'pti_card',
|
|
6369
|
+
'brivo_credential',
|
|
6370
|
+
'hid_credential',
|
|
6371
|
+
'visionline_card',
|
|
6372
|
+
'salto_ks_credential',
|
|
6373
|
+
],
|
|
6374
|
+
type: 'string',
|
|
6375
|
+
},
|
|
6376
|
+
external_type_display_name: { type: 'string' },
|
|
6377
|
+
is_latest_desired_state_synced_with_provider: {
|
|
6378
|
+
type: 'boolean',
|
|
6379
|
+
},
|
|
6380
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
6381
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
6382
|
+
latest_desired_state_synced_with_provider_at: {
|
|
6383
|
+
format: 'date-time',
|
|
6384
|
+
type: 'string',
|
|
6385
|
+
},
|
|
6386
|
+
parent_acs_credential_id: {
|
|
6387
|
+
format: 'uuid',
|
|
6388
|
+
type: 'string',
|
|
6389
|
+
},
|
|
6390
|
+
starts_at: { type: 'string' },
|
|
6391
|
+
visionline_metadata: {
|
|
6392
|
+
properties: {
|
|
6393
|
+
card_function_type: {
|
|
6394
|
+
enum: ['guest', 'staff'],
|
|
6395
|
+
type: 'string',
|
|
6396
|
+
},
|
|
6397
|
+
card_id: { type: 'string' },
|
|
6398
|
+
common_acs_entrance_ids: {
|
|
6399
|
+
items: { format: 'uuid', type: 'string' },
|
|
6400
|
+
type: 'array',
|
|
6401
|
+
},
|
|
6402
|
+
credential_id: { type: 'string' },
|
|
6403
|
+
guest_acs_entrance_ids: {
|
|
6404
|
+
items: { format: 'uuid', type: 'string' },
|
|
6405
|
+
type: 'array',
|
|
6406
|
+
},
|
|
6407
|
+
is_valid: { type: 'boolean' },
|
|
6408
|
+
joiner_acs_credential_ids: {
|
|
6409
|
+
items: { format: 'uuid', type: 'string' },
|
|
6410
|
+
type: 'array',
|
|
6411
|
+
},
|
|
6412
|
+
},
|
|
6413
|
+
required: ['card_function_type'],
|
|
6414
|
+
type: 'object',
|
|
6415
|
+
},
|
|
6416
|
+
warnings: {
|
|
6417
|
+
items: {
|
|
6418
|
+
properties: {
|
|
6419
|
+
message: { type: 'string' },
|
|
6420
|
+
warning_code: { type: 'string' },
|
|
6421
|
+
},
|
|
6422
|
+
required: ['warning_code', 'message'],
|
|
6423
|
+
type: 'object',
|
|
6424
|
+
},
|
|
6425
|
+
type: 'array',
|
|
6426
|
+
},
|
|
6427
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
6428
|
+
},
|
|
6429
|
+
required: [
|
|
6430
|
+
'acs_credential_id',
|
|
6431
|
+
'acs_system_id',
|
|
6432
|
+
'display_name',
|
|
6433
|
+
'access_method',
|
|
6434
|
+
'created_at',
|
|
6435
|
+
'workspace_id',
|
|
6436
|
+
'errors',
|
|
6437
|
+
'warnings',
|
|
6438
|
+
'is_managed',
|
|
6439
|
+
],
|
|
6440
|
+
type: 'object',
|
|
6441
|
+
},
|
|
6442
|
+
ok: { type: 'boolean' },
|
|
6443
|
+
},
|
|
6444
|
+
required: ['acs_credential', 'ok'],
|
|
6445
|
+
type: 'object',
|
|
6446
|
+
},
|
|
6447
|
+
},
|
|
6448
|
+
},
|
|
6449
|
+
description: 'OK',
|
|
6450
|
+
},
|
|
6451
|
+
400: { description: 'Bad Request' },
|
|
6452
|
+
401: { description: 'Unauthorized' },
|
|
6453
|
+
},
|
|
6454
|
+
security: [
|
|
6455
|
+
{ pat_with_workspace: [] },
|
|
6456
|
+
{ console_session: [] },
|
|
6457
|
+
{ api_key: [] },
|
|
6458
|
+
],
|
|
6459
|
+
summary: '/acs/credentials/unmanaged/get',
|
|
6460
|
+
tags: ['/acs'],
|
|
6461
|
+
'x-fern-sdk-group-name': ['acs', 'credentials', 'unmanaged'],
|
|
6462
|
+
'x-fern-sdk-method-name': 'get',
|
|
6463
|
+
'x-fern-sdk-return-value': 'acs_credential',
|
|
6464
|
+
},
|
|
6465
|
+
},
|
|
6466
|
+
'/acs/credentials/unmanaged/list': {
|
|
6467
|
+
post: {
|
|
6468
|
+
operationId: 'acsCredentialsUnmanagedListPost',
|
|
6469
|
+
requestBody: {
|
|
6470
|
+
content: {
|
|
6471
|
+
'application/json': {
|
|
6472
|
+
schema: {
|
|
6473
|
+
oneOf: [
|
|
6474
|
+
{
|
|
6475
|
+
properties: {
|
|
6476
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6477
|
+
},
|
|
6478
|
+
required: ['acs_user_id'],
|
|
6479
|
+
type: 'object',
|
|
6480
|
+
},
|
|
6481
|
+
{
|
|
6482
|
+
properties: {
|
|
6483
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6484
|
+
},
|
|
6485
|
+
required: ['acs_system_id'],
|
|
6486
|
+
type: 'object',
|
|
6487
|
+
},
|
|
6488
|
+
{
|
|
6489
|
+
properties: {
|
|
6490
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6491
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6492
|
+
},
|
|
6493
|
+
required: ['acs_user_id', 'acs_system_id'],
|
|
6494
|
+
type: 'object',
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
properties: {
|
|
6498
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
6499
|
+
},
|
|
6500
|
+
required: ['user_identity_id'],
|
|
6501
|
+
type: 'object',
|
|
6502
|
+
},
|
|
6503
|
+
],
|
|
6504
|
+
},
|
|
6505
|
+
},
|
|
6506
|
+
},
|
|
6507
|
+
},
|
|
6508
|
+
responses: {
|
|
6509
|
+
200: {
|
|
6510
|
+
content: {
|
|
6511
|
+
'application/json': {
|
|
6512
|
+
schema: {
|
|
6513
|
+
properties: {
|
|
6514
|
+
acs_credentials: {
|
|
6515
|
+
items: {
|
|
6516
|
+
properties: {
|
|
6517
|
+
access_method: {
|
|
6518
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
6519
|
+
type: 'string',
|
|
6520
|
+
},
|
|
6521
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
6522
|
+
acs_credential_pool_id: {
|
|
6523
|
+
format: 'uuid',
|
|
6524
|
+
type: 'string',
|
|
6525
|
+
},
|
|
6526
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6527
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
6528
|
+
code: { nullable: true, type: 'string' },
|
|
6529
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6530
|
+
display_name: { minLength: 1, type: 'string' },
|
|
6531
|
+
ends_at: { type: 'string' },
|
|
6532
|
+
errors: {
|
|
6533
|
+
items: {
|
|
6534
|
+
properties: {
|
|
6535
|
+
error_code: { type: 'string' },
|
|
6536
|
+
message: { type: 'string' },
|
|
6537
|
+
},
|
|
6538
|
+
required: ['error_code', 'message'],
|
|
6539
|
+
type: 'object',
|
|
6540
|
+
},
|
|
6541
|
+
type: 'array',
|
|
6542
|
+
},
|
|
6543
|
+
external_type: {
|
|
6544
|
+
enum: [
|
|
6545
|
+
'pti_card',
|
|
6546
|
+
'brivo_credential',
|
|
6547
|
+
'hid_credential',
|
|
6548
|
+
'visionline_card',
|
|
6549
|
+
'salto_ks_credential',
|
|
6550
|
+
],
|
|
6551
|
+
type: 'string',
|
|
6552
|
+
},
|
|
6553
|
+
external_type_display_name: { type: 'string' },
|
|
6554
|
+
is_latest_desired_state_synced_with_provider: {
|
|
6555
|
+
type: 'boolean',
|
|
6556
|
+
},
|
|
6557
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
6558
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
6559
|
+
latest_desired_state_synced_with_provider_at: {
|
|
6560
|
+
format: 'date-time',
|
|
6561
|
+
type: 'string',
|
|
6562
|
+
},
|
|
6563
|
+
parent_acs_credential_id: {
|
|
6564
|
+
format: 'uuid',
|
|
6565
|
+
type: 'string',
|
|
6566
|
+
},
|
|
6567
|
+
starts_at: { type: 'string' },
|
|
6568
|
+
visionline_metadata: {
|
|
6569
|
+
properties: {
|
|
6570
|
+
card_function_type: {
|
|
6571
|
+
enum: ['guest', 'staff'],
|
|
6572
|
+
type: 'string',
|
|
6573
|
+
},
|
|
6574
|
+
card_id: { type: 'string' },
|
|
6575
|
+
common_acs_entrance_ids: {
|
|
6576
|
+
items: { format: 'uuid', type: 'string' },
|
|
6577
|
+
type: 'array',
|
|
6578
|
+
},
|
|
6579
|
+
credential_id: { type: 'string' },
|
|
6580
|
+
guest_acs_entrance_ids: {
|
|
6581
|
+
items: { format: 'uuid', type: 'string' },
|
|
6582
|
+
type: 'array',
|
|
6583
|
+
},
|
|
6584
|
+
is_valid: { type: 'boolean' },
|
|
6585
|
+
joiner_acs_credential_ids: {
|
|
6586
|
+
items: { format: 'uuid', type: 'string' },
|
|
6587
|
+
type: 'array',
|
|
6588
|
+
},
|
|
6589
|
+
},
|
|
6590
|
+
required: ['card_function_type'],
|
|
6591
|
+
type: 'object',
|
|
6592
|
+
},
|
|
6593
|
+
warnings: {
|
|
6594
|
+
items: {
|
|
6595
|
+
properties: {
|
|
6596
|
+
message: { type: 'string' },
|
|
6597
|
+
warning_code: { type: 'string' },
|
|
6598
|
+
},
|
|
6599
|
+
required: ['warning_code', 'message'],
|
|
6600
|
+
type: 'object',
|
|
6601
|
+
},
|
|
6602
|
+
type: 'array',
|
|
6603
|
+
},
|
|
6604
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
6605
|
+
},
|
|
6606
|
+
required: [
|
|
6607
|
+
'acs_credential_id',
|
|
6608
|
+
'acs_system_id',
|
|
6609
|
+
'display_name',
|
|
6610
|
+
'access_method',
|
|
6611
|
+
'created_at',
|
|
6612
|
+
'workspace_id',
|
|
6613
|
+
'errors',
|
|
6614
|
+
'warnings',
|
|
6615
|
+
'is_managed',
|
|
6616
|
+
],
|
|
6617
|
+
type: 'object',
|
|
6618
|
+
},
|
|
6619
|
+
type: 'array',
|
|
6620
|
+
},
|
|
6621
|
+
ok: { type: 'boolean' },
|
|
6622
|
+
},
|
|
6623
|
+
required: ['acs_credentials', 'ok'],
|
|
6624
|
+
type: 'object',
|
|
6625
|
+
},
|
|
6626
|
+
},
|
|
6627
|
+
},
|
|
6628
|
+
description: 'OK',
|
|
6629
|
+
},
|
|
6630
|
+
400: { description: 'Bad Request' },
|
|
6631
|
+
401: { description: 'Unauthorized' },
|
|
6632
|
+
},
|
|
6633
|
+
security: [
|
|
6634
|
+
{ api_key: [] },
|
|
6635
|
+
{ pat_with_workspace: [] },
|
|
6636
|
+
{ console_session: [] },
|
|
6637
|
+
],
|
|
6638
|
+
summary: '/acs/credentials/unmanaged/list',
|
|
6639
|
+
tags: ['/acs'],
|
|
6640
|
+
'x-fern-sdk-group-name': ['acs', 'credentials', 'unmanaged'],
|
|
6641
|
+
'x-fern-sdk-method-name': 'list',
|
|
6642
|
+
'x-fern-sdk-return-value': 'acs_credentials',
|
|
6643
|
+
},
|
|
6644
|
+
},
|
|
6107
6645
|
'/acs/credentials/update': {
|
|
6108
6646
|
patch: {
|
|
6109
6647
|
operationId: 'acsCredentialsUpdatePatch',
|
|
@@ -7101,8 +7639,11 @@ export default {
|
|
|
7101
7639
|
schema: {
|
|
7102
7640
|
properties: {
|
|
7103
7641
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7642
|
+
limit: { default: 500, format: 'float', type: 'number' },
|
|
7643
|
+
user_identity_email_address: { type: 'string' },
|
|
7644
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
7645
|
+
user_identity_phone_number: { type: 'string' },
|
|
7104
7646
|
},
|
|
7105
|
-
required: ['acs_system_id'],
|
|
7106
7647
|
type: 'object',
|
|
7107
7648
|
},
|
|
7108
7649
|
},
|
|
@@ -7115,7 +7656,102 @@ export default {
|
|
|
7115
7656
|
schema: {
|
|
7116
7657
|
properties: {
|
|
7117
7658
|
acs_users: {
|
|
7118
|
-
items: {
|
|
7659
|
+
items: {
|
|
7660
|
+
properties: {
|
|
7661
|
+
access_schedule: {
|
|
7662
|
+
properties: {
|
|
7663
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
7664
|
+
starts_at: {
|
|
7665
|
+
format: 'date-time',
|
|
7666
|
+
type: 'string',
|
|
7667
|
+
},
|
|
7668
|
+
},
|
|
7669
|
+
required: ['starts_at', 'ends_at'],
|
|
7670
|
+
type: 'object',
|
|
7671
|
+
},
|
|
7672
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7673
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
7674
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7675
|
+
display_name: { type: 'string' },
|
|
7676
|
+
email: {
|
|
7677
|
+
deprecated: true,
|
|
7678
|
+
format: 'email',
|
|
7679
|
+
type: 'string',
|
|
7680
|
+
'x-deprecated': 'use email_address.',
|
|
7681
|
+
},
|
|
7682
|
+
email_address: { format: 'email', type: 'string' },
|
|
7683
|
+
external_type: {
|
|
7684
|
+
enum: [
|
|
7685
|
+
'pti_user',
|
|
7686
|
+
'brivo_user',
|
|
7687
|
+
'hid_credential_manager_user',
|
|
7688
|
+
'salto_site_user',
|
|
7689
|
+
'latch_user',
|
|
7690
|
+
],
|
|
7691
|
+
type: 'string',
|
|
7692
|
+
},
|
|
7693
|
+
external_type_display_name: { type: 'string' },
|
|
7694
|
+
full_name: { type: 'string' },
|
|
7695
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
7696
|
+
is_latest_desired_state_synced_with_provider: {
|
|
7697
|
+
type: 'boolean',
|
|
7698
|
+
},
|
|
7699
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
7700
|
+
is_suspended: { type: 'boolean' },
|
|
7701
|
+
latest_desired_state_synced_with_provider_at: {
|
|
7702
|
+
format: 'date-time',
|
|
7703
|
+
type: 'string',
|
|
7704
|
+
},
|
|
7705
|
+
phone_number: { type: 'string' },
|
|
7706
|
+
user_identity_email_address: {
|
|
7707
|
+
nullable: true,
|
|
7708
|
+
type: 'string',
|
|
7709
|
+
},
|
|
7710
|
+
user_identity_full_name: {
|
|
7711
|
+
nullable: true,
|
|
7712
|
+
type: 'string',
|
|
7713
|
+
},
|
|
7714
|
+
user_identity_id: { type: 'string' },
|
|
7715
|
+
user_identity_phone_number: {
|
|
7716
|
+
nullable: true,
|
|
7717
|
+
type: 'string',
|
|
7718
|
+
},
|
|
7719
|
+
warnings: {
|
|
7720
|
+
items: {
|
|
7721
|
+
properties: {
|
|
7722
|
+
created_at: {
|
|
7723
|
+
format: 'date-time',
|
|
7724
|
+
type: 'string',
|
|
7725
|
+
},
|
|
7726
|
+
message: { type: 'string' },
|
|
7727
|
+
warning_code: {
|
|
7728
|
+
enum: ['being_deleted'],
|
|
7729
|
+
type: 'string',
|
|
7730
|
+
},
|
|
7731
|
+
},
|
|
7732
|
+
required: [
|
|
7733
|
+
'created_at',
|
|
7734
|
+
'message',
|
|
7735
|
+
'warning_code',
|
|
7736
|
+
],
|
|
7737
|
+
type: 'object',
|
|
7738
|
+
},
|
|
7739
|
+
type: 'array',
|
|
7740
|
+
},
|
|
7741
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
7742
|
+
},
|
|
7743
|
+
required: [
|
|
7744
|
+
'acs_user_id',
|
|
7745
|
+
'acs_system_id',
|
|
7746
|
+
'workspace_id',
|
|
7747
|
+
'created_at',
|
|
7748
|
+
'display_name',
|
|
7749
|
+
'is_suspended',
|
|
7750
|
+
'warnings',
|
|
7751
|
+
'is_managed',
|
|
7752
|
+
],
|
|
7753
|
+
type: 'object',
|
|
7754
|
+
},
|
|
7119
7755
|
type: 'array',
|
|
7120
7756
|
},
|
|
7121
7757
|
ok: { type: 'boolean' },
|
|
@@ -7131,7 +7767,6 @@ export default {
|
|
|
7131
7767
|
401: { description: 'Unauthorized' },
|
|
7132
7768
|
},
|
|
7133
7769
|
security: [
|
|
7134
|
-
{ client_session: [] },
|
|
7135
7770
|
{ pat_with_workspace: [] },
|
|
7136
7771
|
{ console_session: [] },
|
|
7137
7772
|
{ api_key: [] },
|