@seamapi/types 1.487.0 → 1.489.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.
@@ -11343,6 +11343,7 @@ export type Routes = {
11343
11343
  | 'connected_accounts'
11344
11344
  | 'acs_systems'
11345
11345
  | 'user_identity'
11346
+ | 'acs_access_groups'
11346
11347
  )[]
11347
11348
  | undefined
11348
11349
  exclude?:
@@ -11353,6 +11354,7 @@ export type Routes = {
11353
11354
  | 'connected_accounts'
11354
11355
  | 'acs_systems'
11355
11356
  | 'user_identity'
11357
+ | 'acs_access_groups'
11356
11358
  )[]
11357
11359
  | undefined
11358
11360
  }
@@ -13411,6 +13413,55 @@ export type Routes = {
13411
13413
  )[]
13412
13414
  }[]
13413
13415
  | undefined
13416
+ acs_access_groups?:
13417
+ | {
13418
+ /** ID of the access group. */
13419
+ acs_access_group_id: string
13420
+ /** ID of the access control system that contains the access group. */
13421
+ acs_system_id: string
13422
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
13423
+ workspace_id: string
13424
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
13425
+ connected_account_id: string
13426
+ /** Name of the access group. */
13427
+ name: string
13428
+ /**
13429
+ * @deprecated Use `external_type`.*/
13430
+ access_group_type:
13431
+ | 'pti_unit'
13432
+ | 'pti_access_level'
13433
+ | 'salto_ks_access_group'
13434
+ | 'brivo_group'
13435
+ | 'salto_space_group'
13436
+ | 'dormakaba_community_access_group'
13437
+ /**
13438
+ * @deprecated Use `external_type_display_name`.*/
13439
+ access_group_type_display_name: string
13440
+ display_name: string
13441
+ /** Brand-specific terminology for the access group type. */
13442
+ external_type:
13443
+ | 'pti_unit'
13444
+ | 'pti_access_level'
13445
+ | 'salto_ks_access_group'
13446
+ | 'brivo_group'
13447
+ | 'salto_space_group'
13448
+ | 'dormakaba_community_access_group'
13449
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
13450
+ external_type_display_name: string
13451
+ /** Date and time at which the access group was created. */
13452
+ created_at: string
13453
+ /** Warnings associated with the `acs_access_group`. */
13454
+ warnings: {
13455
+ /** Date and time at which Seam created the warning. */
13456
+ created_at: string
13457
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13458
+ message: string
13459
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13460
+ warning_code: 'unknown_issue_with_acs_access_group'
13461
+ }[]
13462
+ is_managed: true
13463
+ }[]
13464
+ | undefined
13414
13465
  }
13415
13466
  }
13416
13467
  }
@@ -17258,6 +17309,324 @@ export type Routes = {
17258
17309
  display_name: string
17259
17310
  }[]
17260
17311
  | undefined
17312
+ acs_credentials?:
17313
+ | {
17314
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17315
+ acs_credential_id: string
17316
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17317
+ acs_user_id?: string | undefined
17318
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17319
+ user_identity_id?: string | undefined
17320
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17321
+ connected_account_id: string
17322
+ acs_credential_pool_id?: string | undefined
17323
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17324
+ acs_system_id: string
17325
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17326
+ parent_acs_credential_id?: string | undefined
17327
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
17328
+ display_name: string
17329
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17330
+ code?: (string | undefined) | null
17331
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
17332
+ is_one_time_use?: boolean | undefined
17333
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17334
+ card_number?: (string | undefined) | null
17335
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
17336
+ is_issued?: boolean | undefined
17337
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
17338
+ issued_at?: (string | undefined) | null
17339
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
17340
+ access_method: 'code' | 'card' | 'mobile_key'
17341
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
17342
+ external_type?:
17343
+ | (
17344
+ | 'pti_card'
17345
+ | 'brivo_credential'
17346
+ | 'hid_credential'
17347
+ | 'visionline_card'
17348
+ | 'salto_ks_credential'
17349
+ | 'assa_abloy_vostio_key'
17350
+ | 'salto_space_key'
17351
+ | 'latch_access'
17352
+ )
17353
+ | undefined
17354
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
17355
+ external_type_display_name?: string | undefined
17356
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
17357
+ created_at: string
17358
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17359
+ workspace_id: string
17360
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
17361
+ starts_at?: string | undefined
17362
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
17363
+ ends_at?: string | undefined
17364
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17365
+ errors: {
17366
+ error_code: string
17367
+ message: string
17368
+ }[]
17369
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17370
+ warnings: (
17371
+ | {
17372
+ /** Date and time at which Seam created the warning. */
17373
+ created_at: string
17374
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17375
+ message: string
17376
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17377
+ warning_code: 'waiting_to_be_issued'
17378
+ }
17379
+ | {
17380
+ /** Date and time at which Seam created the warning. */
17381
+ created_at: string
17382
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17383
+ message: string
17384
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17385
+ warning_code: 'schedule_externally_modified'
17386
+ }
17387
+ | {
17388
+ /** Date and time at which Seam created the warning. */
17389
+ created_at: string
17390
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17391
+ message: string
17392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17393
+ warning_code: 'schedule_modified'
17394
+ }
17395
+ | {
17396
+ /** Date and time at which Seam created the warning. */
17397
+ created_at: string
17398
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17399
+ message: string
17400
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17401
+ warning_code: 'being_deleted'
17402
+ }
17403
+ | {
17404
+ /** Date and time at which Seam created the warning. */
17405
+ created_at: string
17406
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17407
+ message: string
17408
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17409
+ warning_code: 'unknown_issue_with_acs_credential'
17410
+ }
17411
+ | {
17412
+ /** Date and time at which Seam created the warning. */
17413
+ created_at: string
17414
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17415
+ message: string
17416
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17417
+ warning_code: 'needs_to_be_reissued'
17418
+ }
17419
+ )[]
17420
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
17421
+ is_multi_phone_sync_credential?: boolean | undefined
17422
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
17423
+ is_latest_desired_state_synced_with_provider?:
17424
+ | (boolean | null)
17425
+ | undefined
17426
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
17427
+ latest_desired_state_synced_with_provider_at?:
17428
+ | (string | null)
17429
+ | undefined
17430
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17431
+ visionline_metadata?:
17432
+ | {
17433
+ /** Card function type in the Visionline access system. */
17434
+ card_function_type: 'guest' | 'staff'
17435
+ /** IDs of the credentials to which you want to join. */
17436
+ joiner_acs_credential_ids?: string[] | undefined
17437
+ /** Guest entrance IDs in the Visionline access system. */
17438
+ guest_acs_entrance_ids?: string[] | undefined
17439
+ /** Common entrance IDs in the Visionline access system. */
17440
+ common_acs_entrance_ids?: string[] | undefined
17441
+ /** Indicates whether the credential is valid. */
17442
+ is_valid?: boolean | undefined
17443
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
17444
+ auto_join?: boolean | undefined
17445
+ /** ID of the card in the Visionline access system. */
17446
+ card_id?: string | undefined
17447
+ /** ID of the credential in the Visionline access system. */
17448
+ credential_id?: string | undefined
17449
+ }
17450
+ | undefined
17451
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17452
+ assa_abloy_vostio_metadata?:
17453
+ | {
17454
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
17455
+ auto_join?: boolean | undefined
17456
+ /** IDs of the guest entrances to override in the Vostio access system. */
17457
+ override_guest_acs_entrance_ids?: string[] | undefined
17458
+ /** Key ID in the Vostio access system. */
17459
+ key_id?: string | undefined
17460
+ /** Key issuing request ID in the Vostio access system. */
17461
+ key_issuing_request_id?: string | undefined
17462
+ /** Names of the doors to which to grant access in the Vostio access system. */
17463
+ door_names?: string[] | undefined
17464
+ /** Endpoint ID in the Vostio access system. */
17465
+ endpoint_id?: string | undefined
17466
+ }
17467
+ | undefined
17468
+ is_managed: true
17469
+ }[]
17470
+ | undefined
17471
+ unmanaged_acs_credentials?:
17472
+ | {
17473
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17474
+ acs_credential_id: string
17475
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17476
+ acs_user_id?: string | undefined
17477
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17478
+ user_identity_id?: string | undefined
17479
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
17480
+ connected_account_id: string
17481
+ acs_credential_pool_id?: string | undefined
17482
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17483
+ acs_system_id: string
17484
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17485
+ parent_acs_credential_id?: string | undefined
17486
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
17487
+ display_name: string
17488
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17489
+ code?: (string | undefined) | null
17490
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
17491
+ is_one_time_use?: boolean | undefined
17492
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17493
+ card_number?: (string | undefined) | null
17494
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
17495
+ is_issued?: boolean | undefined
17496
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
17497
+ issued_at?: (string | undefined) | null
17498
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
17499
+ access_method: 'code' | 'card' | 'mobile_key'
17500
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
17501
+ external_type?:
17502
+ | (
17503
+ | 'pti_card'
17504
+ | 'brivo_credential'
17505
+ | 'hid_credential'
17506
+ | 'visionline_card'
17507
+ | 'salto_ks_credential'
17508
+ | 'assa_abloy_vostio_key'
17509
+ | 'salto_space_key'
17510
+ | 'latch_access'
17511
+ )
17512
+ | undefined
17513
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
17514
+ external_type_display_name?: string | undefined
17515
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
17516
+ created_at: string
17517
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17518
+ workspace_id: string
17519
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
17520
+ starts_at?: string | undefined
17521
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
17522
+ ends_at?: string | undefined
17523
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17524
+ errors: {
17525
+ error_code: string
17526
+ message: string
17527
+ }[]
17528
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17529
+ warnings: (
17530
+ | {
17531
+ /** Date and time at which Seam created the warning. */
17532
+ created_at: string
17533
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17534
+ message: string
17535
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17536
+ warning_code: 'waiting_to_be_issued'
17537
+ }
17538
+ | {
17539
+ /** Date and time at which Seam created the warning. */
17540
+ created_at: string
17541
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17542
+ message: string
17543
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17544
+ warning_code: 'schedule_externally_modified'
17545
+ }
17546
+ | {
17547
+ /** Date and time at which Seam created the warning. */
17548
+ created_at: string
17549
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17550
+ message: string
17551
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17552
+ warning_code: 'schedule_modified'
17553
+ }
17554
+ | {
17555
+ /** Date and time at which Seam created the warning. */
17556
+ created_at: string
17557
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17558
+ message: string
17559
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17560
+ warning_code: 'being_deleted'
17561
+ }
17562
+ | {
17563
+ /** Date and time at which Seam created the warning. */
17564
+ created_at: string
17565
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17566
+ message: string
17567
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17568
+ warning_code: 'unknown_issue_with_acs_credential'
17569
+ }
17570
+ | {
17571
+ /** Date and time at which Seam created the warning. */
17572
+ created_at: string
17573
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17574
+ message: string
17575
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17576
+ warning_code: 'needs_to_be_reissued'
17577
+ }
17578
+ )[]
17579
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
17580
+ is_multi_phone_sync_credential?: boolean | undefined
17581
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
17582
+ is_latest_desired_state_synced_with_provider?:
17583
+ | (boolean | null)
17584
+ | undefined
17585
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
17586
+ latest_desired_state_synced_with_provider_at?:
17587
+ | (string | null)
17588
+ | undefined
17589
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17590
+ visionline_metadata?:
17591
+ | {
17592
+ /** Card function type in the Visionline access system. */
17593
+ card_function_type: 'guest' | 'staff'
17594
+ /** IDs of the credentials to which you want to join. */
17595
+ joiner_acs_credential_ids?: string[] | undefined
17596
+ /** Guest entrance IDs in the Visionline access system. */
17597
+ guest_acs_entrance_ids?: string[] | undefined
17598
+ /** Common entrance IDs in the Visionline access system. */
17599
+ common_acs_entrance_ids?: string[] | undefined
17600
+ /** Indicates whether the credential is valid. */
17601
+ is_valid?: boolean | undefined
17602
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
17603
+ auto_join?: boolean | undefined
17604
+ /** ID of the card in the Visionline access system. */
17605
+ card_id?: string | undefined
17606
+ /** ID of the credential in the Visionline access system. */
17607
+ credential_id?: string | undefined
17608
+ }
17609
+ | undefined
17610
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
17611
+ assa_abloy_vostio_metadata?:
17612
+ | {
17613
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
17614
+ auto_join?: boolean | undefined
17615
+ /** IDs of the guest entrances to override in the Vostio access system. */
17616
+ override_guest_acs_entrance_ids?: string[] | undefined
17617
+ /** Key ID in the Vostio access system. */
17618
+ key_id?: string | undefined
17619
+ /** Key issuing request ID in the Vostio access system. */
17620
+ key_issuing_request_id?: string | undefined
17621
+ /** Names of the doors to which to grant access in the Vostio access system. */
17622
+ door_names?: string[] | undefined
17623
+ /** Endpoint ID in the Vostio access system. */
17624
+ endpoint_id?: string | undefined
17625
+ }
17626
+ | undefined
17627
+ is_managed: false
17628
+ }[]
17629
+ | undefined
17261
17630
  action_attempts?:
17262
17631
  | (
17263
17632
  | {
@@ -94449,6 +94818,324 @@ export type Routes = {
94449
94818
  display_name: string
94450
94819
  }[]
94451
94820
  | undefined
94821
+ acs_credentials?:
94822
+ | {
94823
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94824
+ acs_credential_id: string
94825
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94826
+ acs_user_id?: string | undefined
94827
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94828
+ user_identity_id?: string | undefined
94829
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94830
+ connected_account_id: string
94831
+ acs_credential_pool_id?: string | undefined
94832
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94833
+ acs_system_id: string
94834
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94835
+ parent_acs_credential_id?: string | undefined
94836
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
94837
+ display_name: string
94838
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94839
+ code?: (string | undefined) | null
94840
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
94841
+ is_one_time_use?: boolean | undefined
94842
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94843
+ card_number?: (string | undefined) | null
94844
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
94845
+ is_issued?: boolean | undefined
94846
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
94847
+ issued_at?: (string | undefined) | null
94848
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
94849
+ access_method: 'code' | 'card' | 'mobile_key'
94850
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
94851
+ external_type?:
94852
+ | (
94853
+ | 'pti_card'
94854
+ | 'brivo_credential'
94855
+ | 'hid_credential'
94856
+ | 'visionline_card'
94857
+ | 'salto_ks_credential'
94858
+ | 'assa_abloy_vostio_key'
94859
+ | 'salto_space_key'
94860
+ | 'latch_access'
94861
+ )
94862
+ | undefined
94863
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
94864
+ external_type_display_name?: string | undefined
94865
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
94866
+ created_at: string
94867
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94868
+ workspace_id: string
94869
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
94870
+ starts_at?: string | undefined
94871
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
94872
+ ends_at?: string | undefined
94873
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94874
+ errors: {
94875
+ error_code: string
94876
+ message: string
94877
+ }[]
94878
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94879
+ warnings: (
94880
+ | {
94881
+ /** Date and time at which Seam created the warning. */
94882
+ created_at: string
94883
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94884
+ message: string
94885
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94886
+ warning_code: 'waiting_to_be_issued'
94887
+ }
94888
+ | {
94889
+ /** Date and time at which Seam created the warning. */
94890
+ created_at: string
94891
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94892
+ message: string
94893
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94894
+ warning_code: 'schedule_externally_modified'
94895
+ }
94896
+ | {
94897
+ /** Date and time at which Seam created the warning. */
94898
+ created_at: string
94899
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94900
+ message: string
94901
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94902
+ warning_code: 'schedule_modified'
94903
+ }
94904
+ | {
94905
+ /** Date and time at which Seam created the warning. */
94906
+ created_at: string
94907
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94908
+ message: string
94909
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94910
+ warning_code: 'being_deleted'
94911
+ }
94912
+ | {
94913
+ /** Date and time at which Seam created the warning. */
94914
+ created_at: string
94915
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94916
+ message: string
94917
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94918
+ warning_code: 'unknown_issue_with_acs_credential'
94919
+ }
94920
+ | {
94921
+ /** Date and time at which Seam created the warning. */
94922
+ created_at: string
94923
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
94924
+ message: string
94925
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
94926
+ warning_code: 'needs_to_be_reissued'
94927
+ }
94928
+ )[]
94929
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
94930
+ is_multi_phone_sync_credential?: boolean | undefined
94931
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
94932
+ is_latest_desired_state_synced_with_provider?:
94933
+ | (boolean | null)
94934
+ | undefined
94935
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
94936
+ latest_desired_state_synced_with_provider_at?:
94937
+ | (string | null)
94938
+ | undefined
94939
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94940
+ visionline_metadata?:
94941
+ | {
94942
+ /** Card function type in the Visionline access system. */
94943
+ card_function_type: 'guest' | 'staff'
94944
+ /** IDs of the credentials to which you want to join. */
94945
+ joiner_acs_credential_ids?: string[] | undefined
94946
+ /** Guest entrance IDs in the Visionline access system. */
94947
+ guest_acs_entrance_ids?: string[] | undefined
94948
+ /** Common entrance IDs in the Visionline access system. */
94949
+ common_acs_entrance_ids?: string[] | undefined
94950
+ /** Indicates whether the credential is valid. */
94951
+ is_valid?: boolean | undefined
94952
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
94953
+ auto_join?: boolean | undefined
94954
+ /** ID of the card in the Visionline access system. */
94955
+ card_id?: string | undefined
94956
+ /** ID of the credential in the Visionline access system. */
94957
+ credential_id?: string | undefined
94958
+ }
94959
+ | undefined
94960
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94961
+ assa_abloy_vostio_metadata?:
94962
+ | {
94963
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
94964
+ auto_join?: boolean | undefined
94965
+ /** IDs of the guest entrances to override in the Vostio access system. */
94966
+ override_guest_acs_entrance_ids?: string[] | undefined
94967
+ /** Key ID in the Vostio access system. */
94968
+ key_id?: string | undefined
94969
+ /** Key issuing request ID in the Vostio access system. */
94970
+ key_issuing_request_id?: string | undefined
94971
+ /** Names of the doors to which to grant access in the Vostio access system. */
94972
+ door_names?: string[] | undefined
94973
+ /** Endpoint ID in the Vostio access system. */
94974
+ endpoint_id?: string | undefined
94975
+ }
94976
+ | undefined
94977
+ is_managed: true
94978
+ }[]
94979
+ | undefined
94980
+ unmanaged_acs_credentials?:
94981
+ | {
94982
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94983
+ acs_credential_id: string
94984
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94985
+ acs_user_id?: string | undefined
94986
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94987
+ user_identity_id?: string | undefined
94988
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
94989
+ connected_account_id: string
94990
+ acs_credential_pool_id?: string | undefined
94991
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94992
+ acs_system_id: string
94993
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94994
+ parent_acs_credential_id?: string | undefined
94995
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
94996
+ display_name: string
94997
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
94998
+ code?: (string | undefined) | null
94999
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
95000
+ is_one_time_use?: boolean | undefined
95001
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95002
+ card_number?: (string | undefined) | null
95003
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
95004
+ is_issued?: boolean | undefined
95005
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
95006
+ issued_at?: (string | undefined) | null
95007
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
95008
+ access_method: 'code' | 'card' | 'mobile_key'
95009
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
95010
+ external_type?:
95011
+ | (
95012
+ | 'pti_card'
95013
+ | 'brivo_credential'
95014
+ | 'hid_credential'
95015
+ | 'visionline_card'
95016
+ | 'salto_ks_credential'
95017
+ | 'assa_abloy_vostio_key'
95018
+ | 'salto_space_key'
95019
+ | 'latch_access'
95020
+ )
95021
+ | undefined
95022
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
95023
+ external_type_display_name?: string | undefined
95024
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
95025
+ created_at: string
95026
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95027
+ workspace_id: string
95028
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
95029
+ starts_at?: string | undefined
95030
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
95031
+ ends_at?: string | undefined
95032
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95033
+ errors: {
95034
+ error_code: string
95035
+ message: string
95036
+ }[]
95037
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95038
+ warnings: (
95039
+ | {
95040
+ /** Date and time at which Seam created the warning. */
95041
+ created_at: string
95042
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95043
+ message: string
95044
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95045
+ warning_code: 'waiting_to_be_issued'
95046
+ }
95047
+ | {
95048
+ /** Date and time at which Seam created the warning. */
95049
+ created_at: string
95050
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95051
+ message: string
95052
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95053
+ warning_code: 'schedule_externally_modified'
95054
+ }
95055
+ | {
95056
+ /** Date and time at which Seam created the warning. */
95057
+ created_at: string
95058
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95059
+ message: string
95060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95061
+ warning_code: 'schedule_modified'
95062
+ }
95063
+ | {
95064
+ /** Date and time at which Seam created the warning. */
95065
+ created_at: string
95066
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95067
+ message: string
95068
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95069
+ warning_code: 'being_deleted'
95070
+ }
95071
+ | {
95072
+ /** Date and time at which Seam created the warning. */
95073
+ created_at: string
95074
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95075
+ message: string
95076
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95077
+ warning_code: 'unknown_issue_with_acs_credential'
95078
+ }
95079
+ | {
95080
+ /** Date and time at which Seam created the warning. */
95081
+ created_at: string
95082
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95083
+ message: string
95084
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95085
+ warning_code: 'needs_to_be_reissued'
95086
+ }
95087
+ )[]
95088
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
95089
+ is_multi_phone_sync_credential?: boolean | undefined
95090
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
95091
+ is_latest_desired_state_synced_with_provider?:
95092
+ | (boolean | null)
95093
+ | undefined
95094
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
95095
+ latest_desired_state_synced_with_provider_at?:
95096
+ | (string | null)
95097
+ | undefined
95098
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95099
+ visionline_metadata?:
95100
+ | {
95101
+ /** Card function type in the Visionline access system. */
95102
+ card_function_type: 'guest' | 'staff'
95103
+ /** IDs of the credentials to which you want to join. */
95104
+ joiner_acs_credential_ids?: string[] | undefined
95105
+ /** Guest entrance IDs in the Visionline access system. */
95106
+ guest_acs_entrance_ids?: string[] | undefined
95107
+ /** Common entrance IDs in the Visionline access system. */
95108
+ common_acs_entrance_ids?: string[] | undefined
95109
+ /** Indicates whether the credential is valid. */
95110
+ is_valid?: boolean | undefined
95111
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
95112
+ auto_join?: boolean | undefined
95113
+ /** ID of the card in the Visionline access system. */
95114
+ card_id?: string | undefined
95115
+ /** ID of the credential in the Visionline access system. */
95116
+ credential_id?: string | undefined
95117
+ }
95118
+ | undefined
95119
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
95120
+ assa_abloy_vostio_metadata?:
95121
+ | {
95122
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
95123
+ auto_join?: boolean | undefined
95124
+ /** IDs of the guest entrances to override in the Vostio access system. */
95125
+ override_guest_acs_entrance_ids?: string[] | undefined
95126
+ /** Key ID in the Vostio access system. */
95127
+ key_id?: string | undefined
95128
+ /** Key issuing request ID in the Vostio access system. */
95129
+ key_issuing_request_id?: string | undefined
95130
+ /** Names of the doors to which to grant access in the Vostio access system. */
95131
+ door_names?: string[] | undefined
95132
+ /** Endpoint ID in the Vostio access system. */
95133
+ endpoint_id?: string | undefined
95134
+ }
95135
+ | undefined
95136
+ is_managed: false
95137
+ }[]
95138
+ | undefined
94452
95139
  action_attempts?:
94453
95140
  | (
94454
95141
  | {