@seamapi/types 1.777.0 → 1.779.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.
@@ -102561,6 +102561,11 @@ declare const _default: {
102561
102561
  description: string;
102562
102562
  type: string;
102563
102563
  };
102564
+ parent_site_key: {
102565
+ description: string;
102566
+ minLength: number;
102567
+ type: string;
102568
+ };
102564
102569
  space_key: {
102565
102570
  description: string;
102566
102571
  minLength: number;
@@ -103692,6 +103697,11 @@ declare const _default: {
103692
103697
  description: string;
103693
103698
  type: string;
103694
103699
  };
103700
+ parent_site_key: {
103701
+ description: string;
103702
+ minLength: number;
103703
+ type: string;
103704
+ };
103695
103705
  space_key: {
103696
103706
  description: string;
103697
103707
  minLength: number;
@@ -129400,6 +129410,11 @@ declare const _default: {
129400
129410
  description: string;
129401
129411
  type: string;
129402
129412
  };
129413
+ parent_site_key: {
129414
+ description: string;
129415
+ minLength: number;
129416
+ type: string;
129417
+ };
129403
129418
  space_key: {
129404
129419
  description: string;
129405
129420
  minLength: number;
@@ -129489,6 +129504,11 @@ declare const _default: {
129489
129504
  description: string;
129490
129505
  type: string;
129491
129506
  };
129507
+ parent_site_key: {
129508
+ description: string;
129509
+ minLength: number;
129510
+ type: string;
129511
+ };
129492
129512
  space_key: {
129493
129513
  description: string;
129494
129514
  minLength: number;
@@ -129650,6 +129670,11 @@ declare const _default: {
129650
129670
  description: string;
129651
129671
  type: string;
129652
129672
  };
129673
+ parent_site_key: {
129674
+ description: string;
129675
+ minLength: number;
129676
+ type: string;
129677
+ };
129653
129678
  space_key: {
129654
129679
  description: string;
129655
129680
  minLength: number;
@@ -131371,6 +131396,159 @@ declare const _default: {
131371
131396
  'x-title': string;
131372
131397
  };
131373
131398
  };
131399
+ '/user_identities/list_accessible_entrances': {
131400
+ get: {
131401
+ description: string;
131402
+ operationId: string;
131403
+ parameters: {
131404
+ in: string;
131405
+ name: string;
131406
+ required: boolean;
131407
+ schema: {
131408
+ description: string;
131409
+ format: string;
131410
+ type: string;
131411
+ };
131412
+ }[];
131413
+ responses: {
131414
+ 200: {
131415
+ content: {
131416
+ 'application/json': {
131417
+ schema: {
131418
+ properties: {
131419
+ acs_entrances: {
131420
+ items: {
131421
+ $ref: string;
131422
+ };
131423
+ type: string;
131424
+ };
131425
+ ok: {
131426
+ type: string;
131427
+ };
131428
+ };
131429
+ required: string[];
131430
+ type: string;
131431
+ };
131432
+ };
131433
+ };
131434
+ description: string;
131435
+ };
131436
+ 400: {
131437
+ description: string;
131438
+ };
131439
+ 401: {
131440
+ description: string;
131441
+ };
131442
+ };
131443
+ security: ({
131444
+ client_session: never[];
131445
+ pat_with_workspace?: never;
131446
+ console_session_with_workspace?: never;
131447
+ api_key?: never;
131448
+ } | {
131449
+ pat_with_workspace: never[];
131450
+ client_session?: never;
131451
+ console_session_with_workspace?: never;
131452
+ api_key?: never;
131453
+ } | {
131454
+ console_session_with_workspace: never[];
131455
+ client_session?: never;
131456
+ pat_with_workspace?: never;
131457
+ api_key?: never;
131458
+ } | {
131459
+ api_key: never[];
131460
+ client_session?: never;
131461
+ pat_with_workspace?: never;
131462
+ console_session_with_workspace?: never;
131463
+ })[];
131464
+ summary: string;
131465
+ tags: string[];
131466
+ 'x-fern-sdk-group-name': string[];
131467
+ 'x-fern-sdk-method-name': string;
131468
+ 'x-fern-sdk-return-value': string;
131469
+ 'x-response-key': string;
131470
+ 'x-title': string;
131471
+ };
131472
+ post: {
131473
+ description: string;
131474
+ operationId: string;
131475
+ requestBody: {
131476
+ content: {
131477
+ 'application/json': {
131478
+ schema: {
131479
+ properties: {
131480
+ user_identity_id: {
131481
+ description: string;
131482
+ format: string;
131483
+ type: string;
131484
+ };
131485
+ };
131486
+ required: string[];
131487
+ type: string;
131488
+ };
131489
+ };
131490
+ };
131491
+ };
131492
+ responses: {
131493
+ 200: {
131494
+ content: {
131495
+ 'application/json': {
131496
+ schema: {
131497
+ properties: {
131498
+ acs_entrances: {
131499
+ items: {
131500
+ $ref: string;
131501
+ };
131502
+ type: string;
131503
+ };
131504
+ ok: {
131505
+ type: string;
131506
+ };
131507
+ };
131508
+ required: string[];
131509
+ type: string;
131510
+ };
131511
+ };
131512
+ };
131513
+ description: string;
131514
+ };
131515
+ 400: {
131516
+ description: string;
131517
+ };
131518
+ 401: {
131519
+ description: string;
131520
+ };
131521
+ };
131522
+ security: ({
131523
+ client_session: never[];
131524
+ pat_with_workspace?: never;
131525
+ console_session_with_workspace?: never;
131526
+ api_key?: never;
131527
+ } | {
131528
+ pat_with_workspace: never[];
131529
+ client_session?: never;
131530
+ console_session_with_workspace?: never;
131531
+ api_key?: never;
131532
+ } | {
131533
+ console_session_with_workspace: never[];
131534
+ client_session?: never;
131535
+ pat_with_workspace?: never;
131536
+ api_key?: never;
131537
+ } | {
131538
+ api_key: never[];
131539
+ client_session?: never;
131540
+ pat_with_workspace?: never;
131541
+ console_session_with_workspace?: never;
131542
+ })[];
131543
+ summary: string;
131544
+ tags: string[];
131545
+ 'x-fern-sdk-group-name': string[];
131546
+ 'x-fern-sdk-method-name': string;
131547
+ 'x-fern-sdk-return-value': string;
131548
+ 'x-response-key': string;
131549
+ 'x-title': string;
131550
+ };
131551
+ };
131374
131552
  '/user_identities/list_acs_systems': {
131375
131553
  get: {
131376
131554
  description: string;
@@ -166350,6 +166528,8 @@ type Routes = {
166350
166528
  name: string;
166351
166529
  /** Your unique identifier for the space. */
166352
166530
  space_key: string;
166531
+ /** Your unique identifier for the site. */
166532
+ parent_site_key?: string | undefined;
166353
166533
  }[] | undefined;
166354
166534
  /** List of general sites or areas. */
166355
166535
  sites?: {
@@ -166718,6 +166898,8 @@ type Routes = {
166718
166898
  name: string;
166719
166899
  /** Your unique identifier for the space. */
166720
166900
  space_key: string;
166901
+ /** Your unique identifier for the site. */
166902
+ parent_site_key?: string | undefined;
166721
166903
  }[] | undefined;
166722
166904
  /** List of general sites or areas. */
166723
166905
  sites?: {
@@ -221909,6 +222091,8 @@ type Routes = {
221909
222091
  name: string;
221910
222092
  /** Your unique identifier for the space. */
221911
222093
  space_key: string;
222094
+ /** Your unique identifier for the site. */
222095
+ parent_site_key?: string | undefined;
221912
222096
  }[] | undefined;
221913
222097
  };
221914
222098
  formData: {};
@@ -221978,6 +222162,8 @@ type Routes = {
221978
222162
  name: string;
221979
222163
  /** Your unique identifier for the space. */
221980
222164
  space_key: string;
222165
+ /** Your unique identifier for the site. */
222166
+ parent_site_key?: string | undefined;
221981
222167
  }[] | undefined;
221982
222168
  };
221983
222169
  formData: {};
@@ -225069,6 +225255,151 @@ type Routes = {
225069
225255
  };
225070
225256
  maxDuration: undefined;
225071
225257
  };
225258
+ '/user_identities/list_accessible_entrances': {
225259
+ route: '/user_identities/list_accessible_entrances';
225260
+ method: 'GET' | 'POST';
225261
+ queryParams: {};
225262
+ jsonBody: {};
225263
+ commonParams: {
225264
+ /** ID of the user identity for which you want to retrieve all accessible entrances. */
225265
+ user_identity_id: string;
225266
+ };
225267
+ formData: {};
225268
+ jsonResponse: {
225269
+ acs_entrances: {
225270
+ /** 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). */
225271
+ acs_system_id: string;
225272
+ /** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225273
+ acs_entrance_id: string;
225274
+ /** IDs of the spaces that the entrance is in. */
225275
+ space_ids: string[];
225276
+ /** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
225277
+ created_at: string;
225278
+ /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225279
+ display_name: string;
225280
+ /** 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). */
225281
+ connected_account_id: string;
225282
+ /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225283
+ errors: {
225284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
225285
+ error_code: string;
225286
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
225287
+ message: string;
225288
+ }[];
225289
+ /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225290
+ latch_metadata?: {
225291
+ /** Accessibility type in the Latch access system. */
225292
+ accessibility_type: string;
225293
+ /** Name of the door in the Latch access system. */
225294
+ door_name: string;
225295
+ /** Type of the door in the Latch access system. */
225296
+ door_type: string;
225297
+ /** Indicates whether the entrance is connected. */
225298
+ is_connected: boolean;
225299
+ } | undefined;
225300
+ /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225301
+ hotek_metadata?: {
225302
+ /** Room number of the entrance. */
225303
+ room_number?: string | undefined;
225304
+ /** Display name of the entrance. */
225305
+ common_area_number?: string | undefined;
225306
+ /** Display name of the entrance. */
225307
+ common_area_name?: string | undefined;
225308
+ } | undefined;
225309
+ /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225310
+ visionline_metadata?: {
225311
+ /** Name of the door in the Visionline access system. */
225312
+ door_name: string;
225313
+ /** Category of the door in the Visionline access system. */
225314
+ door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
225315
+ /** Profile for the door in the Visionline access system. */
225316
+ profiles?: {
225317
+ /** Door profile ID in the Visionline access system. */
225318
+ visionline_door_profile_id: string;
225319
+ /** Door profile type in the Visionline access system. */
225320
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
225321
+ }[] | undefined;
225322
+ } | undefined;
225323
+ /** Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225324
+ salto_ks_metadata?: {
225325
+ /** Name of the door in the Salto KS access system. */
225326
+ door_name: string;
225327
+ /** Locked state of the door in the Salto KS access system. */
225328
+ locked_state: string;
225329
+ /** Type of the lock in the Salto KS access system. */
225330
+ lock_type: string;
225331
+ /** Indicates whether the door access device is online. */
225332
+ online?: boolean | undefined;
225333
+ /** Battery level of the door access device. */
225334
+ battery_level: string;
225335
+ /** Indicates whether the door is left open. */
225336
+ left_open_alarm?: boolean | undefined;
225337
+ /** Indicates whether an intrusion alarm is active on the door. */
225338
+ intrusion_alarm?: boolean | undefined;
225339
+ /** Indicates whether privacy mode is enabled for the lock. */
225340
+ privacy_mode?: boolean | undefined;
225341
+ } | undefined;
225342
+ /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225343
+ dormakaba_community_metadata?: {
225344
+ /** Type of access point profile in the dormakaba Community access system. */
225345
+ access_point_profile: string;
225346
+ } | undefined;
225347
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225348
+ assa_abloy_vostio_metadata?: {
225349
+ /** Type of the door in the Vostio access system. */
225350
+ door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
225351
+ /** Name of the door in the Vostio access system. */
225352
+ door_name: string;
225353
+ /** Number of the door in the Vostio access system. */
225354
+ door_number?: number | undefined;
225355
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
225356
+ stand_open?: boolean | undefined;
225357
+ /** PMS ID of the door in the Vostio access system. */
225358
+ pms_id?: string | undefined;
225359
+ } | undefined;
225360
+ /** Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225361
+ salto_space_metadata?: {
225362
+ /** Door ID in the Salto Space access system. */
225363
+ door_id?: string | undefined;
225364
+ /** Name of the door in the Salto Space access system. */
225365
+ door_name?: string | undefined;
225366
+ /** Description of the door in the Salto Space access system. */
225367
+ door_description?: string | undefined;
225368
+ /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
225369
+ audit_on_keys?: boolean | undefined;
225370
+ /** Name of the room in the Salto Space access system. */
225371
+ room_name?: string | undefined;
225372
+ /** Description of the room in the Salto Space access system. */
225373
+ room_description?: string | undefined;
225374
+ } | undefined;
225375
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225376
+ dormakaba_ambiance_metadata?: {
225377
+ /** Name of the access point in the dormakaba Ambiance access system. */
225378
+ access_point_name: string;
225379
+ } | undefined;
225380
+ /** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
225381
+ brivo_metadata?: {
225382
+ /** ID of the access point in the Brivo access system. */
225383
+ access_point_id: string;
225384
+ /** ID of the site that the access point belongs to. */
225385
+ site_id: number;
225386
+ /** Name of the site that the access point belongs to. */
225387
+ site_name: string;
225388
+ } | undefined;
225389
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
225390
+ can_unlock_with_mobile_key?: boolean | undefined;
225391
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
225392
+ can_unlock_with_card?: boolean | undefined;
225393
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
225394
+ can_unlock_with_code?: boolean | undefined;
225395
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
225396
+ can_unlock_with_cloud_key?: boolean | undefined;
225397
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
225398
+ can_belong_to_reservation?: boolean | undefined;
225399
+ }[];
225400
+ };
225401
+ maxDuration: undefined;
225402
+ };
225072
225403
  '/user_identities/list_acs_systems': {
225073
225404
  route: '/user_identities/list_acs_systems';
225074
225405
  method: 'GET' | 'POST';
package/dist/index.cjs CHANGED
@@ -52693,6 +52693,11 @@ var openapi_default = {
52693
52693
  description: "Your display name for this location resource.",
52694
52694
  type: "string"
52695
52695
  },
52696
+ parent_site_key: {
52697
+ description: "Your unique identifier for the site.",
52698
+ minLength: 1,
52699
+ type: "string"
52700
+ },
52696
52701
  space_key: {
52697
52702
  description: "Your unique identifier for the space.",
52698
52703
  minLength: 1,
@@ -53815,6 +53820,11 @@ var openapi_default = {
53815
53820
  description: "Your display name for this location resource.",
53816
53821
  type: "string"
53817
53822
  },
53823
+ parent_site_key: {
53824
+ description: "Your unique identifier for the site.",
53825
+ minLength: 1,
53826
+ type: "string"
53827
+ },
53818
53828
  space_key: {
53819
53829
  description: "Your unique identifier for the space.",
53820
53830
  minLength: 1,
@@ -77677,6 +77687,11 @@ var openapi_default = {
77677
77687
  description: "Your display name for this location resource.",
77678
77688
  type: "string"
77679
77689
  },
77690
+ parent_site_key: {
77691
+ description: "Your unique identifier for the site.",
77692
+ minLength: 1,
77693
+ type: "string"
77694
+ },
77680
77695
  space_key: {
77681
77696
  description: "Your unique identifier for the space.",
77682
77697
  minLength: 1,
@@ -77754,6 +77769,11 @@ var openapi_default = {
77754
77769
  description: "Your display name for this location resource.",
77755
77770
  type: "string"
77756
77771
  },
77772
+ parent_site_key: {
77773
+ description: "Your unique identifier for the site.",
77774
+ minLength: 1,
77775
+ type: "string"
77776
+ },
77757
77777
  space_key: {
77758
77778
  description: "Your unique identifier for the space.",
77759
77779
  minLength: 1,
@@ -77883,6 +77903,11 @@ var openapi_default = {
77883
77903
  description: "Your display name for this location resource.",
77884
77904
  type: "string"
77885
77905
  },
77906
+ parent_site_key: {
77907
+ description: "Your unique identifier for the site.",
77908
+ minLength: 1,
77909
+ type: "string"
77910
+ },
77886
77911
  space_key: {
77887
77912
  description: "Your unique identifier for the space.",
77888
77913
  minLength: 1,
@@ -79193,6 +79218,115 @@ var openapi_default = {
79193
79218
  "x-title": "List Accessible Devices for a User Identity"
79194
79219
  }
79195
79220
  },
79221
+ "/user_identities/list_accessible_entrances": {
79222
+ get: {
79223
+ 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.",
79224
+ operationId: "userIdentitiesListAccessibleEntrancesGet",
79225
+ parameters: [
79226
+ {
79227
+ in: "query",
79228
+ name: "user_identity_id",
79229
+ required: true,
79230
+ schema: {
79231
+ description: "ID of the user identity for which you want to retrieve all accessible entrances.",
79232
+ format: "uuid",
79233
+ type: "string"
79234
+ }
79235
+ }
79236
+ ],
79237
+ responses: {
79238
+ 200: {
79239
+ content: {
79240
+ "application/json": {
79241
+ schema: {
79242
+ properties: {
79243
+ acs_entrances: {
79244
+ items: { $ref: "#/components/schemas/acs_entrance" },
79245
+ type: "array"
79246
+ },
79247
+ ok: { type: "boolean" }
79248
+ },
79249
+ required: ["acs_entrances", "ok"],
79250
+ type: "object"
79251
+ }
79252
+ }
79253
+ },
79254
+ description: "OK"
79255
+ },
79256
+ 400: { description: "Bad Request" },
79257
+ 401: { description: "Unauthorized" }
79258
+ },
79259
+ security: [
79260
+ { client_session: [] },
79261
+ { pat_with_workspace: [] },
79262
+ { console_session_with_workspace: [] },
79263
+ { api_key: [] }
79264
+ ],
79265
+ summary: "/user_identities/list_accessible_entrances",
79266
+ tags: ["/user_identities"],
79267
+ "x-fern-sdk-group-name": ["user_identities"],
79268
+ "x-fern-sdk-method-name": "list_accessible_entrances",
79269
+ "x-fern-sdk-return-value": "acs_entrances",
79270
+ "x-response-key": "acs_entrances",
79271
+ "x-title": "List Accessible Entrances for a User Identity"
79272
+ },
79273
+ post: {
79274
+ 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.",
79275
+ operationId: "userIdentitiesListAccessibleEntrancesPost",
79276
+ requestBody: {
79277
+ content: {
79278
+ "application/json": {
79279
+ schema: {
79280
+ properties: {
79281
+ user_identity_id: {
79282
+ description: "ID of the user identity for which you want to retrieve all accessible entrances.",
79283
+ format: "uuid",
79284
+ type: "string"
79285
+ }
79286
+ },
79287
+ required: ["user_identity_id"],
79288
+ type: "object"
79289
+ }
79290
+ }
79291
+ }
79292
+ },
79293
+ responses: {
79294
+ 200: {
79295
+ content: {
79296
+ "application/json": {
79297
+ schema: {
79298
+ properties: {
79299
+ acs_entrances: {
79300
+ items: { $ref: "#/components/schemas/acs_entrance" },
79301
+ type: "array"
79302
+ },
79303
+ ok: { type: "boolean" }
79304
+ },
79305
+ required: ["acs_entrances", "ok"],
79306
+ type: "object"
79307
+ }
79308
+ }
79309
+ },
79310
+ description: "OK"
79311
+ },
79312
+ 400: { description: "Bad Request" },
79313
+ 401: { description: "Unauthorized" }
79314
+ },
79315
+ security: [
79316
+ { client_session: [] },
79317
+ { pat_with_workspace: [] },
79318
+ { console_session_with_workspace: [] },
79319
+ { api_key: [] }
79320
+ ],
79321
+ summary: "/user_identities/list_accessible_entrances",
79322
+ tags: ["/user_identities"],
79323
+ "x-fern-sdk-group-name": ["user_identities"],
79324
+ "x-fern-sdk-method-name": "list_accessible_entrances",
79325
+ "x-fern-sdk-return-value": "acs_entrances",
79326
+ "x-response-key": "acs_entrances",
79327
+ "x-title": "List Accessible Entrances for a User Identity"
79328
+ }
79329
+ },
79196
79330
  "/user_identities/list_acs_systems": {
79197
79331
  get: {
79198
79332
  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).",