@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.
@@ -131371,6 +131371,159 @@ declare const _default: {
131371
131371
  'x-title': string;
131372
131372
  };
131373
131373
  };
131374
+ '/user_identities/list_accessible_entrances': {
131375
+ get: {
131376
+ description: string;
131377
+ operationId: string;
131378
+ parameters: {
131379
+ in: string;
131380
+ name: string;
131381
+ required: boolean;
131382
+ schema: {
131383
+ description: string;
131384
+ format: string;
131385
+ type: string;
131386
+ };
131387
+ }[];
131388
+ responses: {
131389
+ 200: {
131390
+ content: {
131391
+ 'application/json': {
131392
+ schema: {
131393
+ properties: {
131394
+ acs_entrances: {
131395
+ items: {
131396
+ $ref: string;
131397
+ };
131398
+ type: string;
131399
+ };
131400
+ ok: {
131401
+ type: string;
131402
+ };
131403
+ };
131404
+ required: string[];
131405
+ type: string;
131406
+ };
131407
+ };
131408
+ };
131409
+ description: string;
131410
+ };
131411
+ 400: {
131412
+ description: string;
131413
+ };
131414
+ 401: {
131415
+ description: string;
131416
+ };
131417
+ };
131418
+ security: ({
131419
+ client_session: never[];
131420
+ pat_with_workspace?: never;
131421
+ console_session_with_workspace?: never;
131422
+ api_key?: never;
131423
+ } | {
131424
+ pat_with_workspace: never[];
131425
+ client_session?: never;
131426
+ console_session_with_workspace?: never;
131427
+ api_key?: never;
131428
+ } | {
131429
+ console_session_with_workspace: never[];
131430
+ client_session?: never;
131431
+ pat_with_workspace?: never;
131432
+ api_key?: never;
131433
+ } | {
131434
+ api_key: never[];
131435
+ client_session?: never;
131436
+ pat_with_workspace?: never;
131437
+ console_session_with_workspace?: never;
131438
+ })[];
131439
+ summary: string;
131440
+ tags: string[];
131441
+ 'x-fern-sdk-group-name': string[];
131442
+ 'x-fern-sdk-method-name': string;
131443
+ 'x-fern-sdk-return-value': string;
131444
+ 'x-response-key': string;
131445
+ 'x-title': string;
131446
+ };
131447
+ post: {
131448
+ description: string;
131449
+ operationId: string;
131450
+ requestBody: {
131451
+ content: {
131452
+ 'application/json': {
131453
+ schema: {
131454
+ properties: {
131455
+ user_identity_id: {
131456
+ description: string;
131457
+ format: string;
131458
+ type: string;
131459
+ };
131460
+ };
131461
+ required: string[];
131462
+ type: string;
131463
+ };
131464
+ };
131465
+ };
131466
+ };
131467
+ responses: {
131468
+ 200: {
131469
+ content: {
131470
+ 'application/json': {
131471
+ schema: {
131472
+ properties: {
131473
+ acs_entrances: {
131474
+ items: {
131475
+ $ref: string;
131476
+ };
131477
+ type: string;
131478
+ };
131479
+ ok: {
131480
+ type: string;
131481
+ };
131482
+ };
131483
+ required: string[];
131484
+ type: string;
131485
+ };
131486
+ };
131487
+ };
131488
+ description: string;
131489
+ };
131490
+ 400: {
131491
+ description: string;
131492
+ };
131493
+ 401: {
131494
+ description: string;
131495
+ };
131496
+ };
131497
+ security: ({
131498
+ client_session: never[];
131499
+ pat_with_workspace?: never;
131500
+ console_session_with_workspace?: never;
131501
+ api_key?: never;
131502
+ } | {
131503
+ pat_with_workspace: never[];
131504
+ client_session?: never;
131505
+ console_session_with_workspace?: never;
131506
+ api_key?: never;
131507
+ } | {
131508
+ console_session_with_workspace: never[];
131509
+ client_session?: never;
131510
+ pat_with_workspace?: never;
131511
+ api_key?: never;
131512
+ } | {
131513
+ api_key: never[];
131514
+ client_session?: never;
131515
+ pat_with_workspace?: never;
131516
+ console_session_with_workspace?: never;
131517
+ })[];
131518
+ summary: string;
131519
+ tags: string[];
131520
+ 'x-fern-sdk-group-name': string[];
131521
+ 'x-fern-sdk-method-name': string;
131522
+ 'x-fern-sdk-return-value': string;
131523
+ 'x-response-key': string;
131524
+ 'x-title': string;
131525
+ };
131526
+ };
131374
131527
  '/user_identities/list_acs_systems': {
131375
131528
  get: {
131376
131529
  description: string;
@@ -225069,6 +225222,151 @@ type Routes = {
225069
225222
  };
225070
225223
  maxDuration: undefined;
225071
225224
  };
225225
+ '/user_identities/list_accessible_entrances': {
225226
+ route: '/user_identities/list_accessible_entrances';
225227
+ method: 'GET' | 'POST';
225228
+ queryParams: {};
225229
+ jsonBody: {};
225230
+ commonParams: {
225231
+ /** ID of the user identity for which you want to retrieve all accessible entrances. */
225232
+ user_identity_id: string;
225233
+ };
225234
+ formData: {};
225235
+ jsonResponse: {
225236
+ acs_entrances: {
225237
+ /** 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). */
225238
+ acs_system_id: string;
225239
+ /** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225240
+ acs_entrance_id: string;
225241
+ /** IDs of the spaces that the entrance is in. */
225242
+ space_ids: string[];
225243
+ /** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
225244
+ created_at: string;
225245
+ /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225246
+ display_name: string;
225247
+ /** 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). */
225248
+ connected_account_id: string;
225249
+ /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225250
+ errors: {
225251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
225252
+ error_code: string;
225253
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
225254
+ message: string;
225255
+ }[];
225256
+ /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225257
+ latch_metadata?: {
225258
+ /** Accessibility type in the Latch access system. */
225259
+ accessibility_type: string;
225260
+ /** Name of the door in the Latch access system. */
225261
+ door_name: string;
225262
+ /** Type of the door in the Latch access system. */
225263
+ door_type: string;
225264
+ /** Indicates whether the entrance is connected. */
225265
+ is_connected: boolean;
225266
+ } | undefined;
225267
+ /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225268
+ hotek_metadata?: {
225269
+ /** Room number of the entrance. */
225270
+ room_number?: string | undefined;
225271
+ /** Display name of the entrance. */
225272
+ common_area_number?: string | undefined;
225273
+ /** Display name of the entrance. */
225274
+ common_area_name?: string | undefined;
225275
+ } | undefined;
225276
+ /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225277
+ visionline_metadata?: {
225278
+ /** Name of the door in the Visionline access system. */
225279
+ door_name: string;
225280
+ /** Category of the door in the Visionline access system. */
225281
+ door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
225282
+ /** Profile for the door in the Visionline access system. */
225283
+ profiles?: {
225284
+ /** Door profile ID in the Visionline access system. */
225285
+ visionline_door_profile_id: string;
225286
+ /** Door profile type in the Visionline access system. */
225287
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
225288
+ }[] | undefined;
225289
+ } | undefined;
225290
+ /** Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225291
+ salto_ks_metadata?: {
225292
+ /** Name of the door in the Salto KS access system. */
225293
+ door_name: string;
225294
+ /** Locked state of the door in the Salto KS access system. */
225295
+ locked_state: string;
225296
+ /** Type of the lock in the Salto KS access system. */
225297
+ lock_type: string;
225298
+ /** Indicates whether the door access device is online. */
225299
+ online?: boolean | undefined;
225300
+ /** Battery level of the door access device. */
225301
+ battery_level: string;
225302
+ /** Indicates whether the door is left open. */
225303
+ left_open_alarm?: boolean | undefined;
225304
+ /** Indicates whether an intrusion alarm is active on the door. */
225305
+ intrusion_alarm?: boolean | undefined;
225306
+ /** Indicates whether privacy mode is enabled for the lock. */
225307
+ privacy_mode?: boolean | undefined;
225308
+ } | undefined;
225309
+ /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225310
+ dormakaba_community_metadata?: {
225311
+ /** Type of access point profile in the dormakaba Community access system. */
225312
+ access_point_profile: string;
225313
+ } | undefined;
225314
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225315
+ assa_abloy_vostio_metadata?: {
225316
+ /** Type of the door in the Vostio access system. */
225317
+ door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
225318
+ /** Name of the door in the Vostio access system. */
225319
+ door_name: string;
225320
+ /** Number of the door in the Vostio access system. */
225321
+ door_number?: number | undefined;
225322
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
225323
+ stand_open?: boolean | undefined;
225324
+ /** PMS ID of the door in the Vostio access system. */
225325
+ pms_id?: string | undefined;
225326
+ } | undefined;
225327
+ /** Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225328
+ salto_space_metadata?: {
225329
+ /** Door ID in the Salto Space access system. */
225330
+ door_id?: string | undefined;
225331
+ /** Name of the door in the Salto Space access system. */
225332
+ door_name?: string | undefined;
225333
+ /** Description of the door in the Salto Space access system. */
225334
+ door_description?: string | undefined;
225335
+ /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
225336
+ audit_on_keys?: boolean | undefined;
225337
+ /** Name of the room in the Salto Space access system. */
225338
+ room_name?: string | undefined;
225339
+ /** Description of the room in the Salto Space access system. */
225340
+ room_description?: string | undefined;
225341
+ } | undefined;
225342
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225343
+ dormakaba_ambiance_metadata?: {
225344
+ /** Name of the access point in the dormakaba Ambiance access system. */
225345
+ access_point_name: string;
225346
+ } | undefined;
225347
+ /** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225348
+ brivo_metadata?: {
225349
+ /** ID of the access point in the Brivo access system. */
225350
+ access_point_id: string;
225351
+ /** ID of the site that the access point belongs to. */
225352
+ site_id: number;
225353
+ /** Name of the site that the access point belongs to. */
225354
+ site_name: string;
225355
+ } | undefined;
225356
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
225357
+ can_unlock_with_mobile_key?: boolean | undefined;
225358
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
225359
+ can_unlock_with_card?: boolean | undefined;
225360
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
225361
+ can_unlock_with_code?: boolean | undefined;
225362
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
225363
+ can_unlock_with_cloud_key?: boolean | undefined;
225364
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
225365
+ can_belong_to_reservation?: boolean | undefined;
225366
+ }[];
225367
+ };
225368
+ maxDuration: undefined;
225369
+ };
225072
225370
  '/user_identities/list_acs_systems': {
225073
225371
  route: '/user_identities/list_acs_systems';
225074
225372
  method: 'GET' | 'POST';
package/dist/index.cjs CHANGED
@@ -79193,6 +79193,115 @@ var openapi_default = {
79193
79193
  "x-title": "List Accessible Devices for a User Identity"
79194
79194
  }
79195
79195
  },
79196
+ "/user_identities/list_accessible_entrances": {
79197
+ get: {
79198
+ description: "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.",
79199
+ operationId: "userIdentitiesListAccessibleEntrancesGet",
79200
+ parameters: [
79201
+ {
79202
+ in: "query",
79203
+ name: "user_identity_id",
79204
+ required: true,
79205
+ schema: {
79206
+ description: "ID of the user identity for which you want to retrieve all accessible entrances.",
79207
+ format: "uuid",
79208
+ type: "string"
79209
+ }
79210
+ }
79211
+ ],
79212
+ responses: {
79213
+ 200: {
79214
+ content: {
79215
+ "application/json": {
79216
+ schema: {
79217
+ properties: {
79218
+ acs_entrances: {
79219
+ items: { $ref: "#/components/schemas/acs_entrance" },
79220
+ type: "array"
79221
+ },
79222
+ ok: { type: "boolean" }
79223
+ },
79224
+ required: ["acs_entrances", "ok"],
79225
+ type: "object"
79226
+ }
79227
+ }
79228
+ },
79229
+ description: "OK"
79230
+ },
79231
+ 400: { description: "Bad Request" },
79232
+ 401: { description: "Unauthorized" }
79233
+ },
79234
+ security: [
79235
+ { client_session: [] },
79236
+ { pat_with_workspace: [] },
79237
+ { console_session_with_workspace: [] },
79238
+ { api_key: [] }
79239
+ ],
79240
+ summary: "/user_identities/list_accessible_entrances",
79241
+ tags: ["/user_identities"],
79242
+ "x-fern-sdk-group-name": ["user_identities"],
79243
+ "x-fern-sdk-method-name": "list_accessible_entrances",
79244
+ "x-fern-sdk-return-value": "acs_entrances",
79245
+ "x-response-key": "acs_entrances",
79246
+ "x-title": "List Accessible Entrances for a User Identity"
79247
+ },
79248
+ post: {
79249
+ description: "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.",
79250
+ operationId: "userIdentitiesListAccessibleEntrancesPost",
79251
+ requestBody: {
79252
+ content: {
79253
+ "application/json": {
79254
+ schema: {
79255
+ properties: {
79256
+ user_identity_id: {
79257
+ description: "ID of the user identity for which you want to retrieve all accessible entrances.",
79258
+ format: "uuid",
79259
+ type: "string"
79260
+ }
79261
+ },
79262
+ required: ["user_identity_id"],
79263
+ type: "object"
79264
+ }
79265
+ }
79266
+ }
79267
+ },
79268
+ responses: {
79269
+ 200: {
79270
+ content: {
79271
+ "application/json": {
79272
+ schema: {
79273
+ properties: {
79274
+ acs_entrances: {
79275
+ items: { $ref: "#/components/schemas/acs_entrance" },
79276
+ type: "array"
79277
+ },
79278
+ ok: { type: "boolean" }
79279
+ },
79280
+ required: ["acs_entrances", "ok"],
79281
+ type: "object"
79282
+ }
79283
+ }
79284
+ },
79285
+ description: "OK"
79286
+ },
79287
+ 400: { description: "Bad Request" },
79288
+ 401: { description: "Unauthorized" }
79289
+ },
79290
+ security: [
79291
+ { client_session: [] },
79292
+ { pat_with_workspace: [] },
79293
+ { console_session_with_workspace: [] },
79294
+ { api_key: [] }
79295
+ ],
79296
+ summary: "/user_identities/list_accessible_entrances",
79297
+ tags: ["/user_identities"],
79298
+ "x-fern-sdk-group-name": ["user_identities"],
79299
+ "x-fern-sdk-method-name": "list_accessible_entrances",
79300
+ "x-fern-sdk-return-value": "acs_entrances",
79301
+ "x-response-key": "acs_entrances",
79302
+ "x-title": "List Accessible Entrances for a User Identity"
79303
+ }
79304
+ },
79196
79305
  "/user_identities/list_acs_systems": {
79197
79306
  get: {
79198
79307
  description: "Returns a list of all [access systems](https://docs.seam.co/latest/capability-guides/access-systems) associated with 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).",