@workos/openapi-spec 0.160.0 → 0.162.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -1659,6 +1659,86 @@ export interface paths {
1659
1659
  patch?: never;
1660
1660
  trace?: never;
1661
1661
  };
1662
+ "/directories/{directoryId}/groups": {
1663
+ parameters: {
1664
+ query?: never;
1665
+ header?: never;
1666
+ path?: never;
1667
+ cookie?: never;
1668
+ };
1669
+ /**
1670
+ * List Groups for a Directory
1671
+ * @description Get a list of the Directory Groups in a Directory, optionally filtered to the groups a Directory User belongs to.
1672
+ */
1673
+ get: operations["DirectoriesGroupsController_list"];
1674
+ put?: never;
1675
+ post?: never;
1676
+ delete?: never;
1677
+ options?: never;
1678
+ head?: never;
1679
+ patch?: never;
1680
+ trace?: never;
1681
+ };
1682
+ "/directories/{directoryId}/groups/{groupId}": {
1683
+ parameters: {
1684
+ query?: never;
1685
+ header?: never;
1686
+ path?: never;
1687
+ cookie?: never;
1688
+ };
1689
+ /**
1690
+ * Get a Group for a Directory
1691
+ * @description Get the details of a Directory Group in a Directory.
1692
+ */
1693
+ get: operations["DirectoriesGroupsController_find"];
1694
+ put?: never;
1695
+ post?: never;
1696
+ delete?: never;
1697
+ options?: never;
1698
+ head?: never;
1699
+ patch?: never;
1700
+ trace?: never;
1701
+ };
1702
+ "/directories/{directoryId}/users": {
1703
+ parameters: {
1704
+ query?: never;
1705
+ header?: never;
1706
+ path?: never;
1707
+ cookie?: never;
1708
+ };
1709
+ /**
1710
+ * List Users for a Directory
1711
+ * @description Get a list of the Directory Users in a Directory, optionally filtered to the members of a Directory Group.
1712
+ */
1713
+ get: operations["DirectoriesUsersController_list"];
1714
+ put?: never;
1715
+ post?: never;
1716
+ delete?: never;
1717
+ options?: never;
1718
+ head?: never;
1719
+ patch?: never;
1720
+ trace?: never;
1721
+ };
1722
+ "/directories/{directoryId}/users/{userId}": {
1723
+ parameters: {
1724
+ query?: never;
1725
+ header?: never;
1726
+ path?: never;
1727
+ cookie?: never;
1728
+ };
1729
+ /**
1730
+ * Get a User for a Directory
1731
+ * @description Get the details of a Directory User in a Directory.
1732
+ */
1733
+ get: operations["DirectoriesUsersController_find"];
1734
+ put?: never;
1735
+ post?: never;
1736
+ delete?: never;
1737
+ options?: never;
1738
+ head?: never;
1739
+ patch?: never;
1740
+ trace?: never;
1741
+ };
1662
1742
  "/directories/{id}": {
1663
1743
  parameters: {
1664
1744
  query?: never;
@@ -1712,7 +1792,8 @@ export interface paths {
1712
1792
  };
1713
1793
  /**
1714
1794
  * List Directory Groups
1715
- * @description Get a list of all of existing directory groups matching the criteria specified.
1795
+ * @deprecated
1796
+ * @description Get a list of all of existing directory groups matching the criteria specified. Deprecated: use `GET /directories/{directoryId}/groups` instead.
1716
1797
  */
1717
1798
  get: operations["DirectoryGroupsController_list"];
1718
1799
  put?: never;
@@ -1732,7 +1813,8 @@ export interface paths {
1732
1813
  };
1733
1814
  /**
1734
1815
  * Get a Directory Group
1735
- * @description Get the details of an existing Directory Group.
1816
+ * @deprecated
1817
+ * @description Get the details of an existing Directory Group. Deprecated: use `GET /directories/{directoryId}/groups/{groupId}` instead.
1736
1818
  */
1737
1819
  get: operations["DirectoryGroupsController_find"];
1738
1820
  put?: never;
@@ -1752,7 +1834,8 @@ export interface paths {
1752
1834
  };
1753
1835
  /**
1754
1836
  * List Directory Users
1755
- * @description Get a list of all of existing Directory Users matching the criteria specified.
1837
+ * @deprecated
1838
+ * @description Get a list of all of existing Directory Users matching the criteria specified. Deprecated: use `GET /directories/{directoryId}/users` instead.
1756
1839
  */
1757
1840
  get: operations["DirectoryUsersController_list"];
1758
1841
  put?: never;
@@ -1772,7 +1855,8 @@ export interface paths {
1772
1855
  };
1773
1856
  /**
1774
1857
  * Get a Directory User
1775
- * @description Get the details of an existing Directory User.
1858
+ * @deprecated
1859
+ * @description Get the details of an existing Directory User. Deprecated: use `GET /directories/{directoryId}/users/{userId}` instead.
1776
1860
  */
1777
1861
  get: operations["DirectoryUsersController_find"];
1778
1862
  put?: never;
@@ -4422,14 +4506,14 @@ export interface components {
4422
4506
  organization_id: string;
4423
4507
  /**
4424
4508
  * Format: date-time
4425
- * @description ISO-8601 value for start of the export range.
4509
+ * @description ISO-8601 value for start of the export range. The range must span no more than 31 days.
4426
4510
  * @example 2022-07-02T18:09:06.996Z
4427
4511
  */
4428
4512
  range_start: string;
4429
4513
  /**
4430
4514
  * Format: date-time
4431
- * @description ISO-8601 value for end of the export range.
4432
- * @example 2022-09-02T18:09:06.996Z
4515
+ * @description ISO-8601 value for end of the export range. Must be no more than 31 days after the start.
4516
+ * @example 2022-08-02T18:09:06.996Z
4433
4517
  */
4434
4518
  range_end: string;
4435
4519
  /**
@@ -10377,6 +10461,124 @@ export interface components {
10377
10461
  after: string | null;
10378
10462
  };
10379
10463
  };
10464
+ DirectoryUser: {
10465
+ /**
10466
+ * @description Distinguishes the Directory User object.
10467
+ * @constant
10468
+ */
10469
+ object: "directory_user";
10470
+ /**
10471
+ * @description Unique identifier for the Directory User.
10472
+ * @example directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
10473
+ */
10474
+ id: string;
10475
+ /**
10476
+ * @description The identifier of the Directory the Directory User belongs to.
10477
+ * @example directory_01ECAZ4NV9QMV47GW873HDCX74
10478
+ */
10479
+ directory_id: string;
10480
+ /**
10481
+ * @description The identifier for the Organization in which the Directory resides.
10482
+ * @example org_01EZTR6WYX1A0DSE2CYMGXQ24Y
10483
+ */
10484
+ organization_id: string;
10485
+ /**
10486
+ * @description Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
10487
+ * @example 2836
10488
+ */
10489
+ idp_id: string;
10490
+ /**
10491
+ * @description The email address of the user.
10492
+ * @example marcelina.davis@example.com
10493
+ */
10494
+ email: string | null;
10495
+ /**
10496
+ * @description The first name of the user.
10497
+ * @example Marcelina
10498
+ */
10499
+ first_name?: string | null;
10500
+ /**
10501
+ * @description The last name of the user.
10502
+ * @example Davis
10503
+ */
10504
+ last_name?: string | null;
10505
+ /**
10506
+ * @description The full name of the user.
10507
+ * @example Marcelina Davis
10508
+ */
10509
+ name?: string | null;
10510
+ /**
10511
+ * @deprecated
10512
+ * @description A list of email addresses for the user.
10513
+ */
10514
+ emails?: {
10515
+ /**
10516
+ * @description Whether this is the primary email address.
10517
+ * @example true
10518
+ */
10519
+ primary?: boolean;
10520
+ /**
10521
+ * @description The type of email address.
10522
+ * @example work
10523
+ */
10524
+ type?: string;
10525
+ /**
10526
+ * @description The email address value.
10527
+ * @example marcelina.davis@example.com
10528
+ */
10529
+ value?: string | null;
10530
+ }[];
10531
+ /**
10532
+ * @deprecated
10533
+ * @description The job title of the user.
10534
+ * @example Software Engineer
10535
+ */
10536
+ job_title?: string | null;
10537
+ /**
10538
+ * @deprecated
10539
+ * @description The username of the user.
10540
+ * @example mdavis
10541
+ */
10542
+ username?: string | null;
10543
+ /**
10544
+ * @description The state of the user.
10545
+ * @example active
10546
+ * @enum {string}
10547
+ */
10548
+ state: "active" | "suspended" | "inactive";
10549
+ /**
10550
+ * @deprecated
10551
+ * @description The raw attributes received from the directory provider.
10552
+ */
10553
+ raw_attributes: {
10554
+ [key: string]: unknown;
10555
+ };
10556
+ /**
10557
+ * @description An object containing the custom attribute mapping for the Directory Provider.
10558
+ * @example {
10559
+ * "department": "Engineering",
10560
+ * "job_title": "Software Engineer"
10561
+ * }
10562
+ */
10563
+ custom_attributes: {
10564
+ [key: string]: unknown;
10565
+ };
10566
+ role?: components["schemas"]["SlimRole"];
10567
+ /** @description All roles assigned to the user. */
10568
+ roles?: components["schemas"]["SlimRole"][];
10569
+ /**
10570
+ * Format: date-time
10571
+ * @description An ISO 8601 timestamp.
10572
+ * @example 2026-01-15T12:00:00.000Z
10573
+ */
10574
+ created_at: string;
10575
+ /**
10576
+ * Format: date-time
10577
+ * @description An ISO 8601 timestamp.
10578
+ * @example 2026-01-15T12:00:00.000Z
10579
+ */
10580
+ updated_at: string;
10581
+ };
10380
10582
  DirectoryUserWithGroups: {
10381
10583
  /**
10382
10584
  * @description Distinguishes the Directory User object.
@@ -10496,7 +10698,7 @@ export interface components {
10496
10698
  updated_at: string;
10497
10699
  /**
10498
10700
  * @deprecated
10499
- * @description The directory groups the user belongs to. Deprecated: starting May 1, 2026, this field returns an empty array by default for newly created teams. Existing teams currently depending on this field should migrate to the new access pattern for better throughput performance — the field is unbounded by user, so users with many group memberships produce large, slow response payloads. Use the List Directory Groups endpoint with a `user` filter to fetch a user's group memberships.
10701
+ * @description The directory groups the user belongs to. Deprecated: use `GET /directories/{directoryId}/groups?user={userId}` instead.
10500
10702
  */
10501
10703
  groups: components["schemas"]["DirectoryGroup"][];
10502
10704
  };
@@ -10705,143 +10907,25 @@ export interface components {
10705
10907
  sessionId?: string;
10706
10908
  /**
10707
10909
  * @description The Google Analytics session number.
10708
- * @example 1
10709
- */
10710
- sessionNumber?: string;
10711
- }[];
10712
- /**
10713
- * @description The anonymous ID from analytics.
10714
- * @example ajs_anon_01EHWNCE74X7JSDV0X3SZ3KJNY
10715
- */
10716
- ajs_anonymous_id?: string;
10717
- /**
10718
- * @description The client ID associated with the event.
10719
- * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
10720
- */
10721
- client_id?: string;
10722
- actor?: components["schemas"]["EventContextActorDto"];
10723
- /** @description Attributes that changed from their previous values. */
10724
- previous_attributes?: {
10725
- [key: string]: unknown;
10726
- };
10727
- };
10728
- DirectoryUser: {
10729
- /**
10730
- * @description Distinguishes the Directory User object.
10731
- * @constant
10732
- */
10733
- object: "directory_user";
10734
- /**
10735
- * @description Unique identifier for the Directory User.
10736
- * @example directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
10737
- */
10738
- id: string;
10739
- /**
10740
- * @description The identifier of the Directory the Directory User belongs to.
10741
- * @example directory_01ECAZ4NV9QMV47GW873HDCX74
10742
- */
10743
- directory_id: string;
10744
- /**
10745
- * @description The identifier for the Organization in which the Directory resides.
10746
- * @example org_01EZTR6WYX1A0DSE2CYMGXQ24Y
10747
- */
10748
- organization_id: string;
10749
- /**
10750
- * @description Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
10751
- * @example 2836
10752
- */
10753
- idp_id: string;
10754
- /**
10755
- * @description The email address of the user.
10756
- * @example marcelina.davis@example.com
10757
- */
10758
- email: string | null;
10759
- /**
10760
- * @description The first name of the user.
10761
- * @example Marcelina
10762
- */
10763
- first_name?: string | null;
10764
- /**
10765
- * @description The last name of the user.
10766
- * @example Davis
10767
- */
10768
- last_name?: string | null;
10769
- /**
10770
- * @description The full name of the user.
10771
- * @example Marcelina Davis
10772
- */
10773
- name?: string | null;
10774
- /**
10775
- * @deprecated
10776
- * @description A list of email addresses for the user.
10777
- */
10778
- emails?: {
10779
- /**
10780
- * @description Whether this is the primary email address.
10781
- * @example true
10782
- */
10783
- primary?: boolean;
10784
- /**
10785
- * @description The type of email address.
10786
- * @example work
10787
- */
10788
- type?: string;
10789
- /**
10790
- * @description The email address value.
10791
- * @example marcelina.davis@example.com
10792
- */
10793
- value?: string | null;
10794
- }[];
10795
- /**
10796
- * @deprecated
10797
- * @description The job title of the user.
10798
- * @example Software Engineer
10799
- */
10800
- job_title?: string | null;
10801
- /**
10802
- * @deprecated
10803
- * @description The username of the user.
10804
- * @example mdavis
10805
- */
10806
- username?: string | null;
10807
- /**
10808
- * @description The state of the user.
10809
- * @example active
10810
- * @enum {string}
10811
- */
10812
- state: "active" | "suspended" | "inactive";
10813
- /**
10814
- * @deprecated
10815
- * @description The raw attributes received from the directory provider.
10816
- */
10817
- raw_attributes: {
10818
- [key: string]: unknown;
10819
- };
10820
- /**
10821
- * @description An object containing the custom attribute mapping for the Directory Provider.
10822
- * @example {
10823
- * "department": "Engineering",
10824
- * "job_title": "Software Engineer"
10825
- * }
10826
- */
10827
- custom_attributes: {
10828
- [key: string]: unknown;
10829
- };
10830
- role?: components["schemas"]["SlimRole"];
10831
- /** @description All roles assigned to the user. */
10832
- roles?: components["schemas"]["SlimRole"][];
10910
+ * @example 1
10911
+ */
10912
+ sessionNumber?: string;
10913
+ }[];
10833
10914
  /**
10834
- * Format: date-time
10835
- * @description An ISO 8601 timestamp.
10836
- * @example 2026-01-15T12:00:00.000Z
10915
+ * @description The anonymous ID from analytics.
10916
+ * @example ajs_anon_01EHWNCE74X7JSDV0X3SZ3KJNY
10837
10917
  */
10838
- created_at: string;
10918
+ ajs_anonymous_id?: string;
10839
10919
  /**
10840
- * Format: date-time
10841
- * @description An ISO 8601 timestamp.
10842
- * @example 2026-01-15T12:00:00.000Z
10920
+ * @description The client ID associated with the event.
10921
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
10843
10922
  */
10844
- updated_at: string;
10923
+ client_id?: string;
10924
+ actor?: components["schemas"]["EventContextActorDto"];
10925
+ /** @description Attributes that changed from their previous values. */
10926
+ previous_attributes?: {
10927
+ [key: string]: unknown;
10928
+ };
10845
10929
  };
10846
10930
  FlagRule: {
10847
10931
  /** @constant */
@@ -31184,6 +31268,262 @@ export interface operations {
31184
31268
  };
31185
31269
  };
31186
31270
  };
31271
+ DirectoriesGroupsController_list: {
31272
+ parameters: {
31273
+ query?: {
31274
+ /** @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `"obj_123"`, your subsequent call can include `before="obj_123"` to fetch a new batch of objects before `"obj_123"`. */
31275
+ before?: string;
31276
+ /** @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `"obj_123"`, your subsequent call can include `after="obj_123"` to fetch a new batch of objects after `"obj_123"`. */
31277
+ after?: string;
31278
+ /** @description Upper limit on the number of objects to return, between `1` and `100`. */
31279
+ limit?: number;
31280
+ /** @description Order the results by the creation time. Supported values are `"asc"` (ascending), `"desc"` (descending), and `"normal"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to `normal`. */
31281
+ order?: components["schemas"]["PaginationOrder"];
31282
+ /** @description Filter Directory Groups to those this Directory User belongs to. */
31283
+ user?: string;
31284
+ };
31285
+ header?: never;
31286
+ path: {
31287
+ /** @description Unique identifier of the Directory. */
31288
+ directoryId: string;
31289
+ };
31290
+ cookie?: never;
31291
+ };
31292
+ requestBody?: never;
31293
+ responses: {
31294
+ /** @description OK */
31295
+ 200: {
31296
+ headers: {
31297
+ [name: string]: unknown;
31298
+ };
31299
+ content: {
31300
+ "application/json": {
31301
+ /**
31302
+ * @description Indicates this is a list response.
31303
+ * @constant
31304
+ */
31305
+ object?: "list";
31306
+ /** @description Pagination cursors for navigating between pages of results. */
31307
+ list_metadata?: {
31308
+ /**
31309
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
31310
+ * @example directory_group_01HXYZ123456789ABCDEFGHIJ
31311
+ */
31312
+ before: string | null;
31313
+ /**
31314
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
31315
+ * @example directory_group_01HXYZ987654321KJIHGFEDCBA
31316
+ */
31317
+ after: string | null;
31318
+ };
31319
+ } & {
31320
+ /** @description The list of records for the current page. */
31321
+ data?: components["schemas"]["DirectoryGroup"][];
31322
+ };
31323
+ };
31324
+ };
31325
+ /** @description Forbidden */
31326
+ 403: {
31327
+ headers: {
31328
+ [name: string]: unknown;
31329
+ };
31330
+ content: {
31331
+ "application/json": components["schemas"]["ErrorBody"];
31332
+ };
31333
+ };
31334
+ /** @description Not Found */
31335
+ 404: {
31336
+ headers: {
31337
+ [name: string]: unknown;
31338
+ };
31339
+ content: {
31340
+ "application/json": components["schemas"]["ErrorBody"];
31341
+ };
31342
+ };
31343
+ /** @description Unprocessable Entity */
31344
+ 422: {
31345
+ headers: {
31346
+ [name: string]: unknown;
31347
+ };
31348
+ content: {
31349
+ "application/json": components["schemas"]["ErrorBody"];
31350
+ };
31351
+ };
31352
+ };
31353
+ };
31354
+ DirectoriesGroupsController_find: {
31355
+ parameters: {
31356
+ query?: never;
31357
+ header?: never;
31358
+ path: {
31359
+ /** @description Unique identifier of the Directory. */
31360
+ directoryId: string;
31361
+ /** @description Unique identifier for the Directory Group. */
31362
+ groupId: string;
31363
+ };
31364
+ cookie?: never;
31365
+ };
31366
+ requestBody?: never;
31367
+ responses: {
31368
+ /** @description OK */
31369
+ 200: {
31370
+ headers: {
31371
+ [name: string]: unknown;
31372
+ };
31373
+ content: {
31374
+ "application/json": components["schemas"]["DirectoryGroup"];
31375
+ };
31376
+ };
31377
+ /** @description Forbidden */
31378
+ 403: {
31379
+ headers: {
31380
+ [name: string]: unknown;
31381
+ };
31382
+ content: {
31383
+ "application/json": components["schemas"]["ErrorBody"];
31384
+ };
31385
+ };
31386
+ /** @description Not Found */
31387
+ 404: {
31388
+ headers: {
31389
+ [name: string]: unknown;
31390
+ };
31391
+ content: {
31392
+ "application/json": components["schemas"]["ErrorBody"];
31393
+ };
31394
+ };
31395
+ };
31396
+ };
31397
+ DirectoriesUsersController_list: {
31398
+ parameters: {
31399
+ query?: {
31400
+ /** @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `"obj_123"`, your subsequent call can include `before="obj_123"` to fetch a new batch of objects before `"obj_123"`. */
31401
+ before?: string;
31402
+ /** @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `"obj_123"`, your subsequent call can include `after="obj_123"` to fetch a new batch of objects after `"obj_123"`. */
31403
+ after?: string;
31404
+ /** @description Upper limit on the number of objects to return, between `1` and `100`. */
31405
+ limit?: number;
31406
+ /** @description Order the results by the creation time. Supported values are `"asc"` (ascending), `"desc"` (descending), and `"normal"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to `normal`. */
31407
+ order?: components["schemas"]["PaginationOrder"];
31408
+ /** @description Filter Directory Users to the members of this Directory Group. */
31409
+ group?: string;
31410
+ /** @description Filter Directory Users by the identity provider's unique identifier (`idp_id`). */
31411
+ idp_id?: string;
31412
+ /** @description Filter Directory Users by their primary email address. */
31413
+ email?: string;
31414
+ };
31415
+ header?: never;
31416
+ path: {
31417
+ /** @description Unique identifier of the Directory. */
31418
+ directoryId: string;
31419
+ };
31420
+ cookie?: never;
31421
+ };
31422
+ requestBody?: never;
31423
+ responses: {
31424
+ /** @description OK */
31425
+ 200: {
31426
+ headers: {
31427
+ [name: string]: unknown;
31428
+ };
31429
+ content: {
31430
+ "application/json": {
31431
+ /**
31432
+ * @description Indicates this is a list response.
31433
+ * @constant
31434
+ */
31435
+ object?: "list";
31436
+ /** @description Pagination cursors for navigating between pages of results. */
31437
+ list_metadata?: {
31438
+ /**
31439
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.
31440
+ * @example directory_user_01HXYZ123456789ABCDEFGHIJ
31441
+ */
31442
+ before: string | null;
31443
+ /**
31444
+ * @description An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.
31445
+ * @example directory_user_01HXYZ987654321KJIHGFEDCBA
31446
+ */
31447
+ after: string | null;
31448
+ };
31449
+ } & {
31450
+ /** @description The list of records for the current page. */
31451
+ data?: components["schemas"]["DirectoryUser"][];
31452
+ };
31453
+ };
31454
+ };
31455
+ /** @description Forbidden */
31456
+ 403: {
31457
+ headers: {
31458
+ [name: string]: unknown;
31459
+ };
31460
+ content: {
31461
+ "application/json": components["schemas"]["ErrorBody"];
31462
+ };
31463
+ };
31464
+ /** @description Not Found */
31465
+ 404: {
31466
+ headers: {
31467
+ [name: string]: unknown;
31468
+ };
31469
+ content: {
31470
+ "application/json": components["schemas"]["ErrorBody"];
31471
+ };
31472
+ };
31473
+ /** @description Unprocessable Entity */
31474
+ 422: {
31475
+ headers: {
31476
+ [name: string]: unknown;
31477
+ };
31478
+ content: {
31479
+ "application/json": components["schemas"]["ErrorBody"];
31480
+ };
31481
+ };
31482
+ };
31483
+ };
31484
+ DirectoriesUsersController_find: {
31485
+ parameters: {
31486
+ query?: never;
31487
+ header?: never;
31488
+ path: {
31489
+ /** @description Unique identifier of the Directory. */
31490
+ directoryId: string;
31491
+ /** @description Unique identifier for the Directory User. */
31492
+ userId: string;
31493
+ };
31494
+ cookie?: never;
31495
+ };
31496
+ requestBody?: never;
31497
+ responses: {
31498
+ /** @description OK */
31499
+ 200: {
31500
+ headers: {
31501
+ [name: string]: unknown;
31502
+ };
31503
+ content: {
31504
+ "application/json": components["schemas"]["DirectoryUser"];
31505
+ };
31506
+ };
31507
+ /** @description Forbidden */
31508
+ 403: {
31509
+ headers: {
31510
+ [name: string]: unknown;
31511
+ };
31512
+ content: {
31513
+ "application/json": components["schemas"]["ErrorBody"];
31514
+ };
31515
+ };
31516
+ /** @description Not Found */
31517
+ 404: {
31518
+ headers: {
31519
+ [name: string]: unknown;
31520
+ };
31521
+ content: {
31522
+ "application/json": components["schemas"]["ErrorBody"];
31523
+ };
31524
+ };
31525
+ };
31526
+ };
31187
31527
  DirectoriesController_find: {
31188
31528
  parameters: {
31189
31529
  query?: never;