@company-semantics/contracts 0.123.0 → 0.124.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.
@@ -514,12 +514,7 @@ export interface paths {
514
514
  path?: never;
515
515
  cookie?: never;
516
516
  };
517
- /**
518
- * List and search Google Drive files
519
- * @description Returns a paginated list of Google Drive files accessible via the org's
520
- * connected Google Drive integration. Supports search, pagination, and
521
- * MIME type filtering. Requires an active google_drive connection.
522
- */
517
+ /** List Google Drive files */
523
518
  get: operations["listDriveFiles"];
524
519
  put?: never;
525
520
  post?: never;
@@ -536,12 +531,7 @@ export interface paths {
536
531
  path?: never;
537
532
  cookie?: never;
538
533
  };
539
- /**
540
- * Get text content from a Google Drive file
541
- * @description Extracts text content from a Google Drive file. The export strategy
542
- * is determined by the file's MIME type. Requires an active google_drive
543
- * connection.
544
- */
534
+ /** Get extracted text content from a Google Drive file */
545
535
  get: operations["getDriveFileContent"];
546
536
  put?: never;
547
537
  post?: never;
@@ -558,13 +548,7 @@ export interface paths {
558
548
  path?: never;
559
549
  cookie?: never;
560
550
  };
561
- /**
562
- * List recently modified Google Drive files
563
- * @description Returns a paginated list of recently modified Google Drive files
564
- * accessible via the org's connected Google Drive integration.
565
- * Files are ordered by modifiedTime descending. Requires an active
566
- * google_drive connection.
567
- */
551
+ /** List recently modified Google Drive files */
568
552
  get: operations["listRecentDriveFiles"];
569
553
  put?: never;
570
554
  post?: never;
@@ -1460,12 +1444,7 @@ export interface paths {
1460
1444
  path?: never;
1461
1445
  cookie?: never;
1462
1446
  };
1463
- /**
1464
- * Get the goal tree for the current org
1465
- * @description Returns the goal tree for the current org with cursor pagination.
1466
- * Auto-materializes docs on first access.
1467
- * Requires org.view_goals capability.
1468
- */
1447
+ /** Get company.md document tree */
1469
1448
  get: operations["getCompanyMdTree"];
1470
1449
  put?: never;
1471
1450
  post?: never;
@@ -1482,12 +1461,7 @@ export interface paths {
1482
1461
  path?: never;
1483
1462
  cookie?: never;
1484
1463
  };
1485
- /**
1486
- * Get a goal doc by slug
1487
- * @description Returns a single goal doc by slug with computed fields.
1488
- * Enforces visibility (returns 404 if user cannot see the doc).
1489
- * Requires org.view_goals capability.
1490
- */
1464
+ /** Get a company.md document by slug */
1491
1465
  get: operations["getCompanyMdDoc"];
1492
1466
  put?: never;
1493
1467
  post?: never;
@@ -1505,11 +1479,7 @@ export interface paths {
1505
1479
  cookie?: never;
1506
1480
  };
1507
1481
  get?: never;
1508
- /**
1509
- * Update goal doc content
1510
- * @description Updates the content of a goal doc.
1511
- * canEdit checked in service (owner/co-owner/manage_goals).
1512
- */
1482
+ /** Update a company.md document content */
1513
1483
  put: operations["updateCompanyMdDocContent"];
1514
1484
  post?: never;
1515
1485
  delete?: never;
@@ -1526,11 +1496,7 @@ export interface paths {
1526
1496
  cookie?: never;
1527
1497
  };
1528
1498
  get?: never;
1529
- /**
1530
- * Update goal doc title
1531
- * @description Updates the title of a goal doc.
1532
- * canEdit checked in service (owner/co-owner/manage_goals).
1533
- */
1499
+ /** Update a company.md document title */
1534
1500
  put: operations["updateCompanyMdDocTitle"];
1535
1501
  post?: never;
1536
1502
  delete?: never;
@@ -1546,11 +1512,7 @@ export interface paths {
1546
1512
  path?: never;
1547
1513
  cookie?: never;
1548
1514
  };
1549
- /**
1550
- * Get context bank items for a goal doc
1551
- * @description Returns context bank items associated with the given parent doc.
1552
- * Requires org.view_company_md capability.
1553
- */
1515
+ /** Get context bank items for a company.md document */
1554
1516
  get: operations["getCompanyMdDocContextBank"];
1555
1517
  put?: never;
1556
1518
  post?: never;
@@ -1569,11 +1531,7 @@ export interface paths {
1569
1531
  };
1570
1532
  get?: never;
1571
1533
  put?: never;
1572
- /**
1573
- * Create a new context bank doc and associate with parent
1574
- * @description Creates a new context doc (level=context) and associates it with the
1575
- * given parent doc. Requires org.view_company_md capability.
1576
- */
1534
+ /** Create a new context bank doc and associate it with a parent doc */
1577
1535
  post: operations["createCompanyMdContextDoc"];
1578
1536
  delete?: never;
1579
1537
  options?: never;
@@ -1590,12 +1548,7 @@ export interface paths {
1590
1548
  };
1591
1549
  get?: never;
1592
1550
  put?: never;
1593
- /**
1594
- * Associate an existing context doc with a parent doc
1595
- * @description Associates an existing context doc with the given parent doc.
1596
- * Returns 409 if the association already exists.
1597
- * Requires org.view_company_md capability.
1598
- */
1551
+ /** Associate an existing context doc with a parent doc */
1599
1552
  post: operations["associateCompanyMdContextDoc"];
1600
1553
  delete?: never;
1601
1554
  options?: never;
@@ -1613,11 +1566,7 @@ export interface paths {
1613
1566
  get?: never;
1614
1567
  put?: never;
1615
1568
  post?: never;
1616
- /**
1617
- * Remove a context bank association
1618
- * @description Removes the association between a context doc and its parent doc.
1619
- * Requires org.view_company_md capability.
1620
- */
1569
+ /** Remove context bank association between context doc and parent doc */
1621
1570
  delete: operations["removeCompanyMdContextAssociation"];
1622
1571
  options?: never;
1623
1572
  head?: never;
@@ -1631,12 +1580,7 @@ export interface paths {
1631
1580
  path?: never;
1632
1581
  cookie?: never;
1633
1582
  };
1634
- /**
1635
- * Get sharing settings for a goal doc
1636
- * @description Returns the sharing policy, ACL entries, and effective access
1637
- * for the current user on a goal doc.
1638
- * Requires at least viewer access to the doc.
1639
- */
1583
+ /** Get sharing policy and ACL for a company.md document */
1640
1584
  get: operations["getCompanyMdDocSharing"];
1641
1585
  put?: never;
1642
1586
  post?: never;
@@ -1654,11 +1598,7 @@ export interface paths {
1654
1598
  cookie?: never;
1655
1599
  };
1656
1600
  get?: never;
1657
- /**
1658
- * Update the sharing policy for a goal doc
1659
- * @description Sets the org-wide sharing policy for a goal doc.
1660
- * Requires canShare permission (doc ownership, team ownership, or org admin).
1661
- */
1601
+ /** Update sharing policy for a company.md document */
1662
1602
  put: operations["updateCompanyMdDocSharingPolicy"];
1663
1603
  post?: never;
1664
1604
  delete?: never;
@@ -1676,11 +1616,7 @@ export interface paths {
1676
1616
  };
1677
1617
  get?: never;
1678
1618
  put?: never;
1679
- /**
1680
- * Add an ACL entry to a goal doc
1681
- * @description Grants a user or team access to a goal doc at a specified level.
1682
- * Requires canShare permission. Unique constraint on (doc, principalType, principalId).
1683
- */
1619
+ /** Add an ACL entry to a company.md document */
1684
1620
  post: operations["addCompanyMdDocAclEntry"];
1685
1621
  delete?: never;
1686
1622
  options?: never;
@@ -1696,17 +1632,10 @@ export interface paths {
1696
1632
  cookie?: never;
1697
1633
  };
1698
1634
  get?: never;
1699
- /**
1700
- * Update an ACL entry's access level
1701
- * @description Changes the access level of an existing ACL entry.
1702
- * Requires canShare permission.
1703
- */
1635
+ /** Update an ACL entry on a company.md document */
1704
1636
  put: operations["updateCompanyMdDocAclEntry"];
1705
1637
  post?: never;
1706
- /**
1707
- * Remove an ACL entry from a goal doc
1708
- * @description Revokes a specific ACL entry. Requires canShare permission.
1709
- */
1638
+ /** Delete an ACL entry from a company.md document */
1710
1639
  delete: operations["deleteCompanyMdDocAclEntry"];
1711
1640
  options?: never;
1712
1641
  head?: never;
@@ -1722,14 +1651,7 @@ export interface paths {
1722
1651
  };
1723
1652
  get?: never;
1724
1653
  put?: never;
1725
- /**
1726
- * Extract structured goal signals from a document or text
1727
- * @description Accepts either multipart/form-data with a file upload (PDF, DOCX, TXT)
1728
- * or application/json with pasted text. Extracts structured goal signals
1729
- * via LLM and returns generated Markdown with confidence scoring.
1730
- * Requires org.manage_goals capability.
1731
- * Max 10 concurrent extractions per server instance.
1732
- */
1654
+ /** Enqueue company.md extraction from file upload or JSON payload */
1733
1655
  post: operations["extractCompanyMd"];
1734
1656
  delete?: never;
1735
1657
  options?: never;
@@ -1744,12 +1666,7 @@ export interface paths {
1744
1666
  path?: never;
1745
1667
  cookie?: never;
1746
1668
  };
1747
- /**
1748
- * Get company.md settings for the authenticated org
1749
- * @description Returns CompanyMdSettings with merged defaults. The root label defaults
1750
- * to the org name; department and team use system defaults if not customized.
1751
- * Requires org.view_company_md capability.
1752
- */
1669
+ /** Get company.md settings for the org */
1753
1670
  get: operations["getCompanyMdSettings"];
1754
1671
  put?: never;
1755
1672
  post?: never;
@@ -1767,12 +1684,7 @@ export interface paths {
1767
1684
  cookie?: never;
1768
1685
  };
1769
1686
  get?: never;
1770
- /**
1771
- * Update company.md level labels for the authenticated org
1772
- * @description Accepts a partial CompanyMdLevelLabels object. Only provided fields are updated;
1773
- * unspecified fields retain their current values. Returns the full updated
1774
- * CompanyMdSettings. Requires org.manage_company_md capability (org owner/admin).
1775
- */
1687
+ /** Update company.md level labels */
1776
1688
  put: operations["updateCompanyMdLevelLabels"];
1777
1689
  post?: never;
1778
1690
  delete?: never;
@@ -1788,10 +1700,10 @@ export interface paths {
1788
1700
  path?: never;
1789
1701
  cookie?: never;
1790
1702
  };
1791
- /** List teams visible to the current user */
1703
+ /** List teams */
1792
1704
  get: operations["listTeams"];
1793
1705
  put?: never;
1794
- /** Create a new team */
1706
+ /** Create team */
1795
1707
  post: operations["createTeam"];
1796
1708
  delete?: never;
1797
1709
  options?: never;
@@ -1806,12 +1718,12 @@ export interface paths {
1806
1718
  path?: never;
1807
1719
  cookie?: never;
1808
1720
  };
1809
- /** Get a team with its members */
1721
+ /** Get team */
1810
1722
  get: operations["getTeam"];
1811
- /** Update a team */
1723
+ /** Update team */
1812
1724
  put: operations["updateTeam"];
1813
1725
  post?: never;
1814
- /** Delete a team */
1726
+ /** Delete team */
1815
1727
  delete: operations["deleteTeam"];
1816
1728
  options?: never;
1817
1729
  head?: never;
@@ -1827,7 +1739,7 @@ export interface paths {
1827
1739
  };
1828
1740
  get?: never;
1829
1741
  put?: never;
1830
- /** Add a member to a team */
1742
+ /** Add team member */
1831
1743
  post: operations["addTeamMember"];
1832
1744
  delete?: never;
1833
1745
  options?: never;
@@ -1845,7 +1757,7 @@ export interface paths {
1845
1757
  get?: never;
1846
1758
  put?: never;
1847
1759
  post?: never;
1848
- /** Remove a member from a team */
1760
+ /** Remove team member */
1849
1761
  delete: operations["removeTeamMember"];
1850
1762
  options?: never;
1851
1763
  head?: never;
@@ -1860,7 +1772,7 @@ export interface paths {
1860
1772
  cookie?: never;
1861
1773
  };
1862
1774
  get?: never;
1863
- /** Change a team member's role */
1775
+ /** Update team member role */
1864
1776
  put: operations["updateTeamMemberRole"];
1865
1777
  post?: never;
1866
1778
  delete?: never;
@@ -1893,10 +1805,10 @@ export interface paths {
1893
1805
  path?: never;
1894
1806
  cookie?: never;
1895
1807
  };
1896
- /** List departments in the current org */
1808
+ /** List departments */
1897
1809
  get: operations["listDepartments"];
1898
1810
  put?: never;
1899
- /** Create a new department */
1811
+ /** Create department */
1900
1812
  post: operations["createDepartment"];
1901
1813
  delete?: never;
1902
1814
  options?: never;
@@ -1911,15 +1823,15 @@ export interface paths {
1911
1823
  path?: never;
1912
1824
  cookie?: never;
1913
1825
  };
1914
- /** Get a department by ID */
1826
+ /** Get department */
1915
1827
  get: operations["getDepartment"];
1916
1828
  put?: never;
1917
1829
  post?: never;
1918
- /** Delete a department */
1830
+ /** Delete department */
1919
1831
  delete: operations["deleteDepartment"];
1920
1832
  options?: never;
1921
1833
  head?: never;
1922
- /** Update a department */
1834
+ /** Update department */
1923
1835
  patch: operations["updateDepartment"];
1924
1836
  trace?: never;
1925
1837
  };
@@ -1930,14 +1842,10 @@ export interface paths {
1930
1842
  path?: never;
1931
1843
  cookie?: never;
1932
1844
  };
1933
- /**
1934
- * List members of a department
1935
- * @description Returns paginated list of department members.
1936
- * Requires org.view_departments capability.
1937
- */
1845
+ /** List department members */
1938
1846
  get: operations["listDepartmentMembers"];
1939
1847
  put?: never;
1940
- /** Add a member to a department */
1848
+ /** Add department member */
1941
1849
  post: operations["addDepartmentMember"];
1942
1850
  delete?: never;
1943
1851
  options?: never;
@@ -1955,7 +1863,7 @@ export interface paths {
1955
1863
  get?: never;
1956
1864
  put?: never;
1957
1865
  post?: never;
1958
- /** Remove a member from a department */
1866
+ /** Remove department member */
1959
1867
  delete: operations["removeDepartmentMember"];
1960
1868
  options?: never;
1961
1869
  head?: never;
@@ -2173,11 +2081,8 @@ export interface components {
2173
2081
  levelLabels: components["schemas"]["CompanyMdLevelLabels"];
2174
2082
  };
2175
2083
  UpdateCompanyMdLevelLabelsRequest: {
2176
- /** @description Label for the root level */
2177
2084
  root?: string;
2178
- /** @description Label for the department level */
2179
2085
  department?: string;
2180
- /** @description Label for the team level */
2181
2086
  team?: string;
2182
2087
  };
2183
2088
  ChatRequest: {
@@ -3558,6 +3463,231 @@ export interface components {
3558
3463
  visibilityLevel: "system" | "oversight" | "org_admin" | "user";
3559
3464
  }[];
3560
3465
  };
3466
+ CompanyMdListResponse: {
3467
+ items: {
3468
+ id: string;
3469
+ slug: string;
3470
+ title: string;
3471
+ /** @enum {string} */
3472
+ level: "root" | "department" | "team" | "context";
3473
+ parentId: string | null;
3474
+ department: string | null;
3475
+ departmentId: string | null;
3476
+ /** @enum {string} */
3477
+ visibility: "public" | "private";
3478
+ owningTeam: {
3479
+ id: string;
3480
+ name: string;
3481
+ } | null;
3482
+ /** @enum {string} */
3483
+ type: "company" | "department" | "team" | "cross_team" | "doc" | "goal" | "source" | "map" | "context_bank";
3484
+ canEdit: boolean;
3485
+ memberCount: number;
3486
+ description?: string;
3487
+ departmentIds?: string[];
3488
+ }[];
3489
+ nextCursor: string | null;
3490
+ hasMore: boolean;
3491
+ };
3492
+ CompanyMdDocResponse: {
3493
+ id: string;
3494
+ slug: string;
3495
+ title: string;
3496
+ /** @enum {string} */
3497
+ level: "root" | "department" | "team" | "context";
3498
+ department: string | null;
3499
+ departmentId: string | null;
3500
+ content: string;
3501
+ /** @enum {string} */
3502
+ visibility: "public" | "private";
3503
+ parentId: string | null;
3504
+ owningTeam: {
3505
+ id: string;
3506
+ name: string;
3507
+ } | null;
3508
+ owner: {
3509
+ id: string;
3510
+ name: string;
3511
+ } | null;
3512
+ coOwners: {
3513
+ id: string;
3514
+ name: string;
3515
+ }[];
3516
+ canEdit: boolean;
3517
+ inheritsFrom: string | null;
3518
+ sources: {
3519
+ label: string;
3520
+ /** @enum {string} */
3521
+ sourceType: "meeting" | "document" | "conversation" | "manual";
3522
+ referencedAt: string;
3523
+ }[];
3524
+ dependencies: {
3525
+ targetSlug: string;
3526
+ description: string;
3527
+ }[];
3528
+ members: {
3529
+ id: string;
3530
+ name: string;
3531
+ }[];
3532
+ /** @enum {string} */
3533
+ extractionStatus: "pending" | "extracting" | "complete" | "failed";
3534
+ createdAt: string;
3535
+ updatedAt: string;
3536
+ };
3537
+ UpdateCompanyMdContentRequest: {
3538
+ content: string;
3539
+ };
3540
+ UpdateCompanyMdTitleRequest: {
3541
+ title: string;
3542
+ };
3543
+ CompanyMdContextBankResponse: {
3544
+ items: {
3545
+ id: string;
3546
+ slug: string;
3547
+ title: string;
3548
+ /** @enum {string} */
3549
+ visibility: "public" | "private";
3550
+ updatedAt: string;
3551
+ }[];
3552
+ };
3553
+ CreateContextDocRequest: {
3554
+ title: string;
3555
+ parentDocSlug: string;
3556
+ };
3557
+ AssociateContextDocRequest: {
3558
+ contextDocSlug: string;
3559
+ };
3560
+ CompanyMdSettingsResponse: {
3561
+ levelLabels: {
3562
+ root: string;
3563
+ department: string;
3564
+ team: string;
3565
+ };
3566
+ };
3567
+ CompanyMdShareResponse: {
3568
+ /** @enum {string} */
3569
+ sharingPolicy: "restricted" | "org_read" | "org_comment" | "org_edit";
3570
+ acl: {
3571
+ /** @enum {string} */
3572
+ principalType: "user" | "team";
3573
+ principalId: string;
3574
+ principalName: string;
3575
+ /** @enum {string} */
3576
+ accessLevel: "viewer" | "commenter" | "editor";
3577
+ grantedBy: {
3578
+ id: string;
3579
+ name: string;
3580
+ } | null;
3581
+ grantedAt: string;
3582
+ }[];
3583
+ effectiveAccess: {
3584
+ /** @enum {string} */
3585
+ level: "none" | "viewer" | "commenter" | "editor";
3586
+ reasons: {
3587
+ /** @enum {string} */
3588
+ source: "org_rbac" | "sharing_policy" | "team_baseline" | "acl_grant" | "doc_ownership";
3589
+ detail: string;
3590
+ }[];
3591
+ canShare: boolean;
3592
+ };
3593
+ };
3594
+ UpdateCompanyMdSharingPolicyRequest: {
3595
+ /** @enum {string} */
3596
+ sharingPolicy: "restricted" | "org_read" | "org_comment" | "org_edit";
3597
+ };
3598
+ AddCompanyMdAclRequest: {
3599
+ /** @enum {string} */
3600
+ principalType: "user" | "team";
3601
+ principalId: string;
3602
+ /** @enum {string} */
3603
+ accessLevel: "viewer" | "commenter" | "editor";
3604
+ };
3605
+ UpdateCompanyMdAclRequest: {
3606
+ /** @enum {string} */
3607
+ accessLevel: "viewer" | "commenter" | "editor";
3608
+ };
3609
+ TeamListResponse: {
3610
+ teams: {
3611
+ id: string;
3612
+ name: string;
3613
+ slug: string;
3614
+ description: string | null;
3615
+ memberCount: number;
3616
+ /** @enum {string} */
3617
+ scope: "department" | "cross_department" | "org";
3618
+ department: {
3619
+ id: string;
3620
+ name: string;
3621
+ slug: string;
3622
+ } | null;
3623
+ homeDepartment: {
3624
+ id: string;
3625
+ name: string;
3626
+ slug: string;
3627
+ } | null;
3628
+ }[];
3629
+ };
3630
+ TeamResponse: {
3631
+ id: string;
3632
+ name: string;
3633
+ slug: string;
3634
+ description: string | null;
3635
+ /** @enum {string} */
3636
+ syncMode: "manual_only" | "synced_readonly" | "synced_with_overrides";
3637
+ members: {
3638
+ userId: string;
3639
+ name: string;
3640
+ email: string;
3641
+ /** @enum {string} */
3642
+ role: "member" | "manager" | "owner";
3643
+ joinedAt: string;
3644
+ }[];
3645
+ };
3646
+ DepartmentListResponse: {
3647
+ departments: {
3648
+ id: string;
3649
+ name: string;
3650
+ slug: string;
3651
+ description: string | null;
3652
+ memberCount: number;
3653
+ position: number;
3654
+ }[];
3655
+ };
3656
+ DepartmentResponse: {
3657
+ id: string;
3658
+ name: string;
3659
+ slug: string;
3660
+ description: string | null;
3661
+ position: number;
3662
+ /** @enum {string} */
3663
+ syncMode: "manual_only" | "scim" | "hris";
3664
+ memberCount: number;
3665
+ members: {
3666
+ userId: string;
3667
+ name: string;
3668
+ email: string;
3669
+ /** @enum {string} */
3670
+ role: "member" | "manager" | "owner";
3671
+ joinedAt: string;
3672
+ }[];
3673
+ };
3674
+ DriveFileListResponse: {
3675
+ files: {
3676
+ id: string;
3677
+ name: string;
3678
+ mimeType: string;
3679
+ createdTime?: string;
3680
+ modifiedTime?: string;
3681
+ owners?: {
3682
+ displayName?: string;
3683
+ emailAddress?: string;
3684
+ }[];
3685
+ webViewLink?: string;
3686
+ iconLink?: string;
3687
+ size?: string;
3688
+ }[];
3689
+ nextPageToken?: string;
3690
+ };
3561
3691
  };
3562
3692
  responses: never;
3563
3693
  parameters: never;
@@ -4235,240 +4365,103 @@ export interface operations {
4235
4365
  };
4236
4366
  listDriveFiles: {
4237
4367
  parameters: {
4238
- query?: {
4239
- /** @description Search query for filtering files */
4240
- q?: string;
4241
- /** @description Number of results per page */
4242
- pageSize?: number;
4243
- /** @description Pagination cursor from previous response */
4244
- pageToken?: string;
4245
- /** @description Comma-separated MIME type filter */
4246
- mimeTypes?: string;
4247
- };
4368
+ query?: never;
4248
4369
  header?: never;
4249
4370
  path?: never;
4250
4371
  cookie?: never;
4251
4372
  };
4252
4373
  requestBody?: never;
4253
4374
  responses: {
4254
- /** @description List of Drive files */
4375
+ /** @description Drive file list */
4255
4376
  200: {
4256
4377
  headers: {
4257
4378
  [name: string]: unknown;
4258
4379
  };
4259
4380
  content: {
4260
- "application/json": components["schemas"]["ListDriveFilesResponse"];
4381
+ "application/json": components["schemas"]["DriveFileListResponse"];
4261
4382
  };
4262
4383
  };
4263
- /** @description Not authenticated */
4264
- 401: {
4384
+ };
4385
+ };
4386
+ getDriveFileContent: {
4387
+ parameters: {
4388
+ query?: never;
4389
+ header?: never;
4390
+ path?: never;
4391
+ cookie?: never;
4392
+ };
4393
+ requestBody?: never;
4394
+ responses: {
4395
+ /** @description Drive file content */
4396
+ 200: {
4265
4397
  headers: {
4266
4398
  [name: string]: unknown;
4267
4399
  };
4268
4400
  content: {
4269
- "application/json": components["schemas"]["ErrorResponse"];
4401
+ "application/json": components["schemas"]["DriveFileContentResponse"];
4270
4402
  };
4271
4403
  };
4272
- /** @description Google Drive not connected or disconnected */
4273
- 403: {
4404
+ };
4405
+ };
4406
+ listRecentDriveFiles: {
4407
+ parameters: {
4408
+ query?: never;
4409
+ header?: never;
4410
+ path?: never;
4411
+ cookie?: never;
4412
+ };
4413
+ requestBody?: never;
4414
+ responses: {
4415
+ /** @description Recent drive file list */
4416
+ 200: {
4274
4417
  headers: {
4275
4418
  [name: string]: unknown;
4276
4419
  };
4277
4420
  content: {
4278
- "application/json": components["schemas"]["ErrorResponse"];
4421
+ "application/json": components["schemas"]["DriveFileListResponse"];
4279
4422
  };
4280
4423
  };
4281
- /** @description Rate limit exceeded */
4282
- 429: {
4424
+ };
4425
+ };
4426
+ initiateOwnershipTransfer: {
4427
+ parameters: {
4428
+ query?: never;
4429
+ header?: never;
4430
+ path?: never;
4431
+ cookie?: never;
4432
+ };
4433
+ requestBody: {
4434
+ content: {
4435
+ "application/json": components["schemas"]["InitiateTransferRequest"];
4436
+ };
4437
+ };
4438
+ responses: {
4439
+ /** @description Transfer initiated, email sent */
4440
+ 200: {
4283
4441
  headers: {
4284
4442
  [name: string]: unknown;
4285
4443
  };
4286
4444
  content: {
4287
- "application/json": components["schemas"]["ErrorResponse"];
4445
+ "application/json": components["schemas"]["InitiateTransferResponse"];
4288
4446
  };
4289
4447
  };
4290
4448
  };
4291
4449
  };
4292
- getDriveFileContent: {
4450
+ cancelOwnershipTransfer: {
4293
4451
  parameters: {
4294
- query: {
4295
- /** @description The file's MIME type (determines export strategy) */
4296
- mimeType: string;
4297
- };
4452
+ query?: never;
4298
4453
  header?: never;
4299
- path: {
4300
- /** @description Google Drive file ID */
4301
- fileId: string;
4302
- };
4454
+ path?: never;
4303
4455
  cookie?: never;
4304
4456
  };
4305
4457
  requestBody?: never;
4306
4458
  responses: {
4307
- /** @description Extracted file content */
4459
+ /** @description Transfer cancelled */
4308
4460
  200: {
4309
4461
  headers: {
4310
4462
  [name: string]: unknown;
4311
4463
  };
4312
- content: {
4313
- "application/json": components["schemas"]["DriveFileContentResponse"];
4314
- };
4315
- };
4316
- /** @description Missing mimeType parameter */
4317
- 400: {
4318
- headers: {
4319
- [name: string]: unknown;
4320
- };
4321
- content: {
4322
- "application/json": components["schemas"]["ErrorResponse"];
4323
- };
4324
- };
4325
- /** @description Not authenticated */
4326
- 401: {
4327
- headers: {
4328
- [name: string]: unknown;
4329
- };
4330
- content: {
4331
- "application/json": components["schemas"]["ErrorResponse"];
4332
- };
4333
- };
4334
- /** @description Google Drive not connected or insufficient permissions */
4335
- 403: {
4336
- headers: {
4337
- [name: string]: unknown;
4338
- };
4339
- content: {
4340
- "application/json": components["schemas"]["ErrorResponse"];
4341
- };
4342
- };
4343
- /** @description File not found or no access */
4344
- 404: {
4345
- headers: {
4346
- [name: string]: unknown;
4347
- };
4348
- content: {
4349
- "application/json": components["schemas"]["ErrorResponse"];
4350
- };
4351
- };
4352
- /** @description File exceeds size limit */
4353
- 413: {
4354
- headers: {
4355
- [name: string]: unknown;
4356
- };
4357
- content: {
4358
- "application/json": components["schemas"]["ErrorResponse"];
4359
- };
4360
- };
4361
- /** @description MIME type not supported for content extraction */
4362
- 415: {
4363
- headers: {
4364
- [name: string]: unknown;
4365
- };
4366
- content: {
4367
- "application/json": components["schemas"]["ErrorResponse"];
4368
- };
4369
- };
4370
- /** @description Rate limit exceeded */
4371
- 429: {
4372
- headers: {
4373
- [name: string]: unknown;
4374
- };
4375
- content: {
4376
- "application/json": components["schemas"]["ErrorResponse"];
4377
- };
4378
- };
4379
- };
4380
- };
4381
- listRecentDriveFiles: {
4382
- parameters: {
4383
- query?: {
4384
- /** @description Number of results per page */
4385
- pageSize?: number;
4386
- /** @description Pagination cursor from previous response */
4387
- pageToken?: string;
4388
- };
4389
- header?: never;
4390
- path?: never;
4391
- cookie?: never;
4392
- };
4393
- requestBody?: never;
4394
- responses: {
4395
- /** @description List of recently modified Drive files */
4396
- 200: {
4397
- headers: {
4398
- [name: string]: unknown;
4399
- };
4400
- content: {
4401
- "application/json": components["schemas"]["ListDriveFilesResponse"];
4402
- };
4403
- };
4404
- /** @description Not authenticated */
4405
- 401: {
4406
- headers: {
4407
- [name: string]: unknown;
4408
- };
4409
- content: {
4410
- "application/json": components["schemas"]["ErrorResponse"];
4411
- };
4412
- };
4413
- /** @description Google Drive not connected or disconnected */
4414
- 403: {
4415
- headers: {
4416
- [name: string]: unknown;
4417
- };
4418
- content: {
4419
- "application/json": components["schemas"]["ErrorResponse"];
4420
- };
4421
- };
4422
- /** @description Rate limit exceeded */
4423
- 429: {
4424
- headers: {
4425
- [name: string]: unknown;
4426
- };
4427
- content: {
4428
- "application/json": components["schemas"]["ErrorResponse"];
4429
- };
4430
- };
4431
- };
4432
- };
4433
- initiateOwnershipTransfer: {
4434
- parameters: {
4435
- query?: never;
4436
- header?: never;
4437
- path?: never;
4438
- cookie?: never;
4439
- };
4440
- requestBody: {
4441
- content: {
4442
- "application/json": components["schemas"]["InitiateTransferRequest"];
4443
- };
4444
- };
4445
- responses: {
4446
- /** @description Transfer initiated, email sent */
4447
- 200: {
4448
- headers: {
4449
- [name: string]: unknown;
4450
- };
4451
- content: {
4452
- "application/json": components["schemas"]["InitiateTransferResponse"];
4453
- };
4454
- };
4455
- };
4456
- };
4457
- cancelOwnershipTransfer: {
4458
- parameters: {
4459
- query?: never;
4460
- header?: never;
4461
- path?: never;
4462
- cookie?: never;
4463
- };
4464
- requestBody?: never;
4465
- responses: {
4466
- /** @description Transfer cancelled */
4467
- 200: {
4468
- headers: {
4469
- [name: string]: unknown;
4470
- };
4471
- content?: never;
4464
+ content?: never;
4472
4465
  };
4473
4466
  };
4474
4467
  };
@@ -5852,9 +5845,7 @@ export interface operations {
5852
5845
  getCompanyMdTree: {
5853
5846
  parameters: {
5854
5847
  query?: {
5855
- /** @description Cursor for pagination */
5856
5848
  cursor?: string;
5857
- /** @description Max results per page (default 100, max 200) */
5858
5849
  limit?: number;
5859
5850
  };
5860
5851
  header?: never;
@@ -5863,22 +5854,13 @@ export interface operations {
5863
5854
  };
5864
5855
  requestBody?: never;
5865
5856
  responses: {
5866
- /** @description Paginated goal tree nodes */
5857
+ /** @description Paginated company.md tree nodes */
5867
5858
  200: {
5868
5859
  headers: {
5869
5860
  [name: string]: unknown;
5870
5861
  };
5871
5862
  content: {
5872
- "application/json": components["schemas"]["GoalTreeResponse"];
5873
- };
5874
- };
5875
- /** @description No org.view_goals capability */
5876
- 403: {
5877
- headers: {
5878
- [name: string]: unknown;
5879
- };
5880
- content: {
5881
- "application/json": components["schemas"]["ErrorResponse"];
5863
+ "application/json": components["schemas"]["CompanyMdListResponse"];
5882
5864
  };
5883
5865
  };
5884
5866
  };
@@ -5887,39 +5869,18 @@ export interface operations {
5887
5869
  parameters: {
5888
5870
  query?: never;
5889
5871
  header?: never;
5890
- path: {
5891
- /** @description URL-safe goal doc slug */
5892
- slug: string;
5893
- };
5872
+ path?: never;
5894
5873
  cookie?: never;
5895
5874
  };
5896
5875
  requestBody?: never;
5897
5876
  responses: {
5898
- /** @description Goal doc */
5877
+ /** @description Company.md document */
5899
5878
  200: {
5900
5879
  headers: {
5901
5880
  [name: string]: unknown;
5902
5881
  };
5903
5882
  content: {
5904
- "application/json": components["schemas"]["GoalDoc"];
5905
- };
5906
- };
5907
- /** @description No org.view_goals capability */
5908
- 403: {
5909
- headers: {
5910
- [name: string]: unknown;
5911
- };
5912
- content: {
5913
- "application/json": components["schemas"]["ErrorResponse"];
5914
- };
5915
- };
5916
- /** @description Doc not found or not visible */
5917
- 404: {
5918
- headers: {
5919
- [name: string]: unknown;
5920
- };
5921
- content: {
5922
- "application/json": components["schemas"]["ErrorResponse"];
5883
+ "application/json": components["schemas"]["CompanyMdDocResponse"];
5923
5884
  };
5924
5885
  };
5925
5886
  };
@@ -5928,112 +5889,43 @@ export interface operations {
5928
5889
  parameters: {
5929
5890
  query?: never;
5930
5891
  header?: never;
5931
- path: {
5932
- /** @description Goal doc slug */
5933
- slug: string;
5934
- };
5892
+ path?: never;
5935
5893
  cookie?: never;
5936
5894
  };
5937
5895
  requestBody: {
5938
5896
  content: {
5939
- "application/json": {
5940
- content: string;
5941
- };
5897
+ "application/json": components["schemas"]["UpdateCompanyMdContentRequest"];
5942
5898
  };
5943
5899
  };
5944
5900
  responses: {
5945
- /** @description Content updated successfully */
5901
+ /** @description Content updated */
5946
5902
  204: {
5947
5903
  headers: {
5948
5904
  [name: string]: unknown;
5949
5905
  };
5950
5906
  content?: never;
5951
5907
  };
5952
- /** @description Missing content field */
5953
- 400: {
5954
- headers: {
5955
- [name: string]: unknown;
5956
- };
5957
- content: {
5958
- "application/json": components["schemas"]["ErrorResponse"];
5959
- };
5960
- };
5961
- /** @description User cannot edit this doc */
5962
- 403: {
5963
- headers: {
5964
- [name: string]: unknown;
5965
- };
5966
- content: {
5967
- "application/json": components["schemas"]["ErrorResponse"];
5968
- };
5969
- };
5970
- /** @description Doc not found */
5971
- 404: {
5972
- headers: {
5973
- [name: string]: unknown;
5974
- };
5975
- content: {
5976
- "application/json": components["schemas"]["ErrorResponse"];
5977
- };
5978
- };
5979
5908
  };
5980
5909
  };
5981
5910
  updateCompanyMdDocTitle: {
5982
5911
  parameters: {
5983
5912
  query?: never;
5984
5913
  header?: never;
5985
- path: {
5986
- /** @description Goal doc slug */
5987
- slug: string;
5988
- };
5914
+ path?: never;
5989
5915
  cookie?: never;
5990
5916
  };
5991
5917
  requestBody: {
5992
5918
  content: {
5993
- "application/json": {
5994
- title: string;
5995
- };
5919
+ "application/json": components["schemas"]["UpdateCompanyMdTitleRequest"];
5996
5920
  };
5997
5921
  };
5998
5922
  responses: {
5999
- /** @description Title updated successfully */
5923
+ /** @description Title updated, returns new slug */
6000
5924
  200: {
6001
5925
  headers: {
6002
5926
  [name: string]: unknown;
6003
5927
  };
6004
- content: {
6005
- "application/json": {
6006
- /** @description The new slug (may change if title changed) */
6007
- slug: string;
6008
- };
6009
- };
6010
- };
6011
- /** @description Missing or empty title field */
6012
- 400: {
6013
- headers: {
6014
- [name: string]: unknown;
6015
- };
6016
- content: {
6017
- "application/json": components["schemas"]["ErrorResponse"];
6018
- };
6019
- };
6020
- /** @description User cannot edit this doc */
6021
- 403: {
6022
- headers: {
6023
- [name: string]: unknown;
6024
- };
6025
- content: {
6026
- "application/json": components["schemas"]["ErrorResponse"];
6027
- };
6028
- };
6029
- /** @description Doc not found */
6030
- 404: {
6031
- headers: {
6032
- [name: string]: unknown;
6033
- };
6034
- content: {
6035
- "application/json": components["schemas"]["ErrorResponse"];
6036
- };
5928
+ content?: never;
6037
5929
  };
6038
5930
  };
6039
5931
  };
@@ -6041,10 +5933,7 @@ export interface operations {
6041
5933
  parameters: {
6042
5934
  query?: never;
6043
5935
  header?: never;
6044
- path: {
6045
- /** @description Goal doc slug */
6046
- slug: string;
6047
- };
5936
+ path?: never;
6048
5937
  cookie?: never;
6049
5938
  };
6050
5939
  requestBody?: never;
@@ -6055,25 +5944,7 @@ export interface operations {
6055
5944
  [name: string]: unknown;
6056
5945
  };
6057
5946
  content: {
6058
- "application/json": components["schemas"]["ContextBankItem"][];
6059
- };
6060
- };
6061
- /** @description No org.view_company_md capability */
6062
- 403: {
6063
- headers: {
6064
- [name: string]: unknown;
6065
- };
6066
- content: {
6067
- "application/json": components["schemas"]["ErrorResponse"];
6068
- };
6069
- };
6070
- /** @description Doc not found */
6071
- 404: {
6072
- headers: {
6073
- [name: string]: unknown;
6074
- };
6075
- content: {
6076
- "application/json": components["schemas"]["ErrorResponse"];
5947
+ "application/json": components["schemas"]["CompanyMdContextBankResponse"];
6077
5948
  };
6078
5949
  };
6079
5950
  };
@@ -6087,44 +5958,16 @@ export interface operations {
6087
5958
  };
6088
5959
  requestBody: {
6089
5960
  content: {
6090
- "application/json": {
6091
- title: string;
6092
- parentDocSlug: string;
6093
- };
5961
+ "application/json": components["schemas"]["CreateContextDocRequest"];
6094
5962
  };
6095
5963
  };
6096
5964
  responses: {
6097
- /** @description Created context doc */
5965
+ /** @description Context doc created */
6098
5966
  201: {
6099
5967
  headers: {
6100
5968
  [name: string]: unknown;
6101
5969
  };
6102
- content: {
6103
- "application/json": {
6104
- /** Format: uuid */
6105
- id: string;
6106
- slug: string;
6107
- title: string;
6108
- };
6109
- };
6110
- };
6111
- /** @description No org.view_company_md capability */
6112
- 403: {
6113
- headers: {
6114
- [name: string]: unknown;
6115
- };
6116
- content: {
6117
- "application/json": components["schemas"]["ErrorResponse"];
6118
- };
6119
- };
6120
- /** @description Parent doc not found */
6121
- 404: {
6122
- headers: {
6123
- [name: string]: unknown;
6124
- };
6125
- content: {
6126
- "application/json": components["schemas"]["ErrorResponse"];
6127
- };
5970
+ content?: never;
6128
5971
  };
6129
5972
  };
6130
5973
  };
@@ -6132,17 +5975,12 @@ export interface operations {
6132
5975
  parameters: {
6133
5976
  query?: never;
6134
5977
  header?: never;
6135
- path: {
6136
- /** @description Parent doc slug */
6137
- slug: string;
6138
- };
5978
+ path?: never;
6139
5979
  cookie?: never;
6140
5980
  };
6141
5981
  requestBody: {
6142
5982
  content: {
6143
- "application/json": {
6144
- contextDocSlug: string;
6145
- };
5983
+ "application/json": components["schemas"]["AssociateContextDocRequest"];
6146
5984
  };
6147
5985
  };
6148
5986
  responses: {
@@ -6151,38 +5989,7 @@ export interface operations {
6151
5989
  headers: {
6152
5990
  [name: string]: unknown;
6153
5991
  };
6154
- content: {
6155
- "application/json": {
6156
- ok?: boolean;
6157
- };
6158
- };
6159
- };
6160
- /** @description No org.view_company_md capability */
6161
- 403: {
6162
- headers: {
6163
- [name: string]: unknown;
6164
- };
6165
- content: {
6166
- "application/json": components["schemas"]["ErrorResponse"];
6167
- };
6168
- };
6169
- /** @description Doc not found */
6170
- 404: {
6171
- headers: {
6172
- [name: string]: unknown;
6173
- };
6174
- content: {
6175
- "application/json": components["schemas"]["ErrorResponse"];
6176
- };
6177
- };
6178
- /** @description Association already exists */
6179
- 409: {
6180
- headers: {
6181
- [name: string]: unknown;
6182
- };
6183
- content: {
6184
- "application/json": components["schemas"]["ErrorResponse"];
6185
- };
5992
+ content?: never;
6186
5993
  };
6187
5994
  };
6188
5995
  };
@@ -6190,12 +5997,7 @@ export interface operations {
6190
5997
  parameters: {
6191
5998
  query?: never;
6192
5999
  header?: never;
6193
- path: {
6194
- /** @description Parent doc slug */
6195
- slug: string;
6196
- /** @description Context doc slug */
6197
- contextDocSlug: string;
6198
- };
6000
+ path?: never;
6199
6001
  cookie?: never;
6200
6002
  };
6201
6003
  requestBody?: never;
@@ -6207,59 +6009,24 @@ export interface operations {
6207
6009
  };
6208
6010
  content?: never;
6209
6011
  };
6210
- /** @description No org.view_company_md capability */
6211
- 403: {
6212
- headers: {
6213
- [name: string]: unknown;
6214
- };
6215
- content: {
6216
- "application/json": components["schemas"]["ErrorResponse"];
6217
- };
6218
- };
6219
- /** @description Doc not found */
6220
- 404: {
6221
- headers: {
6222
- [name: string]: unknown;
6223
- };
6224
- content: {
6225
- "application/json": components["schemas"]["ErrorResponse"];
6226
- };
6227
- };
6228
6012
  };
6229
6013
  };
6230
6014
  getCompanyMdDocSharing: {
6231
6015
  parameters: {
6232
6016
  query?: never;
6233
6017
  header?: never;
6234
- path: {
6235
- /** @description URL-safe goal doc slug */
6236
- slug: string;
6237
- };
6018
+ path?: never;
6238
6019
  cookie?: never;
6239
6020
  };
6240
6021
  requestBody?: never;
6241
6022
  responses: {
6242
- /** @description Sharing settings including policy, ACL, and effective access */
6023
+ /** @description Sharing policy and ACL entries */
6243
6024
  200: {
6244
6025
  headers: {
6245
6026
  [name: string]: unknown;
6246
6027
  };
6247
6028
  content: {
6248
- "application/json": {
6249
- /** @enum {string} */
6250
- sharingPolicy?: "restricted" | "org_read" | "org_comment" | "org_edit";
6251
- acl?: Record<string, never>[];
6252
- effectiveAccess?: Record<string, never>;
6253
- };
6254
- };
6255
- };
6256
- /** @description Doc not found or not visible */
6257
- 404: {
6258
- headers: {
6259
- [name: string]: unknown;
6260
- };
6261
- content: {
6262
- "application/json": components["schemas"]["ErrorResponse"];
6029
+ "application/json": components["schemas"]["CompanyMdShareResponse"];
6263
6030
  };
6264
6031
  };
6265
6032
  };
@@ -6268,77 +6035,34 @@ export interface operations {
6268
6035
  parameters: {
6269
6036
  query?: never;
6270
6037
  header?: never;
6271
- path: {
6272
- /** @description URL-safe goal doc slug */
6273
- slug: string;
6274
- };
6038
+ path?: never;
6275
6039
  cookie?: never;
6276
6040
  };
6277
6041
  requestBody: {
6278
6042
  content: {
6279
- "application/json": {
6280
- /** @enum {string} */
6281
- sharingPolicy: "restricted" | "org_read" | "org_comment" | "org_edit";
6282
- };
6043
+ "application/json": components["schemas"]["UpdateCompanyMdSharingPolicyRequest"];
6283
6044
  };
6284
6045
  };
6285
6046
  responses: {
6286
- /** @description Policy updated successfully */
6047
+ /** @description Sharing policy updated */
6287
6048
  204: {
6288
6049
  headers: {
6289
6050
  [name: string]: unknown;
6290
6051
  };
6291
6052
  content?: never;
6292
6053
  };
6293
- /** @description Invalid sharing policy */
6294
- 400: {
6295
- headers: {
6296
- [name: string]: unknown;
6297
- };
6298
- content: {
6299
- "application/json": components["schemas"]["ErrorResponse"];
6300
- };
6301
- };
6302
- /** @description Requires sharing permission */
6303
- 403: {
6304
- headers: {
6305
- [name: string]: unknown;
6306
- };
6307
- content: {
6308
- "application/json": components["schemas"]["ErrorResponse"];
6309
- };
6310
- };
6311
- /** @description Doc not found */
6312
- 404: {
6313
- headers: {
6314
- [name: string]: unknown;
6315
- };
6316
- content: {
6317
- "application/json": components["schemas"]["ErrorResponse"];
6318
- };
6319
- };
6320
6054
  };
6321
6055
  };
6322
6056
  addCompanyMdDocAclEntry: {
6323
6057
  parameters: {
6324
6058
  query?: never;
6325
6059
  header?: never;
6326
- path: {
6327
- /** @description URL-safe goal doc slug */
6328
- slug: string;
6329
- };
6060
+ path?: never;
6330
6061
  cookie?: never;
6331
6062
  };
6332
6063
  requestBody: {
6333
6064
  content: {
6334
- "application/json": {
6335
- /** @enum {string} */
6336
- principalType: "user" | "team";
6337
- /** Format: uuid */
6338
- principalId: string;
6339
- /** @enum {string} */
6340
- accessLevel: "viewer" | "commenter" | "editor";
6341
- };
6065
+ "application/json": components["schemas"]["AddCompanyMdAclRequest"];
6342
6066
  };
6343
6067
  };
6344
6068
  responses: {
@@ -6347,48 +6071,7 @@ export interface operations {
6347
6071
  headers: {
6348
6072
  [name: string]: unknown;
6349
6073
  };
6350
- content: {
6351
- "application/json": {
6352
- /** Format: uuid */
6353
- id?: string;
6354
- };
6355
- };
6356
- };
6357
- /** @description Invalid parameters */
6358
- 400: {
6359
- headers: {
6360
- [name: string]: unknown;
6361
- };
6362
- content: {
6363
- "application/json": components["schemas"]["ErrorResponse"];
6364
- };
6365
- };
6366
- /** @description Requires sharing permission */
6367
- 403: {
6368
- headers: {
6369
- [name: string]: unknown;
6370
- };
6371
- content: {
6372
- "application/json": components["schemas"]["ErrorResponse"];
6373
- };
6374
- };
6375
- /** @description Doc not found */
6376
- 404: {
6377
- headers: {
6378
- [name: string]: unknown;
6379
- };
6380
- content: {
6381
- "application/json": components["schemas"]["ErrorResponse"];
6382
- };
6383
- };
6384
- /** @description ACL entry already exists for this principal */
6385
- 409: {
6386
- headers: {
6387
- [name: string]: unknown;
6388
- };
6389
- content: {
6390
- "application/json": components["schemas"]["ErrorResponse"];
6391
- };
6074
+ content?: never;
6392
6075
  };
6393
6076
  };
6394
6077
  };
@@ -6396,20 +6079,12 @@ export interface operations {
6396
6079
  parameters: {
6397
6080
  query?: never;
6398
6081
  header?: never;
6399
- path: {
6400
- /** @description URL-safe goal doc slug */
6401
- slug: string;
6402
- /** @description ACL entry ID */
6403
- aclId: string;
6404
- };
6082
+ path?: never;
6405
6083
  cookie?: never;
6406
6084
  };
6407
6085
  requestBody: {
6408
6086
  content: {
6409
- "application/json": {
6410
- /** @enum {string} */
6411
- accessLevel: "viewer" | "commenter" | "editor";
6412
- };
6087
+ "application/json": components["schemas"]["UpdateCompanyMdAclRequest"];
6413
6088
  };
6414
6089
  };
6415
6090
  responses: {
@@ -6420,45 +6095,13 @@ export interface operations {
6420
6095
  };
6421
6096
  content?: never;
6422
6097
  };
6423
- /** @description Invalid access level */
6424
- 400: {
6425
- headers: {
6426
- [name: string]: unknown;
6427
- };
6428
- content: {
6429
- "application/json": components["schemas"]["ErrorResponse"];
6430
- };
6431
- };
6432
- /** @description Requires sharing permission */
6433
- 403: {
6434
- headers: {
6435
- [name: string]: unknown;
6436
- };
6437
- content: {
6438
- "application/json": components["schemas"]["ErrorResponse"];
6439
- };
6440
- };
6441
- /** @description Doc or ACL entry not found */
6442
- 404: {
6443
- headers: {
6444
- [name: string]: unknown;
6445
- };
6446
- content: {
6447
- "application/json": components["schemas"]["ErrorResponse"];
6448
- };
6449
- };
6450
6098
  };
6451
6099
  };
6452
6100
  deleteCompanyMdDocAclEntry: {
6453
6101
  parameters: {
6454
6102
  query?: never;
6455
6103
  header?: never;
6456
- path: {
6457
- /** @description URL-safe goal doc slug */
6458
- slug: string;
6459
- /** @description ACL entry ID */
6460
- aclId: string;
6461
- };
6104
+ path?: never;
6462
6105
  cookie?: never;
6463
6106
  };
6464
6107
  requestBody?: never;
@@ -6470,24 +6113,6 @@ export interface operations {
6470
6113
  };
6471
6114
  content?: never;
6472
6115
  };
6473
- /** @description Requires sharing permission */
6474
- 403: {
6475
- headers: {
6476
- [name: string]: unknown;
6477
- };
6478
- content: {
6479
- "application/json": components["schemas"]["ErrorResponse"];
6480
- };
6481
- };
6482
- /** @description Doc or ACL entry not found */
6483
- 404: {
6484
- headers: {
6485
- [name: string]: unknown;
6486
- };
6487
- content: {
6488
- "application/json": components["schemas"]["ErrorResponse"];
6489
- };
6490
- };
6491
6116
  };
6492
6117
  };
6493
6118
  extractCompanyMd: {
@@ -6499,43 +6124,16 @@ export interface operations {
6499
6124
  };
6500
6125
  requestBody: {
6501
6126
  content: {
6502
- "multipart/form-data": {
6503
- /**
6504
- * Format: binary
6505
- * @description PDF, DOCX, or TXT file to extract goals from
6506
- */
6507
- file?: string;
6508
- };
6509
- "application/json": components["schemas"]["ExtractGoalsRequest"];
6127
+ "multipart/form-data": Record<string, never>;
6510
6128
  };
6511
6129
  };
6512
6130
  responses: {
6513
- /** @description Extraction job enqueued (async). Poll for results or use SSE. */
6131
+ /** @description Extraction enqueued */
6514
6132
  202: {
6515
6133
  headers: {
6516
6134
  [name: string]: unknown;
6517
6135
  };
6518
- content: {
6519
- "application/json": components["schemas"]["ExtractionEnqueuedResponse"];
6520
- };
6521
- };
6522
- /** @description No file/text provided, unsupported MIME type, empty text, or text too large */
6523
- 400: {
6524
- headers: {
6525
- [name: string]: unknown;
6526
- };
6527
- content: {
6528
- "application/json": components["schemas"]["ErrorResponse"];
6529
- };
6530
- };
6531
- /** @description No org.manage_goals capability */
6532
- 403: {
6533
- headers: {
6534
- [name: string]: unknown;
6535
- };
6536
- content: {
6537
- "application/json": components["schemas"]["ErrorResponse"];
6538
- };
6136
+ content?: never;
6539
6137
  };
6540
6138
  };
6541
6139
  };
@@ -6548,22 +6146,13 @@ export interface operations {
6548
6146
  };
6549
6147
  requestBody?: never;
6550
6148
  responses: {
6551
- /** @description Company.md settings with merged defaults */
6149
+ /** @description Company.md settings */
6552
6150
  200: {
6553
6151
  headers: {
6554
6152
  [name: string]: unknown;
6555
6153
  };
6556
6154
  content: {
6557
- "application/json": components["schemas"]["CompanyMdSettings"];
6558
- };
6559
- };
6560
- /** @description No org.view_company_md capability */
6561
- 403: {
6562
- headers: {
6563
- [name: string]: unknown;
6564
- };
6565
- content: {
6566
- "application/json": components["schemas"]["ErrorResponse"];
6155
+ "application/json": components["schemas"]["CompanyMdSettingsResponse"];
6567
6156
  };
6568
6157
  };
6569
6158
  };
@@ -6581,31 +6170,13 @@ export interface operations {
6581
6170
  };
6582
6171
  };
6583
6172
  responses: {
6584
- /** @description Updated company.md settings */
6173
+ /** @description Updated settings */
6585
6174
  200: {
6586
6175
  headers: {
6587
6176
  [name: string]: unknown;
6588
6177
  };
6589
6178
  content: {
6590
- "application/json": components["schemas"]["CompanyMdSettings"];
6591
- };
6592
- };
6593
- /** @description Invalid label values (empty or exceeds 50 characters) */
6594
- 400: {
6595
- headers: {
6596
- [name: string]: unknown;
6597
- };
6598
- content: {
6599
- "application/json": components["schemas"]["ErrorResponse"];
6600
- };
6601
- };
6602
- /** @description No org.manage_company_md capability */
6603
- 403: {
6604
- headers: {
6605
- [name: string]: unknown;
6606
- };
6607
- content: {
6608
- "application/json": components["schemas"]["ErrorResponse"];
6179
+ "application/json": components["schemas"]["CompanyMdSettingsResponse"];
6609
6180
  };
6610
6181
  };
6611
6182
  };
@@ -6619,13 +6190,13 @@ export interface operations {
6619
6190
  };
6620
6191
  requestBody?: never;
6621
6192
  responses: {
6622
- /** @description List of teams */
6193
+ /** @description Team list */
6623
6194
  200: {
6624
6195
  headers: {
6625
6196
  [name: string]: unknown;
6626
6197
  };
6627
6198
  content: {
6628
- "application/json": components["schemas"]["TeamSummary"][];
6199
+ "application/json": components["schemas"]["TeamListResponse"];
6629
6200
  };
6630
6201
  };
6631
6202
  };
@@ -6637,11 +6208,7 @@ export interface operations {
6637
6208
  path?: never;
6638
6209
  cookie?: never;
6639
6210
  };
6640
- requestBody: {
6641
- content: {
6642
- "application/json": components["schemas"]["CreateTeamRequest"];
6643
- };
6644
- };
6211
+ requestBody?: never;
6645
6212
  responses: {
6646
6213
  /** @description Team created */
6647
6214
  201: {
@@ -6649,25 +6216,7 @@ export interface operations {
6649
6216
  [name: string]: unknown;
6650
6217
  };
6651
6218
  content: {
6652
- "application/json": components["schemas"]["TeamSummary"];
6653
- };
6654
- };
6655
- /** @description Invalid request body */
6656
- 400: {
6657
- headers: {
6658
- [name: string]: unknown;
6659
- };
6660
- content: {
6661
- "application/json": components["schemas"]["ErrorResponse"];
6662
- };
6663
- };
6664
- /** @description Insufficient permissions */
6665
- 403: {
6666
- headers: {
6667
- [name: string]: unknown;
6668
- };
6669
- content: {
6670
- "application/json": components["schemas"]["ErrorResponse"];
6219
+ "application/json": components["schemas"]["TeamResponse"];
6671
6220
  };
6672
6221
  };
6673
6222
  };
@@ -6676,38 +6225,18 @@ export interface operations {
6676
6225
  parameters: {
6677
6226
  query?: never;
6678
6227
  header?: never;
6679
- path: {
6680
- teamId: string;
6681
- };
6228
+ path?: never;
6682
6229
  cookie?: never;
6683
6230
  };
6684
6231
  requestBody?: never;
6685
6232
  responses: {
6686
- /** @description Team with members */
6233
+ /** @description Team details */
6687
6234
  200: {
6688
6235
  headers: {
6689
6236
  [name: string]: unknown;
6690
6237
  };
6691
6238
  content: {
6692
- "application/json": components["schemas"]["TeamDetail"];
6693
- };
6694
- };
6695
- /** @description Insufficient permissions */
6696
- 403: {
6697
- headers: {
6698
- [name: string]: unknown;
6699
- };
6700
- content: {
6701
- "application/json": components["schemas"]["ErrorResponse"];
6702
- };
6703
- };
6704
- /** @description Team not found */
6705
- 404: {
6706
- headers: {
6707
- [name: string]: unknown;
6708
- };
6709
- content: {
6710
- "application/json": components["schemas"]["ErrorResponse"];
6239
+ "application/json": components["schemas"]["TeamResponse"];
6711
6240
  };
6712
6241
  };
6713
6242
  };
@@ -6716,16 +6245,10 @@ export interface operations {
6716
6245
  parameters: {
6717
6246
  query?: never;
6718
6247
  header?: never;
6719
- path: {
6720
- teamId: string;
6721
- };
6248
+ path?: never;
6722
6249
  cookie?: never;
6723
6250
  };
6724
- requestBody: {
6725
- content: {
6726
- "application/json": components["schemas"]["UpdateTeamRequest"];
6727
- };
6728
- };
6251
+ requestBody?: never;
6729
6252
  responses: {
6730
6253
  /** @description Updated team */
6731
6254
  200: {
@@ -6733,25 +6256,7 @@ export interface operations {
6733
6256
  [name: string]: unknown;
6734
6257
  };
6735
6258
  content: {
6736
- "application/json": components["schemas"]["TeamSummary"];
6737
- };
6738
- };
6739
- /** @description Insufficient permissions */
6740
- 403: {
6741
- headers: {
6742
- [name: string]: unknown;
6743
- };
6744
- content: {
6745
- "application/json": components["schemas"]["ErrorResponse"];
6746
- };
6747
- };
6748
- /** @description Team not found */
6749
- 404: {
6750
- headers: {
6751
- [name: string]: unknown;
6752
- };
6753
- content: {
6754
- "application/json": components["schemas"]["ErrorResponse"];
6259
+ "application/json": components["schemas"]["TeamResponse"];
6755
6260
  };
6756
6261
  };
6757
6262
  };
@@ -6760,9 +6265,7 @@ export interface operations {
6760
6265
  parameters: {
6761
6266
  query?: never;
6762
6267
  header?: never;
6763
- path: {
6764
- teamId: string;
6765
- };
6268
+ path?: never;
6766
6269
  cookie?: never;
6767
6270
  };
6768
6271
  requestBody?: never;
@@ -6774,81 +6277,23 @@ export interface operations {
6774
6277
  };
6775
6278
  content?: never;
6776
6279
  };
6777
- /** @description Insufficient permissions */
6778
- 403: {
6779
- headers: {
6780
- [name: string]: unknown;
6781
- };
6782
- content: {
6783
- "application/json": components["schemas"]["ErrorResponse"];
6784
- };
6785
- };
6786
- /** @description Team not found */
6787
- 404: {
6788
- headers: {
6789
- [name: string]: unknown;
6790
- };
6791
- content: {
6792
- "application/json": components["schemas"]["ErrorResponse"];
6793
- };
6794
- };
6795
6280
  };
6796
6281
  };
6797
6282
  addTeamMember: {
6798
6283
  parameters: {
6799
6284
  query?: never;
6800
6285
  header?: never;
6801
- path: {
6802
- teamId: string;
6803
- };
6286
+ path?: never;
6804
6287
  cookie?: never;
6805
6288
  };
6806
- requestBody: {
6807
- content: {
6808
- "application/json": components["schemas"]["AddTeamMemberRequest"];
6809
- };
6810
- };
6289
+ requestBody?: never;
6811
6290
  responses: {
6812
6291
  /** @description Member added */
6813
6292
  201: {
6814
6293
  headers: {
6815
6294
  [name: string]: unknown;
6816
6295
  };
6817
- content: {
6818
- "application/json": {
6819
- /** @constant */
6820
- success: true;
6821
- /** @constant */
6822
- ok: true;
6823
- };
6824
- };
6825
- };
6826
- /** @description Invalid request body */
6827
- 400: {
6828
- headers: {
6829
- [name: string]: unknown;
6830
- };
6831
- content: {
6832
- "application/json": components["schemas"]["ErrorResponse"];
6833
- };
6834
- };
6835
- /** @description Insufficient permissions */
6836
- 403: {
6837
- headers: {
6838
- [name: string]: unknown;
6839
- };
6840
- content: {
6841
- "application/json": components["schemas"]["ErrorResponse"];
6842
- };
6843
- };
6844
- /** @description Sync mode conflict */
6845
- 409: {
6846
- headers: {
6847
- [name: string]: unknown;
6848
- };
6849
- content: {
6850
- "application/json": components["schemas"]["ErrorResponse"];
6851
- };
6296
+ content?: never;
6852
6297
  };
6853
6298
  };
6854
6299
  };
@@ -6856,10 +6301,7 @@ export interface operations {
6856
6301
  parameters: {
6857
6302
  query?: never;
6858
6303
  header?: never;
6859
- path: {
6860
- teamId: string;
6861
- userId: string;
6862
- };
6304
+ path?: never;
6863
6305
  cookie?: never;
6864
6306
  };
6865
6307
  requestBody?: never;
@@ -6871,79 +6313,23 @@ export interface operations {
6871
6313
  };
6872
6314
  content?: never;
6873
6315
  };
6874
- /** @description Insufficient permissions */
6875
- 403: {
6876
- headers: {
6877
- [name: string]: unknown;
6878
- };
6879
- content: {
6880
- "application/json": components["schemas"]["ErrorResponse"];
6881
- };
6882
- };
6883
- /** @description Last owner or sync mode conflict */
6884
- 409: {
6885
- headers: {
6886
- [name: string]: unknown;
6887
- };
6888
- content: {
6889
- "application/json": components["schemas"]["ErrorResponse"];
6890
- };
6891
- };
6892
6316
  };
6893
6317
  };
6894
6318
  updateTeamMemberRole: {
6895
6319
  parameters: {
6896
6320
  query?: never;
6897
6321
  header?: never;
6898
- path: {
6899
- teamId: string;
6900
- userId: string;
6901
- };
6322
+ path?: never;
6902
6323
  cookie?: never;
6903
6324
  };
6904
- requestBody: {
6905
- content: {
6906
- "application/json": components["schemas"]["UpdateTeamMemberRoleRequest"];
6907
- };
6908
- };
6325
+ requestBody?: never;
6909
6326
  responses: {
6910
6327
  /** @description Role updated */
6911
6328
  200: {
6912
6329
  headers: {
6913
6330
  [name: string]: unknown;
6914
6331
  };
6915
- content: {
6916
- "application/json": {
6917
- ok?: boolean;
6918
- };
6919
- };
6920
- };
6921
- /** @description Invalid role */
6922
- 400: {
6923
- headers: {
6924
- [name: string]: unknown;
6925
- };
6926
- content: {
6927
- "application/json": components["schemas"]["ErrorResponse"];
6928
- };
6929
- };
6930
- /** @description Insufficient permissions */
6931
- 403: {
6932
- headers: {
6933
- [name: string]: unknown;
6934
- };
6935
- content: {
6936
- "application/json": components["schemas"]["ErrorResponse"];
6937
- };
6938
- };
6939
- /** @description Last owner or sync mode conflict */
6940
- 409: {
6941
- headers: {
6942
- [name: string]: unknown;
6943
- };
6944
- content: {
6945
- "application/json": components["schemas"]["ErrorResponse"];
6946
- };
6332
+ content?: never;
6947
6333
  };
6948
6334
  };
6949
6335
  };
@@ -6974,13 +6360,13 @@ export interface operations {
6974
6360
  };
6975
6361
  requestBody?: never;
6976
6362
  responses: {
6977
- /** @description List of departments */
6363
+ /** @description Department list */
6978
6364
  200: {
6979
6365
  headers: {
6980
6366
  [name: string]: unknown;
6981
6367
  };
6982
6368
  content: {
6983
- "application/json": Record<string, never>[];
6369
+ "application/json": components["schemas"]["DepartmentListResponse"];
6984
6370
  };
6985
6371
  };
6986
6372
  };
@@ -6992,14 +6378,7 @@ export interface operations {
6992
6378
  path?: never;
6993
6379
  cookie?: never;
6994
6380
  };
6995
- requestBody: {
6996
- content: {
6997
- "application/json": {
6998
- name: string;
6999
- description?: string;
7000
- };
7001
- };
7002
- };
6381
+ requestBody?: never;
7003
6382
  responses: {
7004
6383
  /** @description Department created */
7005
6384
  201: {
@@ -7007,34 +6386,7 @@ export interface operations {
7007
6386
  [name: string]: unknown;
7008
6387
  };
7009
6388
  content: {
7010
- "application/json": Record<string, never>;
7011
- };
7012
- };
7013
- /** @description Invalid request */
7014
- 400: {
7015
- headers: {
7016
- [name: string]: unknown;
7017
- };
7018
- content: {
7019
- "application/json": components["schemas"]["ErrorResponse"];
7020
- };
7021
- };
7022
- /** @description Insufficient permissions */
7023
- 403: {
7024
- headers: {
7025
- [name: string]: unknown;
7026
- };
7027
- content: {
7028
- "application/json": components["schemas"]["ErrorResponse"];
7029
- };
7030
- };
7031
- /** @description Department name already exists */
7032
- 409: {
7033
- headers: {
7034
- [name: string]: unknown;
7035
- };
7036
- content: {
7037
- "application/json": components["schemas"]["ErrorResponse"];
6389
+ "application/json": components["schemas"]["DepartmentResponse"];
7038
6390
  };
7039
6391
  };
7040
6392
  };
@@ -7043,9 +6395,7 @@ export interface operations {
7043
6395
  parameters: {
7044
6396
  query?: never;
7045
6397
  header?: never;
7046
- path: {
7047
- id: string;
7048
- };
6398
+ path?: never;
7049
6399
  cookie?: never;
7050
6400
  };
7051
6401
  requestBody?: never;
@@ -7056,25 +6406,7 @@ export interface operations {
7056
6406
  [name: string]: unknown;
7057
6407
  };
7058
6408
  content: {
7059
- "application/json": Record<string, never>;
7060
- };
7061
- };
7062
- /** @description Insufficient permissions */
7063
- 403: {
7064
- headers: {
7065
- [name: string]: unknown;
7066
- };
7067
- content: {
7068
- "application/json": components["schemas"]["ErrorResponse"];
7069
- };
7070
- };
7071
- /** @description Department not found */
7072
- 404: {
7073
- headers: {
7074
- [name: string]: unknown;
7075
- };
7076
- content: {
7077
- "application/json": components["schemas"]["ErrorResponse"];
6409
+ "application/json": components["schemas"]["DepartmentResponse"];
7078
6410
  };
7079
6411
  };
7080
6412
  };
@@ -7083,9 +6415,7 @@ export interface operations {
7083
6415
  parameters: {
7084
6416
  query?: never;
7085
6417
  header?: never;
7086
- path: {
7087
- id: string;
7088
- };
6418
+ path?: never;
7089
6419
  cookie?: never;
7090
6420
  };
7091
6421
  requestBody?: never;
@@ -7097,117 +6427,43 @@ export interface operations {
7097
6427
  };
7098
6428
  content?: never;
7099
6429
  };
7100
- /** @description Insufficient permissions */
7101
- 403: {
7102
- headers: {
7103
- [name: string]: unknown;
7104
- };
7105
- content: {
7106
- "application/json": components["schemas"]["ErrorResponse"];
7107
- };
7108
- };
7109
- /** @description Department not found */
7110
- 404: {
7111
- headers: {
7112
- [name: string]: unknown;
7113
- };
7114
- content: {
7115
- "application/json": components["schemas"]["ErrorResponse"];
7116
- };
7117
- };
7118
6430
  };
7119
6431
  };
7120
6432
  updateDepartment: {
7121
6433
  parameters: {
7122
6434
  query?: never;
7123
6435
  header?: never;
7124
- path: {
7125
- id: string;
7126
- };
6436
+ path?: never;
7127
6437
  cookie?: never;
7128
6438
  };
7129
- requestBody: {
7130
- content: {
7131
- "application/json": {
7132
- name?: string;
7133
- description?: string;
7134
- position?: number;
7135
- };
7136
- };
7137
- };
6439
+ requestBody?: never;
7138
6440
  responses: {
7139
- /** @description Department updated */
6441
+ /** @description Updated department */
7140
6442
  200: {
7141
6443
  headers: {
7142
6444
  [name: string]: unknown;
7143
6445
  };
7144
6446
  content: {
7145
- "application/json": Record<string, never>;
7146
- };
7147
- };
7148
- /** @description Insufficient permissions */
7149
- 403: {
7150
- headers: {
7151
- [name: string]: unknown;
7152
- };
7153
- content: {
7154
- "application/json": components["schemas"]["ErrorResponse"];
7155
- };
7156
- };
7157
- /** @description Department not found */
7158
- 404: {
7159
- headers: {
7160
- [name: string]: unknown;
7161
- };
7162
- content: {
7163
- "application/json": components["schemas"]["ErrorResponse"];
6447
+ "application/json": components["schemas"]["DepartmentResponse"];
7164
6448
  };
7165
6449
  };
7166
6450
  };
7167
6451
  };
7168
6452
  listDepartmentMembers: {
7169
6453
  parameters: {
7170
- query?: {
7171
- /** @description Cursor for pagination */
7172
- cursor?: string;
7173
- /** @description Max results per page (default 100, max 200) */
7174
- limit?: number;
7175
- };
6454
+ query?: never;
7176
6455
  header?: never;
7177
- path: {
7178
- /** @description Department ID (UUID) */
7179
- id: string;
7180
- };
6456
+ path?: never;
7181
6457
  cookie?: never;
7182
6458
  };
7183
6459
  requestBody?: never;
7184
6460
  responses: {
7185
- /** @description Paginated list of department members */
6461
+ /** @description Department member list */
7186
6462
  200: {
7187
6463
  headers: {
7188
6464
  [name: string]: unknown;
7189
6465
  };
7190
- content: {
7191
- "application/json": components["schemas"]["DepartmentMembersResponse"];
7192
- };
7193
- };
7194
- /** @description No org.view_departments capability */
7195
- 403: {
7196
- headers: {
7197
- [name: string]: unknown;
7198
- };
7199
- content: {
7200
- "application/json": components["schemas"]["ErrorResponse"];
7201
- };
7202
- };
7203
- /** @description Department not found */
7204
- 404: {
7205
- headers: {
7206
- [name: string]: unknown;
7207
- };
7208
- content: {
7209
- "application/json": components["schemas"]["ErrorResponse"];
7210
- };
6466
+ content?: never;
7211
6467
  };
7212
6468
  };
7213
6469
  };
@@ -7215,68 +6471,17 @@ export interface operations {
7215
6471
  parameters: {
7216
6472
  query?: never;
7217
6473
  header?: never;
7218
- path: {
7219
- id: string;
7220
- };
6474
+ path?: never;
7221
6475
  cookie?: never;
7222
6476
  };
7223
- requestBody: {
7224
- content: {
7225
- "application/json": {
7226
- /** Format: uuid */
7227
- userId: string;
7228
- /** @enum {string} */
7229
- role?: "member" | "manager" | "owner";
7230
- };
7231
- };
7232
- };
6477
+ requestBody?: never;
7233
6478
  responses: {
7234
6479
  /** @description Member added */
7235
6480
  201: {
7236
6481
  headers: {
7237
6482
  [name: string]: unknown;
7238
6483
  };
7239
- content: {
7240
- "application/json": {
7241
- success?: boolean;
7242
- };
7243
- };
7244
- };
7245
- /** @description Invalid request */
7246
- 400: {
7247
- headers: {
7248
- [name: string]: unknown;
7249
- };
7250
- content: {
7251
- "application/json": components["schemas"]["ErrorResponse"];
7252
- };
7253
- };
7254
- /** @description Insufficient permissions */
7255
- 403: {
7256
- headers: {
7257
- [name: string]: unknown;
7258
- };
7259
- content: {
7260
- "application/json": components["schemas"]["ErrorResponse"];
7261
- };
7262
- };
7263
- /** @description Department not found */
7264
- 404: {
7265
- headers: {
7266
- [name: string]: unknown;
7267
- };
7268
- content: {
7269
- "application/json": components["schemas"]["ErrorResponse"];
7270
- };
7271
- };
7272
- /** @description Already a member */
7273
- 409: {
7274
- headers: {
7275
- [name: string]: unknown;
7276
- };
7277
- content: {
7278
- "application/json": components["schemas"]["ErrorResponse"];
7279
- };
6484
+ content?: never;
7280
6485
  };
7281
6486
  };
7282
6487
  };
@@ -7284,10 +6489,7 @@ export interface operations {
7284
6489
  parameters: {
7285
6490
  query?: never;
7286
6491
  header?: never;
7287
- path: {
7288
- id: string;
7289
- userId: string;
7290
- };
6492
+ path?: never;
7291
6493
  cookie?: never;
7292
6494
  };
7293
6495
  requestBody?: never;
@@ -7299,33 +6501,6 @@ export interface operations {
7299
6501
  };
7300
6502
  content?: never;
7301
6503
  };
7302
- /** @description Insufficient permissions */
7303
- 403: {
7304
- headers: {
7305
- [name: string]: unknown;
7306
- };
7307
- content: {
7308
- "application/json": components["schemas"]["ErrorResponse"];
7309
- };
7310
- };
7311
- /** @description Department not found */
7312
- 404: {
7313
- headers: {
7314
- [name: string]: unknown;
7315
- };
7316
- content: {
7317
- "application/json": components["schemas"]["ErrorResponse"];
7318
- };
7319
- };
7320
- /** @description Cannot remove sole owner */
7321
- 409: {
7322
- headers: {
7323
- [name: string]: unknown;
7324
- };
7325
- content: {
7326
- "application/json": components["schemas"]["ErrorResponse"];
7327
- };
7328
- };
7329
6504
  };
7330
6505
  };
7331
6506
  checkScopeBatch: {