@seamapi/types 1.777.0 → 1.778.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.
@@ -89576,6 +89576,151 @@ export type Routes = {
89576
89576
  };
89577
89577
  maxDuration: undefined;
89578
89578
  };
89579
+ '/user_identities/list_accessible_entrances': {
89580
+ route: '/user_identities/list_accessible_entrances';
89581
+ method: 'GET' | 'POST';
89582
+ queryParams: {};
89583
+ jsonBody: {};
89584
+ commonParams: {
89585
+ /** ID of the user identity for which you want to retrieve all accessible entrances. */
89586
+ user_identity_id: string;
89587
+ };
89588
+ formData: {};
89589
+ jsonResponse: {
89590
+ acs_entrances: {
89591
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89592
+ acs_system_id: string;
89593
+ /** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89594
+ acs_entrance_id: string;
89595
+ /** IDs of the spaces that the entrance is in. */
89596
+ space_ids: string[];
89597
+ /** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
89598
+ created_at: string;
89599
+ /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89600
+ display_name: string;
89601
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89602
+ connected_account_id: string;
89603
+ /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89604
+ errors: {
89605
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
89606
+ error_code: string;
89607
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
89608
+ message: string;
89609
+ }[];
89610
+ /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89611
+ latch_metadata?: {
89612
+ /** Accessibility type in the Latch access system. */
89613
+ accessibility_type: string;
89614
+ /** Name of the door in the Latch access system. */
89615
+ door_name: string;
89616
+ /** Type of the door in the Latch access system. */
89617
+ door_type: string;
89618
+ /** Indicates whether the entrance is connected. */
89619
+ is_connected: boolean;
89620
+ } | undefined;
89621
+ /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89622
+ hotek_metadata?: {
89623
+ /** Room number of the entrance. */
89624
+ room_number?: string | undefined;
89625
+ /** Display name of the entrance. */
89626
+ common_area_number?: string | undefined;
89627
+ /** Display name of the entrance. */
89628
+ common_area_name?: string | undefined;
89629
+ } | undefined;
89630
+ /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89631
+ visionline_metadata?: {
89632
+ /** Name of the door in the Visionline access system. */
89633
+ door_name: string;
89634
+ /** Category of the door in the Visionline access system. */
89635
+ door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
89636
+ /** Profile for the door in the Visionline access system. */
89637
+ profiles?: {
89638
+ /** Door profile ID in the Visionline access system. */
89639
+ visionline_door_profile_id: string;
89640
+ /** Door profile type in the Visionline access system. */
89641
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
89642
+ }[] | undefined;
89643
+ } | undefined;
89644
+ /** Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89645
+ salto_ks_metadata?: {
89646
+ /** Name of the door in the Salto KS access system. */
89647
+ door_name: string;
89648
+ /** Locked state of the door in the Salto KS access system. */
89649
+ locked_state: string;
89650
+ /** Type of the lock in the Salto KS access system. */
89651
+ lock_type: string;
89652
+ /** Indicates whether the door access device is online. */
89653
+ online?: boolean | undefined;
89654
+ /** Battery level of the door access device. */
89655
+ battery_level: string;
89656
+ /** Indicates whether the door is left open. */
89657
+ left_open_alarm?: boolean | undefined;
89658
+ /** Indicates whether an intrusion alarm is active on the door. */
89659
+ intrusion_alarm?: boolean | undefined;
89660
+ /** Indicates whether privacy mode is enabled for the lock. */
89661
+ privacy_mode?: boolean | undefined;
89662
+ } | undefined;
89663
+ /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89664
+ dormakaba_community_metadata?: {
89665
+ /** Type of access point profile in the dormakaba Community access system. */
89666
+ access_point_profile: string;
89667
+ } | undefined;
89668
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89669
+ assa_abloy_vostio_metadata?: {
89670
+ /** Type of the door in the Vostio access system. */
89671
+ door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
89672
+ /** Name of the door in the Vostio access system. */
89673
+ door_name: string;
89674
+ /** Number of the door in the Vostio access system. */
89675
+ door_number?: number | undefined;
89676
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
89677
+ stand_open?: boolean | undefined;
89678
+ /** PMS ID of the door in the Vostio access system. */
89679
+ pms_id?: string | undefined;
89680
+ } | undefined;
89681
+ /** Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89682
+ salto_space_metadata?: {
89683
+ /** Door ID in the Salto Space access system. */
89684
+ door_id?: string | undefined;
89685
+ /** Name of the door in the Salto Space access system. */
89686
+ door_name?: string | undefined;
89687
+ /** Description of the door in the Salto Space access system. */
89688
+ door_description?: string | undefined;
89689
+ /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
89690
+ audit_on_keys?: boolean | undefined;
89691
+ /** Name of the room in the Salto Space access system. */
89692
+ room_name?: string | undefined;
89693
+ /** Description of the room in the Salto Space access system. */
89694
+ room_description?: string | undefined;
89695
+ } | undefined;
89696
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89697
+ dormakaba_ambiance_metadata?: {
89698
+ /** Name of the access point in the dormakaba Ambiance access system. */
89699
+ access_point_name: string;
89700
+ } | undefined;
89701
+ /** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
89702
+ brivo_metadata?: {
89703
+ /** ID of the access point in the Brivo access system. */
89704
+ access_point_id: string;
89705
+ /** ID of the site that the access point belongs to. */
89706
+ site_id: number;
89707
+ /** Name of the site that the access point belongs to. */
89708
+ site_name: string;
89709
+ } | undefined;
89710
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
89711
+ can_unlock_with_mobile_key?: boolean | undefined;
89712
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
89713
+ can_unlock_with_card?: boolean | undefined;
89714
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
89715
+ can_unlock_with_code?: boolean | undefined;
89716
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
89717
+ can_unlock_with_cloud_key?: boolean | undefined;
89718
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
89719
+ can_belong_to_reservation?: boolean | undefined;
89720
+ }[];
89721
+ };
89722
+ maxDuration: undefined;
89723
+ };
89579
89724
  '/user_identities/list_acs_systems': {
89580
89725
  route: '/user_identities/list_acs_systems';
89581
89726
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.777.0",
3
+ "version": "1.778.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -78421,6 +78421,119 @@ export default {
78421
78421
  'x-title': 'List Accessible Devices for a User Identity',
78422
78422
  },
78423
78423
  },
78424
+ '/user_identities/list_accessible_entrances': {
78425
+ get: {
78426
+ description:
78427
+ 'Returns a list of all [ACS entrances](https://docs.seam.co/latest/api/acs/entrances) accessible to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes entrances derived from the access grants assigned to the user identity and entrances accessible through ACS users linked to the user identity.',
78428
+ operationId: 'userIdentitiesListAccessibleEntrancesGet',
78429
+ parameters: [
78430
+ {
78431
+ in: 'query',
78432
+ name: 'user_identity_id',
78433
+ required: true,
78434
+ schema: {
78435
+ description:
78436
+ 'ID of the user identity for which you want to retrieve all accessible entrances.',
78437
+ format: 'uuid',
78438
+ type: 'string',
78439
+ },
78440
+ },
78441
+ ],
78442
+ responses: {
78443
+ 200: {
78444
+ content: {
78445
+ 'application/json': {
78446
+ schema: {
78447
+ properties: {
78448
+ acs_entrances: {
78449
+ items: { $ref: '#/components/schemas/acs_entrance' },
78450
+ type: 'array',
78451
+ },
78452
+ ok: { type: 'boolean' },
78453
+ },
78454
+ required: ['acs_entrances', 'ok'],
78455
+ type: 'object',
78456
+ },
78457
+ },
78458
+ },
78459
+ description: 'OK',
78460
+ },
78461
+ 400: { description: 'Bad Request' },
78462
+ 401: { description: 'Unauthorized' },
78463
+ },
78464
+ security: [
78465
+ { client_session: [] },
78466
+ { pat_with_workspace: [] },
78467
+ { console_session_with_workspace: [] },
78468
+ { api_key: [] },
78469
+ ],
78470
+ summary: '/user_identities/list_accessible_entrances',
78471
+ tags: ['/user_identities'],
78472
+ 'x-fern-sdk-group-name': ['user_identities'],
78473
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
78474
+ 'x-fern-sdk-return-value': 'acs_entrances',
78475
+ 'x-response-key': 'acs_entrances',
78476
+ 'x-title': 'List Accessible Entrances for a User Identity',
78477
+ },
78478
+ post: {
78479
+ description:
78480
+ 'Returns a list of all [ACS entrances](https://docs.seam.co/latest/api/acs/entrances) accessible to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes entrances derived from the access grants assigned to the user identity and entrances accessible through ACS users linked to the user identity.',
78481
+ operationId: 'userIdentitiesListAccessibleEntrancesPost',
78482
+ requestBody: {
78483
+ content: {
78484
+ 'application/json': {
78485
+ schema: {
78486
+ properties: {
78487
+ user_identity_id: {
78488
+ description:
78489
+ 'ID of the user identity for which you want to retrieve all accessible entrances.',
78490
+ format: 'uuid',
78491
+ type: 'string',
78492
+ },
78493
+ },
78494
+ required: ['user_identity_id'],
78495
+ type: 'object',
78496
+ },
78497
+ },
78498
+ },
78499
+ },
78500
+ responses: {
78501
+ 200: {
78502
+ content: {
78503
+ 'application/json': {
78504
+ schema: {
78505
+ properties: {
78506
+ acs_entrances: {
78507
+ items: { $ref: '#/components/schemas/acs_entrance' },
78508
+ type: 'array',
78509
+ },
78510
+ ok: { type: 'boolean' },
78511
+ },
78512
+ required: ['acs_entrances', 'ok'],
78513
+ type: 'object',
78514
+ },
78515
+ },
78516
+ },
78517
+ description: 'OK',
78518
+ },
78519
+ 400: { description: 'Bad Request' },
78520
+ 401: { description: 'Unauthorized' },
78521
+ },
78522
+ security: [
78523
+ { client_session: [] },
78524
+ { pat_with_workspace: [] },
78525
+ { console_session_with_workspace: [] },
78526
+ { api_key: [] },
78527
+ ],
78528
+ summary: '/user_identities/list_accessible_entrances',
78529
+ tags: ['/user_identities'],
78530
+ 'x-fern-sdk-group-name': ['user_identities'],
78531
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
78532
+ 'x-fern-sdk-return-value': 'acs_entrances',
78533
+ 'x-response-key': 'acs_entrances',
78534
+ 'x-title': 'List Accessible Entrances for a User Identity',
78535
+ },
78536
+ },
78424
78537
  '/user_identities/list_acs_systems': {
78425
78538
  get: {
78426
78539
  description:
@@ -106403,6 +106403,180 @@ export type Routes = {
106403
106403
  }
106404
106404
  maxDuration: undefined
106405
106405
  }
106406
+ '/user_identities/list_accessible_entrances': {
106407
+ route: '/user_identities/list_accessible_entrances'
106408
+ method: 'GET' | 'POST'
106409
+ queryParams: {}
106410
+ jsonBody: {}
106411
+ commonParams: {
106412
+ /** ID of the user identity for which you want to retrieve all accessible entrances. */
106413
+ user_identity_id: string
106414
+ }
106415
+ formData: {}
106416
+ jsonResponse: {
106417
+ acs_entrances: {
106418
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106419
+ acs_system_id: string
106420
+ /** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106421
+ acs_entrance_id: string
106422
+ /** IDs of the spaces that the entrance is in. */
106423
+ space_ids: string[]
106424
+ /** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
106425
+ created_at: string
106426
+ /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106427
+ display_name: string
106428
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106429
+ connected_account_id: string
106430
+ /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106431
+ errors: {
106432
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
106433
+ error_code: string
106434
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
106435
+ message: string
106436
+ }[]
106437
+ /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106438
+ latch_metadata?:
106439
+ | {
106440
+ /** Accessibility type in the Latch access system. */
106441
+ accessibility_type: string
106442
+ /** Name of the door in the Latch access system. */
106443
+ door_name: string
106444
+ /** Type of the door in the Latch access system. */
106445
+ door_type: string
106446
+ /** Indicates whether the entrance is connected. */
106447
+ is_connected: boolean
106448
+ }
106449
+ | undefined
106450
+ /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106451
+ hotek_metadata?:
106452
+ | {
106453
+ /** Room number of the entrance. */
106454
+ room_number?: string | undefined
106455
+ /** Display name of the entrance. */
106456
+ common_area_number?: string | undefined
106457
+ /** Display name of the entrance. */
106458
+ common_area_name?: string | undefined
106459
+ }
106460
+ | undefined
106461
+ /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106462
+ visionline_metadata?:
106463
+ | {
106464
+ /** Name of the door in the Visionline access system. */
106465
+ door_name: string
106466
+ /** Category of the door in the Visionline access system. */
106467
+ door_category:
106468
+ | 'entrance'
106469
+ | 'guest'
106470
+ | 'elevator reader'
106471
+ | 'common'
106472
+ | 'common (PMS)'
106473
+ /** Profile for the door in the Visionline access system. */
106474
+ profiles?:
106475
+ | {
106476
+ /** Door profile ID in the Visionline access system. */
106477
+ visionline_door_profile_id: string
106478
+ /** Door profile type in the Visionline access system. */
106479
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
106480
+ }[]
106481
+ | undefined
106482
+ }
106483
+ | undefined
106484
+ /** Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106485
+ salto_ks_metadata?:
106486
+ | {
106487
+ /** Name of the door in the Salto KS access system. */
106488
+ door_name: string
106489
+ /** Locked state of the door in the Salto KS access system. */
106490
+ locked_state: string
106491
+ /** Type of the lock in the Salto KS access system. */
106492
+ lock_type: string
106493
+ /** Indicates whether the door access device is online. */
106494
+ online?: boolean | undefined
106495
+ /** Battery level of the door access device. */
106496
+ battery_level: string
106497
+ /** Indicates whether the door is left open. */
106498
+ left_open_alarm?: boolean | undefined
106499
+ /** Indicates whether an intrusion alarm is active on the door. */
106500
+ intrusion_alarm?: boolean | undefined
106501
+ /** Indicates whether privacy mode is enabled for the lock. */
106502
+ privacy_mode?: boolean | undefined
106503
+ }
106504
+ | undefined
106505
+ /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106506
+ dormakaba_community_metadata?:
106507
+ | {
106508
+ /** Type of access point profile in the dormakaba Community access system. */
106509
+ access_point_profile: string
106510
+ }
106511
+ | undefined
106512
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106513
+ assa_abloy_vostio_metadata?:
106514
+ | {
106515
+ /** Type of the door in the Vostio access system. */
106516
+ door_type:
106517
+ | 'CommonDoor'
106518
+ | 'EntranceDoor'
106519
+ | 'GuestDoor'
106520
+ | 'Elevator'
106521
+ /** Name of the door in the Vostio access system. */
106522
+ door_name: string
106523
+ /** Number of the door in the Vostio access system. */
106524
+ door_number?: number | undefined
106525
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
106526
+ stand_open?: boolean | undefined
106527
+ /** PMS ID of the door in the Vostio access system. */
106528
+ pms_id?: string | undefined
106529
+ }
106530
+ | undefined
106531
+ /** Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106532
+ salto_space_metadata?:
106533
+ | {
106534
+ /** Door ID in the Salto Space access system. */
106535
+ door_id?: string | undefined
106536
+ /** Name of the door in the Salto Space access system. */
106537
+ door_name?: string | undefined
106538
+ /** Description of the door in the Salto Space access system. */
106539
+ door_description?: string | undefined
106540
+ /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
106541
+ audit_on_keys?: boolean | undefined
106542
+ /** Name of the room in the Salto Space access system. */
106543
+ room_name?: string | undefined
106544
+ /** Description of the room in the Salto Space access system. */
106545
+ room_description?: string | undefined
106546
+ }
106547
+ | undefined
106548
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106549
+ dormakaba_ambiance_metadata?:
106550
+ | {
106551
+ /** Name of the access point in the dormakaba Ambiance access system. */
106552
+ access_point_name: string
106553
+ }
106554
+ | undefined
106555
+ /** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
106556
+ brivo_metadata?:
106557
+ | {
106558
+ /** ID of the access point in the Brivo access system. */
106559
+ access_point_id: string
106560
+ /** ID of the site that the access point belongs to. */
106561
+ site_id: number
106562
+ /** Name of the site that the access point belongs to. */
106563
+ site_name: string
106564
+ }
106565
+ | undefined
106566
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
106567
+ can_unlock_with_mobile_key?: boolean | undefined
106568
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
106569
+ can_unlock_with_card?: boolean | undefined
106570
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
106571
+ can_unlock_with_code?: boolean | undefined
106572
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
106573
+ can_unlock_with_cloud_key?: boolean | undefined
106574
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
106575
+ can_belong_to_reservation?: boolean | undefined
106576
+ }[]
106577
+ }
106578
+ maxDuration: undefined
106579
+ }
106406
106580
  '/user_identities/list_acs_systems': {
106407
106581
  route: '/user_identities/list_acs_systems'
106408
106582
  method: 'GET' | 'POST'