@company-semantics/contracts 0.122.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.
- package/package.json +5 -1
- package/src/api/generated-spec-hash.ts +2 -2
- package/src/api/generated.ts +465 -1551
- package/src/content/index.ts +34 -0
- package/src/content/schemas.ts +286 -0
- package/src/identity/index.ts +26 -2
- package/src/identity/schemas.ts +85 -0
- package/src/org/index.ts +14 -0
- package/src/org/schemas.ts +106 -0
package/src/api/generated.ts
CHANGED
|
@@ -356,12 +356,7 @@ export interface paths {
|
|
|
356
356
|
path?: never;
|
|
357
357
|
cookie?: never;
|
|
358
358
|
};
|
|
359
|
-
/**
|
|
360
|
-
* Get execution timeline
|
|
361
|
-
* @description Returns the timeline for an execution.
|
|
362
|
-
* Timeline is a read-only projection over audit data.
|
|
363
|
-
* Returns 404 for both non-existent and non-visible executions (prevents existence leaks).
|
|
364
|
-
*/
|
|
359
|
+
/** Get timeline events for an execution */
|
|
365
360
|
get: operations["getExecutionTimeline"];
|
|
366
361
|
put?: never;
|
|
367
362
|
post?: never;
|
|
@@ -378,11 +373,7 @@ export interface paths {
|
|
|
378
373
|
path?: never;
|
|
379
374
|
cookie?: never;
|
|
380
375
|
};
|
|
381
|
-
/**
|
|
382
|
-
* Get execution summary
|
|
383
|
-
* @description Returns the ExecutionSummary projection for an execution.
|
|
384
|
-
* Summary is a UI-facing projection derived from audit records.
|
|
385
|
-
*/
|
|
376
|
+
/** Get execution summary projection */
|
|
386
377
|
get: operations["getExecutionSummary"];
|
|
387
378
|
put?: never;
|
|
388
379
|
post?: never;
|
|
@@ -399,16 +390,10 @@ export interface paths {
|
|
|
399
390
|
path?: never;
|
|
400
391
|
cookie?: never;
|
|
401
392
|
};
|
|
402
|
-
/**
|
|
403
|
-
* List executions
|
|
404
|
-
* @description Lists execution summaries with optional filtering.
|
|
405
|
-
*/
|
|
393
|
+
/** List executions with cursor pagination */
|
|
406
394
|
get: operations["listExecutions"];
|
|
407
395
|
put?: never;
|
|
408
|
-
/**
|
|
409
|
-
* Start a new execution
|
|
410
|
-
* @description Start a new execution for an integration action.
|
|
411
|
-
*/
|
|
396
|
+
/** Start a new execution */
|
|
412
397
|
post: operations["startExecution"];
|
|
413
398
|
delete?: never;
|
|
414
399
|
options?: never;
|
|
@@ -423,11 +408,7 @@ export interface paths {
|
|
|
423
408
|
path?: never;
|
|
424
409
|
cookie?: never;
|
|
425
410
|
};
|
|
426
|
-
/**
|
|
427
|
-
* Get execution explanation
|
|
428
|
-
* @description Returns the deterministic explanation for an execution.
|
|
429
|
-
* Explanation is generated from audit records, NOT from LLM.
|
|
430
|
-
*/
|
|
411
|
+
/** Get deterministic explanation for an execution */
|
|
431
412
|
get: operations["getExplanation"];
|
|
432
413
|
put?: never;
|
|
433
414
|
post?: never;
|
|
@@ -446,12 +427,7 @@ export interface paths {
|
|
|
446
427
|
};
|
|
447
428
|
get?: never;
|
|
448
429
|
put?: never;
|
|
449
|
-
/**
|
|
450
|
-
* Undo a completed execution
|
|
451
|
-
* @description Undoes a completed execution within its undo window.
|
|
452
|
-
* The caller must be the same user who initiated the execution.
|
|
453
|
-
* Idempotent: if undo was already performed, returns the existing result.
|
|
454
|
-
*/
|
|
430
|
+
/** Undo a completed execution within its undo window */
|
|
455
431
|
post: operations["undoExecution"];
|
|
456
432
|
delete?: never;
|
|
457
433
|
options?: never;
|
|
@@ -468,11 +444,7 @@ export interface paths {
|
|
|
468
444
|
};
|
|
469
445
|
get?: never;
|
|
470
446
|
put?: never;
|
|
471
|
-
/**
|
|
472
|
-
* Confirm a pending execution
|
|
473
|
-
* @description Confirms a pending execution. Serialized via advisory lock.
|
|
474
|
-
* The caller must be the same user who initiated the execution.
|
|
475
|
-
*/
|
|
447
|
+
/** Confirm pending execution */
|
|
476
448
|
post: operations["confirmExecution"];
|
|
477
449
|
delete?: never;
|
|
478
450
|
options?: never;
|
|
@@ -489,11 +461,7 @@ export interface paths {
|
|
|
489
461
|
};
|
|
490
462
|
get?: never;
|
|
491
463
|
put?: never;
|
|
492
|
-
/**
|
|
493
|
-
* Reject a pending execution
|
|
494
|
-
* @description Rejects a pending execution. Serialized via advisory lock.
|
|
495
|
-
* The caller must be the same user who initiated the execution.
|
|
496
|
-
*/
|
|
464
|
+
/** Reject pending execution */
|
|
497
465
|
post: operations["rejectExecution"];
|
|
498
466
|
delete?: never;
|
|
499
467
|
options?: never;
|
|
@@ -508,11 +476,7 @@ export interface paths {
|
|
|
508
476
|
path?: never;
|
|
509
477
|
cookie?: never;
|
|
510
478
|
};
|
|
511
|
-
/**
|
|
512
|
-
* Get timeline UI events
|
|
513
|
-
* @description Returns timeline events in UI projection format.
|
|
514
|
-
* This is the user-facing timeline with derived labels and icons.
|
|
515
|
-
*/
|
|
479
|
+
/** Get timeline events in UI projection format */
|
|
516
480
|
get: operations["getTimelineUI"];
|
|
517
481
|
put?: never;
|
|
518
482
|
post?: never;
|
|
@@ -550,12 +514,7 @@ export interface paths {
|
|
|
550
514
|
path?: never;
|
|
551
515
|
cookie?: never;
|
|
552
516
|
};
|
|
553
|
-
/**
|
|
554
|
-
* List and search Google Drive files
|
|
555
|
-
* @description Returns a paginated list of Google Drive files accessible via the org's
|
|
556
|
-
* connected Google Drive integration. Supports search, pagination, and
|
|
557
|
-
* MIME type filtering. Requires an active google_drive connection.
|
|
558
|
-
*/
|
|
517
|
+
/** List Google Drive files */
|
|
559
518
|
get: operations["listDriveFiles"];
|
|
560
519
|
put?: never;
|
|
561
520
|
post?: never;
|
|
@@ -572,12 +531,7 @@ export interface paths {
|
|
|
572
531
|
path?: never;
|
|
573
532
|
cookie?: never;
|
|
574
533
|
};
|
|
575
|
-
/**
|
|
576
|
-
* Get text content from a Google Drive file
|
|
577
|
-
* @description Extracts text content from a Google Drive file. The export strategy
|
|
578
|
-
* is determined by the file's MIME type. Requires an active google_drive
|
|
579
|
-
* connection.
|
|
580
|
-
*/
|
|
534
|
+
/** Get extracted text content from a Google Drive file */
|
|
581
535
|
get: operations["getDriveFileContent"];
|
|
582
536
|
put?: never;
|
|
583
537
|
post?: never;
|
|
@@ -594,13 +548,7 @@ export interface paths {
|
|
|
594
548
|
path?: never;
|
|
595
549
|
cookie?: never;
|
|
596
550
|
};
|
|
597
|
-
/**
|
|
598
|
-
* List recently modified Google Drive files
|
|
599
|
-
* @description Returns a paginated list of recently modified Google Drive files
|
|
600
|
-
* accessible via the org's connected Google Drive integration.
|
|
601
|
-
* Files are ordered by modifiedTime descending. Requires an active
|
|
602
|
-
* google_drive connection.
|
|
603
|
-
*/
|
|
551
|
+
/** List recently modified Google Drive files */
|
|
604
552
|
get: operations["listRecentDriveFiles"];
|
|
605
553
|
put?: never;
|
|
606
554
|
post?: never;
|
|
@@ -1496,12 +1444,7 @@ export interface paths {
|
|
|
1496
1444
|
path?: never;
|
|
1497
1445
|
cookie?: never;
|
|
1498
1446
|
};
|
|
1499
|
-
/**
|
|
1500
|
-
* Get the goal tree for the current org
|
|
1501
|
-
* @description Returns the goal tree for the current org with cursor pagination.
|
|
1502
|
-
* Auto-materializes docs on first access.
|
|
1503
|
-
* Requires org.view_goals capability.
|
|
1504
|
-
*/
|
|
1447
|
+
/** Get company.md document tree */
|
|
1505
1448
|
get: operations["getCompanyMdTree"];
|
|
1506
1449
|
put?: never;
|
|
1507
1450
|
post?: never;
|
|
@@ -1518,12 +1461,7 @@ export interface paths {
|
|
|
1518
1461
|
path?: never;
|
|
1519
1462
|
cookie?: never;
|
|
1520
1463
|
};
|
|
1521
|
-
/**
|
|
1522
|
-
* Get a goal doc by slug
|
|
1523
|
-
* @description Returns a single goal doc by slug with computed fields.
|
|
1524
|
-
* Enforces visibility (returns 404 if user cannot see the doc).
|
|
1525
|
-
* Requires org.view_goals capability.
|
|
1526
|
-
*/
|
|
1464
|
+
/** Get a company.md document by slug */
|
|
1527
1465
|
get: operations["getCompanyMdDoc"];
|
|
1528
1466
|
put?: never;
|
|
1529
1467
|
post?: never;
|
|
@@ -1541,11 +1479,7 @@ export interface paths {
|
|
|
1541
1479
|
cookie?: never;
|
|
1542
1480
|
};
|
|
1543
1481
|
get?: never;
|
|
1544
|
-
/**
|
|
1545
|
-
* Update goal doc content
|
|
1546
|
-
* @description Updates the content of a goal doc.
|
|
1547
|
-
* canEdit checked in service (owner/co-owner/manage_goals).
|
|
1548
|
-
*/
|
|
1482
|
+
/** Update a company.md document content */
|
|
1549
1483
|
put: operations["updateCompanyMdDocContent"];
|
|
1550
1484
|
post?: never;
|
|
1551
1485
|
delete?: never;
|
|
@@ -1562,11 +1496,7 @@ export interface paths {
|
|
|
1562
1496
|
cookie?: never;
|
|
1563
1497
|
};
|
|
1564
1498
|
get?: never;
|
|
1565
|
-
/**
|
|
1566
|
-
* Update goal doc title
|
|
1567
|
-
* @description Updates the title of a goal doc.
|
|
1568
|
-
* canEdit checked in service (owner/co-owner/manage_goals).
|
|
1569
|
-
*/
|
|
1499
|
+
/** Update a company.md document title */
|
|
1570
1500
|
put: operations["updateCompanyMdDocTitle"];
|
|
1571
1501
|
post?: never;
|
|
1572
1502
|
delete?: never;
|
|
@@ -1582,11 +1512,7 @@ export interface paths {
|
|
|
1582
1512
|
path?: never;
|
|
1583
1513
|
cookie?: never;
|
|
1584
1514
|
};
|
|
1585
|
-
/**
|
|
1586
|
-
* Get context bank items for a goal doc
|
|
1587
|
-
* @description Returns context bank items associated with the given parent doc.
|
|
1588
|
-
* Requires org.view_company_md capability.
|
|
1589
|
-
*/
|
|
1515
|
+
/** Get context bank items for a company.md document */
|
|
1590
1516
|
get: operations["getCompanyMdDocContextBank"];
|
|
1591
1517
|
put?: never;
|
|
1592
1518
|
post?: never;
|
|
@@ -1605,11 +1531,7 @@ export interface paths {
|
|
|
1605
1531
|
};
|
|
1606
1532
|
get?: never;
|
|
1607
1533
|
put?: never;
|
|
1608
|
-
/**
|
|
1609
|
-
* Create a new context bank doc and associate with parent
|
|
1610
|
-
* @description Creates a new context doc (level=context) and associates it with the
|
|
1611
|
-
* given parent doc. Requires org.view_company_md capability.
|
|
1612
|
-
*/
|
|
1534
|
+
/** Create a new context bank doc and associate it with a parent doc */
|
|
1613
1535
|
post: operations["createCompanyMdContextDoc"];
|
|
1614
1536
|
delete?: never;
|
|
1615
1537
|
options?: never;
|
|
@@ -1626,12 +1548,7 @@ export interface paths {
|
|
|
1626
1548
|
};
|
|
1627
1549
|
get?: never;
|
|
1628
1550
|
put?: never;
|
|
1629
|
-
/**
|
|
1630
|
-
* Associate an existing context doc with a parent doc
|
|
1631
|
-
* @description Associates an existing context doc with the given parent doc.
|
|
1632
|
-
* Returns 409 if the association already exists.
|
|
1633
|
-
* Requires org.view_company_md capability.
|
|
1634
|
-
*/
|
|
1551
|
+
/** Associate an existing context doc with a parent doc */
|
|
1635
1552
|
post: operations["associateCompanyMdContextDoc"];
|
|
1636
1553
|
delete?: never;
|
|
1637
1554
|
options?: never;
|
|
@@ -1649,11 +1566,7 @@ export interface paths {
|
|
|
1649
1566
|
get?: never;
|
|
1650
1567
|
put?: never;
|
|
1651
1568
|
post?: never;
|
|
1652
|
-
/**
|
|
1653
|
-
* Remove a context bank association
|
|
1654
|
-
* @description Removes the association between a context doc and its parent doc.
|
|
1655
|
-
* Requires org.view_company_md capability.
|
|
1656
|
-
*/
|
|
1569
|
+
/** Remove context bank association between context doc and parent doc */
|
|
1657
1570
|
delete: operations["removeCompanyMdContextAssociation"];
|
|
1658
1571
|
options?: never;
|
|
1659
1572
|
head?: never;
|
|
@@ -1667,12 +1580,7 @@ export interface paths {
|
|
|
1667
1580
|
path?: never;
|
|
1668
1581
|
cookie?: never;
|
|
1669
1582
|
};
|
|
1670
|
-
/**
|
|
1671
|
-
* Get sharing settings for a goal doc
|
|
1672
|
-
* @description Returns the sharing policy, ACL entries, and effective access
|
|
1673
|
-
* for the current user on a goal doc.
|
|
1674
|
-
* Requires at least viewer access to the doc.
|
|
1675
|
-
*/
|
|
1583
|
+
/** Get sharing policy and ACL for a company.md document */
|
|
1676
1584
|
get: operations["getCompanyMdDocSharing"];
|
|
1677
1585
|
put?: never;
|
|
1678
1586
|
post?: never;
|
|
@@ -1690,11 +1598,7 @@ export interface paths {
|
|
|
1690
1598
|
cookie?: never;
|
|
1691
1599
|
};
|
|
1692
1600
|
get?: never;
|
|
1693
|
-
/**
|
|
1694
|
-
* Update the sharing policy for a goal doc
|
|
1695
|
-
* @description Sets the org-wide sharing policy for a goal doc.
|
|
1696
|
-
* Requires canShare permission (doc ownership, team ownership, or org admin).
|
|
1697
|
-
*/
|
|
1601
|
+
/** Update sharing policy for a company.md document */
|
|
1698
1602
|
put: operations["updateCompanyMdDocSharingPolicy"];
|
|
1699
1603
|
post?: never;
|
|
1700
1604
|
delete?: never;
|
|
@@ -1712,11 +1616,7 @@ export interface paths {
|
|
|
1712
1616
|
};
|
|
1713
1617
|
get?: never;
|
|
1714
1618
|
put?: never;
|
|
1715
|
-
/**
|
|
1716
|
-
* Add an ACL entry to a goal doc
|
|
1717
|
-
* @description Grants a user or team access to a goal doc at a specified level.
|
|
1718
|
-
* Requires canShare permission. Unique constraint on (doc, principalType, principalId).
|
|
1719
|
-
*/
|
|
1619
|
+
/** Add an ACL entry to a company.md document */
|
|
1720
1620
|
post: operations["addCompanyMdDocAclEntry"];
|
|
1721
1621
|
delete?: never;
|
|
1722
1622
|
options?: never;
|
|
@@ -1732,17 +1632,10 @@ export interface paths {
|
|
|
1732
1632
|
cookie?: never;
|
|
1733
1633
|
};
|
|
1734
1634
|
get?: never;
|
|
1735
|
-
/**
|
|
1736
|
-
* Update an ACL entry's access level
|
|
1737
|
-
* @description Changes the access level of an existing ACL entry.
|
|
1738
|
-
* Requires canShare permission.
|
|
1739
|
-
*/
|
|
1635
|
+
/** Update an ACL entry on a company.md document */
|
|
1740
1636
|
put: operations["updateCompanyMdDocAclEntry"];
|
|
1741
1637
|
post?: never;
|
|
1742
|
-
/**
|
|
1743
|
-
* Remove an ACL entry from a goal doc
|
|
1744
|
-
* @description Revokes a specific ACL entry. Requires canShare permission.
|
|
1745
|
-
*/
|
|
1638
|
+
/** Delete an ACL entry from a company.md document */
|
|
1746
1639
|
delete: operations["deleteCompanyMdDocAclEntry"];
|
|
1747
1640
|
options?: never;
|
|
1748
1641
|
head?: never;
|
|
@@ -1758,14 +1651,7 @@ export interface paths {
|
|
|
1758
1651
|
};
|
|
1759
1652
|
get?: never;
|
|
1760
1653
|
put?: never;
|
|
1761
|
-
/**
|
|
1762
|
-
* Extract structured goal signals from a document or text
|
|
1763
|
-
* @description Accepts either multipart/form-data with a file upload (PDF, DOCX, TXT)
|
|
1764
|
-
* or application/json with pasted text. Extracts structured goal signals
|
|
1765
|
-
* via LLM and returns generated Markdown with confidence scoring.
|
|
1766
|
-
* Requires org.manage_goals capability.
|
|
1767
|
-
* Max 10 concurrent extractions per server instance.
|
|
1768
|
-
*/
|
|
1654
|
+
/** Enqueue company.md extraction from file upload or JSON payload */
|
|
1769
1655
|
post: operations["extractCompanyMd"];
|
|
1770
1656
|
delete?: never;
|
|
1771
1657
|
options?: never;
|
|
@@ -1780,12 +1666,7 @@ export interface paths {
|
|
|
1780
1666
|
path?: never;
|
|
1781
1667
|
cookie?: never;
|
|
1782
1668
|
};
|
|
1783
|
-
/**
|
|
1784
|
-
* Get company.md settings for the authenticated org
|
|
1785
|
-
* @description Returns CompanyMdSettings with merged defaults. The root label defaults
|
|
1786
|
-
* to the org name; department and team use system defaults if not customized.
|
|
1787
|
-
* Requires org.view_company_md capability.
|
|
1788
|
-
*/
|
|
1669
|
+
/** Get company.md settings for the org */
|
|
1789
1670
|
get: operations["getCompanyMdSettings"];
|
|
1790
1671
|
put?: never;
|
|
1791
1672
|
post?: never;
|
|
@@ -1803,12 +1684,7 @@ export interface paths {
|
|
|
1803
1684
|
cookie?: never;
|
|
1804
1685
|
};
|
|
1805
1686
|
get?: never;
|
|
1806
|
-
/**
|
|
1807
|
-
* Update company.md level labels for the authenticated org
|
|
1808
|
-
* @description Accepts a partial CompanyMdLevelLabels object. Only provided fields are updated;
|
|
1809
|
-
* unspecified fields retain their current values. Returns the full updated
|
|
1810
|
-
* CompanyMdSettings. Requires org.manage_company_md capability (org owner/admin).
|
|
1811
|
-
*/
|
|
1687
|
+
/** Update company.md level labels */
|
|
1812
1688
|
put: operations["updateCompanyMdLevelLabels"];
|
|
1813
1689
|
post?: never;
|
|
1814
1690
|
delete?: never;
|
|
@@ -1824,10 +1700,10 @@ export interface paths {
|
|
|
1824
1700
|
path?: never;
|
|
1825
1701
|
cookie?: never;
|
|
1826
1702
|
};
|
|
1827
|
-
/** List teams
|
|
1703
|
+
/** List teams */
|
|
1828
1704
|
get: operations["listTeams"];
|
|
1829
1705
|
put?: never;
|
|
1830
|
-
/** Create
|
|
1706
|
+
/** Create team */
|
|
1831
1707
|
post: operations["createTeam"];
|
|
1832
1708
|
delete?: never;
|
|
1833
1709
|
options?: never;
|
|
@@ -1842,12 +1718,12 @@ export interface paths {
|
|
|
1842
1718
|
path?: never;
|
|
1843
1719
|
cookie?: never;
|
|
1844
1720
|
};
|
|
1845
|
-
/** Get
|
|
1721
|
+
/** Get team */
|
|
1846
1722
|
get: operations["getTeam"];
|
|
1847
|
-
/** Update
|
|
1723
|
+
/** Update team */
|
|
1848
1724
|
put: operations["updateTeam"];
|
|
1849
1725
|
post?: never;
|
|
1850
|
-
/** Delete
|
|
1726
|
+
/** Delete team */
|
|
1851
1727
|
delete: operations["deleteTeam"];
|
|
1852
1728
|
options?: never;
|
|
1853
1729
|
head?: never;
|
|
@@ -1863,7 +1739,7 @@ export interface paths {
|
|
|
1863
1739
|
};
|
|
1864
1740
|
get?: never;
|
|
1865
1741
|
put?: never;
|
|
1866
|
-
/** Add
|
|
1742
|
+
/** Add team member */
|
|
1867
1743
|
post: operations["addTeamMember"];
|
|
1868
1744
|
delete?: never;
|
|
1869
1745
|
options?: never;
|
|
@@ -1881,7 +1757,7 @@ export interface paths {
|
|
|
1881
1757
|
get?: never;
|
|
1882
1758
|
put?: never;
|
|
1883
1759
|
post?: never;
|
|
1884
|
-
/** Remove
|
|
1760
|
+
/** Remove team member */
|
|
1885
1761
|
delete: operations["removeTeamMember"];
|
|
1886
1762
|
options?: never;
|
|
1887
1763
|
head?: never;
|
|
@@ -1896,7 +1772,7 @@ export interface paths {
|
|
|
1896
1772
|
cookie?: never;
|
|
1897
1773
|
};
|
|
1898
1774
|
get?: never;
|
|
1899
|
-
/**
|
|
1775
|
+
/** Update team member role */
|
|
1900
1776
|
put: operations["updateTeamMemberRole"];
|
|
1901
1777
|
post?: never;
|
|
1902
1778
|
delete?: never;
|
|
@@ -1929,10 +1805,10 @@ export interface paths {
|
|
|
1929
1805
|
path?: never;
|
|
1930
1806
|
cookie?: never;
|
|
1931
1807
|
};
|
|
1932
|
-
/** List departments
|
|
1808
|
+
/** List departments */
|
|
1933
1809
|
get: operations["listDepartments"];
|
|
1934
1810
|
put?: never;
|
|
1935
|
-
/** Create
|
|
1811
|
+
/** Create department */
|
|
1936
1812
|
post: operations["createDepartment"];
|
|
1937
1813
|
delete?: never;
|
|
1938
1814
|
options?: never;
|
|
@@ -1947,15 +1823,15 @@ export interface paths {
|
|
|
1947
1823
|
path?: never;
|
|
1948
1824
|
cookie?: never;
|
|
1949
1825
|
};
|
|
1950
|
-
/** Get
|
|
1826
|
+
/** Get department */
|
|
1951
1827
|
get: operations["getDepartment"];
|
|
1952
1828
|
put?: never;
|
|
1953
1829
|
post?: never;
|
|
1954
|
-
/** Delete
|
|
1830
|
+
/** Delete department */
|
|
1955
1831
|
delete: operations["deleteDepartment"];
|
|
1956
1832
|
options?: never;
|
|
1957
1833
|
head?: never;
|
|
1958
|
-
/** Update
|
|
1834
|
+
/** Update department */
|
|
1959
1835
|
patch: operations["updateDepartment"];
|
|
1960
1836
|
trace?: never;
|
|
1961
1837
|
};
|
|
@@ -1966,14 +1842,10 @@ export interface paths {
|
|
|
1966
1842
|
path?: never;
|
|
1967
1843
|
cookie?: never;
|
|
1968
1844
|
};
|
|
1969
|
-
/**
|
|
1970
|
-
* List members of a department
|
|
1971
|
-
* @description Returns paginated list of department members.
|
|
1972
|
-
* Requires org.view_departments capability.
|
|
1973
|
-
*/
|
|
1845
|
+
/** List department members */
|
|
1974
1846
|
get: operations["listDepartmentMembers"];
|
|
1975
1847
|
put?: never;
|
|
1976
|
-
/** Add
|
|
1848
|
+
/** Add department member */
|
|
1977
1849
|
post: operations["addDepartmentMember"];
|
|
1978
1850
|
delete?: never;
|
|
1979
1851
|
options?: never;
|
|
@@ -1991,7 +1863,7 @@ export interface paths {
|
|
|
1991
1863
|
get?: never;
|
|
1992
1864
|
put?: never;
|
|
1993
1865
|
post?: never;
|
|
1994
|
-
/** Remove
|
|
1866
|
+
/** Remove department member */
|
|
1995
1867
|
delete: operations["removeDepartmentMember"];
|
|
1996
1868
|
options?: never;
|
|
1997
1869
|
head?: never;
|
|
@@ -2209,11 +2081,8 @@ export interface components {
|
|
|
2209
2081
|
levelLabels: components["schemas"]["CompanyMdLevelLabels"];
|
|
2210
2082
|
};
|
|
2211
2083
|
UpdateCompanyMdLevelLabelsRequest: {
|
|
2212
|
-
/** @description Label for the root level */
|
|
2213
2084
|
root?: string;
|
|
2214
|
-
/** @description Label for the department level */
|
|
2215
2085
|
department?: string;
|
|
2216
|
-
/** @description Label for the team level */
|
|
2217
2086
|
team?: string;
|
|
2218
2087
|
};
|
|
2219
2088
|
ChatRequest: {
|
|
@@ -2504,11 +2373,9 @@ export interface components {
|
|
|
2504
2373
|
status: "executing" | "blocked_pending_approval" | "already_confirmed" | "awaiting_approval";
|
|
2505
2374
|
code?: string;
|
|
2506
2375
|
executionId?: string;
|
|
2507
|
-
/** @description ExecutionResultData when execution completes inline */
|
|
2508
|
-
result?: Record<string, never>;
|
|
2509
2376
|
};
|
|
2510
2377
|
RejectExecutionResponse: {
|
|
2511
|
-
/** @
|
|
2378
|
+
/** @constant */
|
|
2512
2379
|
status: "cancelled";
|
|
2513
2380
|
};
|
|
2514
2381
|
ExecutionSummary: {
|
|
@@ -2529,21 +2396,30 @@ export interface components {
|
|
|
2529
2396
|
summary: components["schemas"]["ExecutionSummary"];
|
|
2530
2397
|
};
|
|
2531
2398
|
ExecutionListResponse: {
|
|
2532
|
-
executions:
|
|
2533
|
-
|
|
2399
|
+
executions: {
|
|
2400
|
+
/** Format: uuid */
|
|
2401
|
+
executionId: string;
|
|
2402
|
+
kind: string;
|
|
2403
|
+
/** @enum {string} */
|
|
2404
|
+
status: "pending" | "succeeded" | "failed";
|
|
2405
|
+
/** Format: date-time */
|
|
2406
|
+
decidedAt: string;
|
|
2407
|
+
/** Format: date-time */
|
|
2408
|
+
completedAt?: string;
|
|
2409
|
+
target: {
|
|
2410
|
+
type: string;
|
|
2411
|
+
};
|
|
2412
|
+
}[];
|
|
2534
2413
|
nextCursor?: string | null;
|
|
2535
|
-
|
|
2536
|
-
hasMore: boolean;
|
|
2414
|
+
hasMore?: boolean;
|
|
2537
2415
|
};
|
|
2538
2416
|
ExecutionStartRequest: {
|
|
2539
2417
|
kind: string;
|
|
2540
2418
|
target: {
|
|
2541
|
-
|
|
2542
|
-
type: "slack";
|
|
2419
|
+
type: string;
|
|
2543
2420
|
workspaceId?: string;
|
|
2544
2421
|
};
|
|
2545
2422
|
connectionId?: string;
|
|
2546
|
-
/** Format: uri */
|
|
2547
2423
|
returnUrl?: string;
|
|
2548
2424
|
};
|
|
2549
2425
|
ExecutionStartResponse: {
|
|
@@ -3565,6 +3441,253 @@ export interface components {
|
|
|
3565
3441
|
PreviewTransferRequest: {
|
|
3566
3442
|
token: string;
|
|
3567
3443
|
};
|
|
3444
|
+
ExecutionTimelineResponse: {
|
|
3445
|
+
events: {
|
|
3446
|
+
eventId: string;
|
|
3447
|
+
/** Format: uuid */
|
|
3448
|
+
executionId: string;
|
|
3449
|
+
timestamp: string;
|
|
3450
|
+
createdAt: string;
|
|
3451
|
+
kind: string;
|
|
3452
|
+
summary: string;
|
|
3453
|
+
details?: {
|
|
3454
|
+
[key: string]: unknown;
|
|
3455
|
+
};
|
|
3456
|
+
relatedIds?: {
|
|
3457
|
+
decisionId?: string;
|
|
3458
|
+
artifactId?: string;
|
|
3459
|
+
rollbackId?: string;
|
|
3460
|
+
provenanceIds?: string[];
|
|
3461
|
+
};
|
|
3462
|
+
/** @enum {string} */
|
|
3463
|
+
visibilityLevel: "system" | "oversight" | "org_admin" | "user";
|
|
3464
|
+
}[];
|
|
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
|
+
};
|
|
3568
3691
|
};
|
|
3569
3692
|
responses: never;
|
|
3570
3693
|
parameters: never;
|
|
@@ -4038,39 +4161,18 @@ export interface operations {
|
|
|
4038
4161
|
parameters: {
|
|
4039
4162
|
query?: never;
|
|
4040
4163
|
header?: never;
|
|
4041
|
-
path
|
|
4042
|
-
/** @description Execution ID (UUID v4) */
|
|
4043
|
-
executionId: string;
|
|
4044
|
-
};
|
|
4164
|
+
path?: never;
|
|
4045
4165
|
cookie?: never;
|
|
4046
4166
|
};
|
|
4047
4167
|
requestBody?: never;
|
|
4048
4168
|
responses: {
|
|
4049
|
-
/** @description
|
|
4169
|
+
/** @description Execution timeline events */
|
|
4050
4170
|
200: {
|
|
4051
4171
|
headers: {
|
|
4052
4172
|
[name: string]: unknown;
|
|
4053
4173
|
};
|
|
4054
4174
|
content: {
|
|
4055
|
-
"application/json": components["schemas"]["
|
|
4056
|
-
};
|
|
4057
|
-
};
|
|
4058
|
-
/** @description Invalid execution ID format */
|
|
4059
|
-
400: {
|
|
4060
|
-
headers: {
|
|
4061
|
-
[name: string]: unknown;
|
|
4062
|
-
};
|
|
4063
|
-
content: {
|
|
4064
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4065
|
-
};
|
|
4066
|
-
};
|
|
4067
|
-
/** @description Execution not found or not visible */
|
|
4068
|
-
404: {
|
|
4069
|
-
headers: {
|
|
4070
|
-
[name: string]: unknown;
|
|
4071
|
-
};
|
|
4072
|
-
content: {
|
|
4073
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4175
|
+
"application/json": components["schemas"]["ExecutionTimelineResponse"];
|
|
4074
4176
|
};
|
|
4075
4177
|
};
|
|
4076
4178
|
};
|
|
@@ -4079,10 +4181,7 @@ export interface operations {
|
|
|
4079
4181
|
parameters: {
|
|
4080
4182
|
query?: never;
|
|
4081
4183
|
header?: never;
|
|
4082
|
-
path
|
|
4083
|
-
/** @description Execution ID (UUID v4) */
|
|
4084
|
-
executionId: string;
|
|
4085
|
-
};
|
|
4184
|
+
path?: never;
|
|
4086
4185
|
cookie?: never;
|
|
4087
4186
|
};
|
|
4088
4187
|
requestBody?: never;
|
|
@@ -4092,44 +4191,18 @@ export interface operations {
|
|
|
4092
4191
|
headers: {
|
|
4093
4192
|
[name: string]: unknown;
|
|
4094
4193
|
};
|
|
4095
|
-
content
|
|
4096
|
-
"application/json": components["schemas"]["ExecutionSummaryResponse"];
|
|
4097
|
-
};
|
|
4098
|
-
};
|
|
4099
|
-
/** @description Invalid execution ID format */
|
|
4100
|
-
400: {
|
|
4101
|
-
headers: {
|
|
4102
|
-
[name: string]: unknown;
|
|
4103
|
-
};
|
|
4104
|
-
content: {
|
|
4105
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4106
|
-
};
|
|
4107
|
-
};
|
|
4108
|
-
/** @description Execution not found or not visible */
|
|
4109
|
-
404: {
|
|
4110
|
-
headers: {
|
|
4111
|
-
[name: string]: unknown;
|
|
4112
|
-
};
|
|
4113
|
-
content: {
|
|
4114
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4115
|
-
};
|
|
4194
|
+
content?: never;
|
|
4116
4195
|
};
|
|
4117
4196
|
};
|
|
4118
4197
|
};
|
|
4119
4198
|
listExecutions: {
|
|
4120
4199
|
parameters: {
|
|
4121
4200
|
query?: {
|
|
4122
|
-
/** @description Filter by ExecutionKind */
|
|
4123
|
-
kind?: string;
|
|
4124
|
-
/** @description Filter by target type */
|
|
4125
|
-
targetType?: string;
|
|
4126
|
-
/** @description Max results (default 100) */
|
|
4127
|
-
limit?: number;
|
|
4128
|
-
/** @description Cursor for pagination */
|
|
4129
4201
|
cursor?: string;
|
|
4130
|
-
|
|
4202
|
+
limit?: number;
|
|
4203
|
+
kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup";
|
|
4204
|
+
targetType?: string;
|
|
4131
4205
|
periodStart?: string;
|
|
4132
|
-
/** @description End of date range filter */
|
|
4133
4206
|
periodEnd?: string;
|
|
4134
4207
|
};
|
|
4135
4208
|
header?: never;
|
|
@@ -4138,7 +4211,7 @@ export interface operations {
|
|
|
4138
4211
|
};
|
|
4139
4212
|
requestBody?: never;
|
|
4140
4213
|
responses: {
|
|
4141
|
-
/** @description
|
|
4214
|
+
/** @description Paginated execution list */
|
|
4142
4215
|
200: {
|
|
4143
4216
|
headers: {
|
|
4144
4217
|
[name: string]: unknown;
|
|
@@ -4147,15 +4220,6 @@ export interface operations {
|
|
|
4147
4220
|
"application/json": components["schemas"]["ExecutionListResponse"];
|
|
4148
4221
|
};
|
|
4149
4222
|
};
|
|
4150
|
-
/** @description Invalid kind parameter */
|
|
4151
|
-
400: {
|
|
4152
|
-
headers: {
|
|
4153
|
-
[name: string]: unknown;
|
|
4154
|
-
};
|
|
4155
|
-
content: {
|
|
4156
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4157
|
-
};
|
|
4158
|
-
};
|
|
4159
4223
|
};
|
|
4160
4224
|
};
|
|
4161
4225
|
startExecution: {
|
|
@@ -4176,27 +4240,7 @@ export interface operations {
|
|
|
4176
4240
|
headers: {
|
|
4177
4241
|
[name: string]: unknown;
|
|
4178
4242
|
};
|
|
4179
|
-
content
|
|
4180
|
-
"application/json": components["schemas"]["ExecutionStartResponse"];
|
|
4181
|
-
};
|
|
4182
|
-
};
|
|
4183
|
-
/** @description Invalid execution kind or missing required fields */
|
|
4184
|
-
400: {
|
|
4185
|
-
headers: {
|
|
4186
|
-
[name: string]: unknown;
|
|
4187
|
-
};
|
|
4188
|
-
content: {
|
|
4189
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4190
|
-
};
|
|
4191
|
-
};
|
|
4192
|
-
/** @description User does not have required admin role */
|
|
4193
|
-
403: {
|
|
4194
|
-
headers: {
|
|
4195
|
-
[name: string]: unknown;
|
|
4196
|
-
};
|
|
4197
|
-
content: {
|
|
4198
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4199
|
-
};
|
|
4243
|
+
content?: never;
|
|
4200
4244
|
};
|
|
4201
4245
|
};
|
|
4202
4246
|
};
|
|
@@ -4204,10 +4248,7 @@ export interface operations {
|
|
|
4204
4248
|
parameters: {
|
|
4205
4249
|
query?: never;
|
|
4206
4250
|
header?: never;
|
|
4207
|
-
path
|
|
4208
|
-
/** @description Execution ID (UUID v4) */
|
|
4209
|
-
executionId: string;
|
|
4210
|
-
};
|
|
4251
|
+
path?: never;
|
|
4211
4252
|
cookie?: never;
|
|
4212
4253
|
};
|
|
4213
4254
|
requestBody?: never;
|
|
@@ -4217,36 +4258,7 @@ export interface operations {
|
|
|
4217
4258
|
headers: {
|
|
4218
4259
|
[name: string]: unknown;
|
|
4219
4260
|
};
|
|
4220
|
-
content
|
|
4221
|
-
"application/json": components["schemas"]["ExplanationResponse"];
|
|
4222
|
-
};
|
|
4223
|
-
};
|
|
4224
|
-
/** @description Invalid execution ID format */
|
|
4225
|
-
400: {
|
|
4226
|
-
headers: {
|
|
4227
|
-
[name: string]: unknown;
|
|
4228
|
-
};
|
|
4229
|
-
content: {
|
|
4230
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4231
|
-
};
|
|
4232
|
-
};
|
|
4233
|
-
/** @description Execution not found or not visible */
|
|
4234
|
-
404: {
|
|
4235
|
-
headers: {
|
|
4236
|
-
[name: string]: unknown;
|
|
4237
|
-
};
|
|
4238
|
-
content: {
|
|
4239
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4240
|
-
};
|
|
4241
|
-
};
|
|
4242
|
-
/** @description Explanation service not available */
|
|
4243
|
-
501: {
|
|
4244
|
-
headers: {
|
|
4245
|
-
[name: string]: unknown;
|
|
4246
|
-
};
|
|
4247
|
-
content: {
|
|
4248
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4249
|
-
};
|
|
4261
|
+
content?: never;
|
|
4250
4262
|
};
|
|
4251
4263
|
};
|
|
4252
4264
|
};
|
|
@@ -4254,10 +4266,7 @@ export interface operations {
|
|
|
4254
4266
|
parameters: {
|
|
4255
4267
|
query?: never;
|
|
4256
4268
|
header?: never;
|
|
4257
|
-
path
|
|
4258
|
-
/** @description Execution ID (UUID v4) */
|
|
4259
|
-
executionId: string;
|
|
4260
|
-
};
|
|
4269
|
+
path?: never;
|
|
4261
4270
|
cookie?: never;
|
|
4262
4271
|
};
|
|
4263
4272
|
requestBody?: never;
|
|
@@ -4267,45 +4276,7 @@ export interface operations {
|
|
|
4267
4276
|
headers: {
|
|
4268
4277
|
[name: string]: unknown;
|
|
4269
4278
|
};
|
|
4270
|
-
content
|
|
4271
|
-
"application/json": components["schemas"]["UndoResultData"];
|
|
4272
|
-
};
|
|
4273
|
-
};
|
|
4274
|
-
/** @description Invalid execution ID format or execution not in undoable state */
|
|
4275
|
-
400: {
|
|
4276
|
-
headers: {
|
|
4277
|
-
[name: string]: unknown;
|
|
4278
|
-
};
|
|
4279
|
-
content: {
|
|
4280
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4281
|
-
};
|
|
4282
|
-
};
|
|
4283
|
-
/** @description Insufficient permissions (not the initiating user) */
|
|
4284
|
-
403: {
|
|
4285
|
-
headers: {
|
|
4286
|
-
[name: string]: unknown;
|
|
4287
|
-
};
|
|
4288
|
-
content: {
|
|
4289
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4290
|
-
};
|
|
4291
|
-
};
|
|
4292
|
-
/** @description Execution not found */
|
|
4293
|
-
404: {
|
|
4294
|
-
headers: {
|
|
4295
|
-
[name: string]: unknown;
|
|
4296
|
-
};
|
|
4297
|
-
content: {
|
|
4298
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4299
|
-
};
|
|
4300
|
-
};
|
|
4301
|
-
/** @description Execution in wrong state (e.g. undo window expired) */
|
|
4302
|
-
409: {
|
|
4303
|
-
headers: {
|
|
4304
|
-
[name: string]: unknown;
|
|
4305
|
-
};
|
|
4306
|
-
content: {
|
|
4307
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4308
|
-
};
|
|
4279
|
+
content?: never;
|
|
4309
4280
|
};
|
|
4310
4281
|
};
|
|
4311
4282
|
};
|
|
@@ -4313,15 +4284,12 @@ export interface operations {
|
|
|
4313
4284
|
parameters: {
|
|
4314
4285
|
query?: never;
|
|
4315
4286
|
header?: never;
|
|
4316
|
-
path
|
|
4317
|
-
/** @description Execution ID (UUID v4) */
|
|
4318
|
-
executionId: string;
|
|
4319
|
-
};
|
|
4287
|
+
path?: never;
|
|
4320
4288
|
cookie?: never;
|
|
4321
4289
|
};
|
|
4322
4290
|
requestBody?: never;
|
|
4323
4291
|
responses: {
|
|
4324
|
-
/** @description
|
|
4292
|
+
/** @description Execution confirmed */
|
|
4325
4293
|
200: {
|
|
4326
4294
|
headers: {
|
|
4327
4295
|
[name: string]: unknown;
|
|
@@ -4330,66 +4298,18 @@ export interface operations {
|
|
|
4330
4298
|
"application/json": components["schemas"]["ConfirmExecutionResponse"];
|
|
4331
4299
|
};
|
|
4332
4300
|
};
|
|
4333
|
-
/** @description Invalid execution ID format */
|
|
4334
|
-
400: {
|
|
4335
|
-
headers: {
|
|
4336
|
-
[name: string]: unknown;
|
|
4337
|
-
};
|
|
4338
|
-
content: {
|
|
4339
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4340
|
-
};
|
|
4341
|
-
};
|
|
4342
|
-
/** @description Insufficient permissions (not the initiating user) */
|
|
4343
|
-
403: {
|
|
4344
|
-
headers: {
|
|
4345
|
-
[name: string]: unknown;
|
|
4346
|
-
};
|
|
4347
|
-
content: {
|
|
4348
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
/** @description Execution not found */
|
|
4352
|
-
404: {
|
|
4353
|
-
headers: {
|
|
4354
|
-
[name: string]: unknown;
|
|
4355
|
-
};
|
|
4356
|
-
content: {
|
|
4357
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4358
|
-
};
|
|
4359
|
-
};
|
|
4360
|
-
/** @description Execution not in pending_confirmation state */
|
|
4361
|
-
409: {
|
|
4362
|
-
headers: {
|
|
4363
|
-
[name: string]: unknown;
|
|
4364
|
-
};
|
|
4365
|
-
content: {
|
|
4366
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4367
|
-
};
|
|
4368
|
-
};
|
|
4369
|
-
/** @description Confirmation has expired */
|
|
4370
|
-
410: {
|
|
4371
|
-
headers: {
|
|
4372
|
-
[name: string]: unknown;
|
|
4373
|
-
};
|
|
4374
|
-
content: {
|
|
4375
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4376
|
-
};
|
|
4377
|
-
};
|
|
4378
4301
|
};
|
|
4379
4302
|
};
|
|
4380
4303
|
rejectExecution: {
|
|
4381
4304
|
parameters: {
|
|
4382
4305
|
query?: never;
|
|
4383
4306
|
header?: never;
|
|
4384
|
-
path
|
|
4385
|
-
/** @description Execution ID (UUID v4) */
|
|
4386
|
-
executionId: string;
|
|
4387
|
-
};
|
|
4307
|
+
path?: never;
|
|
4388
4308
|
cookie?: never;
|
|
4389
4309
|
};
|
|
4390
4310
|
requestBody?: never;
|
|
4391
4311
|
responses: {
|
|
4392
|
-
/** @description
|
|
4312
|
+
/** @description Execution rejected */
|
|
4393
4313
|
200: {
|
|
4394
4314
|
headers: {
|
|
4395
4315
|
[name: string]: unknown;
|
|
@@ -4398,55 +4318,15 @@ export interface operations {
|
|
|
4398
4318
|
"application/json": components["schemas"]["RejectExecutionResponse"];
|
|
4399
4319
|
};
|
|
4400
4320
|
};
|
|
4401
|
-
/** @description Invalid execution ID format */
|
|
4402
|
-
400: {
|
|
4403
|
-
headers: {
|
|
4404
|
-
[name: string]: unknown;
|
|
4405
|
-
};
|
|
4406
|
-
content: {
|
|
4407
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4408
|
-
};
|
|
4409
|
-
};
|
|
4410
|
-
/** @description Insufficient permissions (not the initiating user) */
|
|
4411
|
-
403: {
|
|
4412
|
-
headers: {
|
|
4413
|
-
[name: string]: unknown;
|
|
4414
|
-
};
|
|
4415
|
-
content: {
|
|
4416
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4417
|
-
};
|
|
4418
|
-
};
|
|
4419
|
-
/** @description Execution not found */
|
|
4420
|
-
404: {
|
|
4421
|
-
headers: {
|
|
4422
|
-
[name: string]: unknown;
|
|
4423
|
-
};
|
|
4424
|
-
content: {
|
|
4425
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4426
|
-
};
|
|
4427
|
-
};
|
|
4428
|
-
/** @description Execution not in pending_confirmation state */
|
|
4429
|
-
409: {
|
|
4430
|
-
headers: {
|
|
4431
|
-
[name: string]: unknown;
|
|
4432
|
-
};
|
|
4433
|
-
content: {
|
|
4434
|
-
"application/json": components["schemas"]["ExecutionLifecycleError"];
|
|
4435
|
-
};
|
|
4436
|
-
};
|
|
4437
4321
|
};
|
|
4438
4322
|
};
|
|
4439
4323
|
getTimelineUI: {
|
|
4440
4324
|
parameters: {
|
|
4441
4325
|
query?: {
|
|
4442
|
-
/** @description Filter by ExecutionKind */
|
|
4443
|
-
kind?: string;
|
|
4444
|
-
/** @description Filter by kind prefix */
|
|
4445
|
-
kindPrefix?: string;
|
|
4446
|
-
/** @description Max results (default 100) */
|
|
4447
4326
|
limit?: number;
|
|
4448
|
-
/** @description Pagination offset (default 0) */
|
|
4449
4327
|
offset?: number;
|
|
4328
|
+
kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup";
|
|
4329
|
+
kindPrefix?: string;
|
|
4450
4330
|
};
|
|
4451
4331
|
header?: never;
|
|
4452
4332
|
path?: never;
|
|
@@ -4454,23 +4334,12 @@ export interface operations {
|
|
|
4454
4334
|
};
|
|
4455
4335
|
requestBody?: never;
|
|
4456
4336
|
responses: {
|
|
4457
|
-
/** @description
|
|
4337
|
+
/** @description UI timeline events */
|
|
4458
4338
|
200: {
|
|
4459
4339
|
headers: {
|
|
4460
4340
|
[name: string]: unknown;
|
|
4461
4341
|
};
|
|
4462
|
-
content
|
|
4463
|
-
"application/json": components["schemas"]["TimelineUIResponse"];
|
|
4464
|
-
};
|
|
4465
|
-
};
|
|
4466
|
-
/** @description Invalid kind parameter */
|
|
4467
|
-
400: {
|
|
4468
|
-
headers: {
|
|
4469
|
-
[name: string]: unknown;
|
|
4470
|
-
};
|
|
4471
|
-
content: {
|
|
4472
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4473
|
-
};
|
|
4342
|
+
content?: never;
|
|
4474
4343
|
};
|
|
4475
4344
|
};
|
|
4476
4345
|
};
|
|
@@ -4496,221 +4365,84 @@ export interface operations {
|
|
|
4496
4365
|
};
|
|
4497
4366
|
listDriveFiles: {
|
|
4498
4367
|
parameters: {
|
|
4499
|
-
query?:
|
|
4500
|
-
/** @description Search query for filtering files */
|
|
4501
|
-
q?: string;
|
|
4502
|
-
/** @description Number of results per page */
|
|
4503
|
-
pageSize?: number;
|
|
4504
|
-
/** @description Pagination cursor from previous response */
|
|
4505
|
-
pageToken?: string;
|
|
4506
|
-
/** @description Comma-separated MIME type filter */
|
|
4507
|
-
mimeTypes?: string;
|
|
4508
|
-
};
|
|
4368
|
+
query?: never;
|
|
4509
4369
|
header?: never;
|
|
4510
4370
|
path?: never;
|
|
4511
4371
|
cookie?: never;
|
|
4512
4372
|
};
|
|
4513
4373
|
requestBody?: never;
|
|
4514
4374
|
responses: {
|
|
4515
|
-
/** @description
|
|
4375
|
+
/** @description Drive file list */
|
|
4516
4376
|
200: {
|
|
4517
4377
|
headers: {
|
|
4518
4378
|
[name: string]: unknown;
|
|
4519
4379
|
};
|
|
4520
4380
|
content: {
|
|
4521
|
-
"application/json": components["schemas"]["
|
|
4522
|
-
};
|
|
4523
|
-
};
|
|
4524
|
-
/** @description Not authenticated */
|
|
4525
|
-
401: {
|
|
4526
|
-
headers: {
|
|
4527
|
-
[name: string]: unknown;
|
|
4528
|
-
};
|
|
4529
|
-
content: {
|
|
4530
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4381
|
+
"application/json": components["schemas"]["DriveFileListResponse"];
|
|
4531
4382
|
};
|
|
4532
4383
|
};
|
|
4533
|
-
|
|
4534
|
-
|
|
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: {
|
|
4535
4397
|
headers: {
|
|
4536
4398
|
[name: string]: unknown;
|
|
4537
4399
|
};
|
|
4538
4400
|
content: {
|
|
4539
|
-
"application/json": components["schemas"]["
|
|
4401
|
+
"application/json": components["schemas"]["DriveFileContentResponse"];
|
|
4540
4402
|
};
|
|
4541
4403
|
};
|
|
4542
|
-
|
|
4543
|
-
|
|
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: {
|
|
4544
4417
|
headers: {
|
|
4545
4418
|
[name: string]: unknown;
|
|
4546
4419
|
};
|
|
4547
4420
|
content: {
|
|
4548
|
-
"application/json": components["schemas"]["
|
|
4421
|
+
"application/json": components["schemas"]["DriveFileListResponse"];
|
|
4549
4422
|
};
|
|
4550
4423
|
};
|
|
4551
4424
|
};
|
|
4552
4425
|
};
|
|
4553
|
-
|
|
4426
|
+
initiateOwnershipTransfer: {
|
|
4554
4427
|
parameters: {
|
|
4555
|
-
query
|
|
4556
|
-
/** @description The file's MIME type (determines export strategy) */
|
|
4557
|
-
mimeType: string;
|
|
4558
|
-
};
|
|
4428
|
+
query?: never;
|
|
4559
4429
|
header?: never;
|
|
4560
|
-
path
|
|
4561
|
-
/** @description Google Drive file ID */
|
|
4562
|
-
fileId: string;
|
|
4563
|
-
};
|
|
4430
|
+
path?: never;
|
|
4564
4431
|
cookie?: never;
|
|
4565
4432
|
};
|
|
4566
|
-
requestBody
|
|
4433
|
+
requestBody: {
|
|
4434
|
+
content: {
|
|
4435
|
+
"application/json": components["schemas"]["InitiateTransferRequest"];
|
|
4436
|
+
};
|
|
4437
|
+
};
|
|
4567
4438
|
responses: {
|
|
4568
|
-
/** @description
|
|
4439
|
+
/** @description Transfer initiated, email sent */
|
|
4569
4440
|
200: {
|
|
4570
4441
|
headers: {
|
|
4571
4442
|
[name: string]: unknown;
|
|
4572
4443
|
};
|
|
4573
4444
|
content: {
|
|
4574
|
-
"application/json": components["schemas"]["
|
|
4575
|
-
};
|
|
4576
|
-
};
|
|
4577
|
-
/** @description Missing mimeType parameter */
|
|
4578
|
-
400: {
|
|
4579
|
-
headers: {
|
|
4580
|
-
[name: string]: unknown;
|
|
4581
|
-
};
|
|
4582
|
-
content: {
|
|
4583
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4584
|
-
};
|
|
4585
|
-
};
|
|
4586
|
-
/** @description Not authenticated */
|
|
4587
|
-
401: {
|
|
4588
|
-
headers: {
|
|
4589
|
-
[name: string]: unknown;
|
|
4590
|
-
};
|
|
4591
|
-
content: {
|
|
4592
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4593
|
-
};
|
|
4594
|
-
};
|
|
4595
|
-
/** @description Google Drive not connected or insufficient permissions */
|
|
4596
|
-
403: {
|
|
4597
|
-
headers: {
|
|
4598
|
-
[name: string]: unknown;
|
|
4599
|
-
};
|
|
4600
|
-
content: {
|
|
4601
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4602
|
-
};
|
|
4603
|
-
};
|
|
4604
|
-
/** @description File not found or no access */
|
|
4605
|
-
404: {
|
|
4606
|
-
headers: {
|
|
4607
|
-
[name: string]: unknown;
|
|
4608
|
-
};
|
|
4609
|
-
content: {
|
|
4610
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4611
|
-
};
|
|
4612
|
-
};
|
|
4613
|
-
/** @description File exceeds size limit */
|
|
4614
|
-
413: {
|
|
4615
|
-
headers: {
|
|
4616
|
-
[name: string]: unknown;
|
|
4617
|
-
};
|
|
4618
|
-
content: {
|
|
4619
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4620
|
-
};
|
|
4621
|
-
};
|
|
4622
|
-
/** @description MIME type not supported for content extraction */
|
|
4623
|
-
415: {
|
|
4624
|
-
headers: {
|
|
4625
|
-
[name: string]: unknown;
|
|
4626
|
-
};
|
|
4627
|
-
content: {
|
|
4628
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4629
|
-
};
|
|
4630
|
-
};
|
|
4631
|
-
/** @description Rate limit exceeded */
|
|
4632
|
-
429: {
|
|
4633
|
-
headers: {
|
|
4634
|
-
[name: string]: unknown;
|
|
4635
|
-
};
|
|
4636
|
-
content: {
|
|
4637
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4638
|
-
};
|
|
4639
|
-
};
|
|
4640
|
-
};
|
|
4641
|
-
};
|
|
4642
|
-
listRecentDriveFiles: {
|
|
4643
|
-
parameters: {
|
|
4644
|
-
query?: {
|
|
4645
|
-
/** @description Number of results per page */
|
|
4646
|
-
pageSize?: number;
|
|
4647
|
-
/** @description Pagination cursor from previous response */
|
|
4648
|
-
pageToken?: string;
|
|
4649
|
-
};
|
|
4650
|
-
header?: never;
|
|
4651
|
-
path?: never;
|
|
4652
|
-
cookie?: never;
|
|
4653
|
-
};
|
|
4654
|
-
requestBody?: never;
|
|
4655
|
-
responses: {
|
|
4656
|
-
/** @description List of recently modified Drive files */
|
|
4657
|
-
200: {
|
|
4658
|
-
headers: {
|
|
4659
|
-
[name: string]: unknown;
|
|
4660
|
-
};
|
|
4661
|
-
content: {
|
|
4662
|
-
"application/json": components["schemas"]["ListDriveFilesResponse"];
|
|
4663
|
-
};
|
|
4664
|
-
};
|
|
4665
|
-
/** @description Not authenticated */
|
|
4666
|
-
401: {
|
|
4667
|
-
headers: {
|
|
4668
|
-
[name: string]: unknown;
|
|
4669
|
-
};
|
|
4670
|
-
content: {
|
|
4671
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4672
|
-
};
|
|
4673
|
-
};
|
|
4674
|
-
/** @description Google Drive not connected or disconnected */
|
|
4675
|
-
403: {
|
|
4676
|
-
headers: {
|
|
4677
|
-
[name: string]: unknown;
|
|
4678
|
-
};
|
|
4679
|
-
content: {
|
|
4680
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4681
|
-
};
|
|
4682
|
-
};
|
|
4683
|
-
/** @description Rate limit exceeded */
|
|
4684
|
-
429: {
|
|
4685
|
-
headers: {
|
|
4686
|
-
[name: string]: unknown;
|
|
4687
|
-
};
|
|
4688
|
-
content: {
|
|
4689
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4690
|
-
};
|
|
4691
|
-
};
|
|
4692
|
-
};
|
|
4693
|
-
};
|
|
4694
|
-
initiateOwnershipTransfer: {
|
|
4695
|
-
parameters: {
|
|
4696
|
-
query?: never;
|
|
4697
|
-
header?: never;
|
|
4698
|
-
path?: never;
|
|
4699
|
-
cookie?: never;
|
|
4700
|
-
};
|
|
4701
|
-
requestBody: {
|
|
4702
|
-
content: {
|
|
4703
|
-
"application/json": components["schemas"]["InitiateTransferRequest"];
|
|
4704
|
-
};
|
|
4705
|
-
};
|
|
4706
|
-
responses: {
|
|
4707
|
-
/** @description Transfer initiated, email sent */
|
|
4708
|
-
200: {
|
|
4709
|
-
headers: {
|
|
4710
|
-
[name: string]: unknown;
|
|
4711
|
-
};
|
|
4712
|
-
content: {
|
|
4713
|
-
"application/json": components["schemas"]["InitiateTransferResponse"];
|
|
4445
|
+
"application/json": components["schemas"]["InitiateTransferResponse"];
|
|
4714
4446
|
};
|
|
4715
4447
|
};
|
|
4716
4448
|
};
|
|
@@ -6113,9 +5845,7 @@ export interface operations {
|
|
|
6113
5845
|
getCompanyMdTree: {
|
|
6114
5846
|
parameters: {
|
|
6115
5847
|
query?: {
|
|
6116
|
-
/** @description Cursor for pagination */
|
|
6117
5848
|
cursor?: string;
|
|
6118
|
-
/** @description Max results per page (default 100, max 200) */
|
|
6119
5849
|
limit?: number;
|
|
6120
5850
|
};
|
|
6121
5851
|
header?: never;
|
|
@@ -6124,22 +5854,13 @@ export interface operations {
|
|
|
6124
5854
|
};
|
|
6125
5855
|
requestBody?: never;
|
|
6126
5856
|
responses: {
|
|
6127
|
-
/** @description Paginated
|
|
5857
|
+
/** @description Paginated company.md tree nodes */
|
|
6128
5858
|
200: {
|
|
6129
5859
|
headers: {
|
|
6130
5860
|
[name: string]: unknown;
|
|
6131
5861
|
};
|
|
6132
5862
|
content: {
|
|
6133
|
-
"application/json": components["schemas"]["
|
|
6134
|
-
};
|
|
6135
|
-
};
|
|
6136
|
-
/** @description No org.view_goals capability */
|
|
6137
|
-
403: {
|
|
6138
|
-
headers: {
|
|
6139
|
-
[name: string]: unknown;
|
|
6140
|
-
};
|
|
6141
|
-
content: {
|
|
6142
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5863
|
+
"application/json": components["schemas"]["CompanyMdListResponse"];
|
|
6143
5864
|
};
|
|
6144
5865
|
};
|
|
6145
5866
|
};
|
|
@@ -6148,39 +5869,18 @@ export interface operations {
|
|
|
6148
5869
|
parameters: {
|
|
6149
5870
|
query?: never;
|
|
6150
5871
|
header?: never;
|
|
6151
|
-
path
|
|
6152
|
-
/** @description URL-safe goal doc slug */
|
|
6153
|
-
slug: string;
|
|
6154
|
-
};
|
|
5872
|
+
path?: never;
|
|
6155
5873
|
cookie?: never;
|
|
6156
5874
|
};
|
|
6157
5875
|
requestBody?: never;
|
|
6158
5876
|
responses: {
|
|
6159
|
-
/** @description
|
|
5877
|
+
/** @description Company.md document */
|
|
6160
5878
|
200: {
|
|
6161
5879
|
headers: {
|
|
6162
5880
|
[name: string]: unknown;
|
|
6163
5881
|
};
|
|
6164
5882
|
content: {
|
|
6165
|
-
"application/json": components["schemas"]["
|
|
6166
|
-
};
|
|
6167
|
-
};
|
|
6168
|
-
/** @description No org.view_goals capability */
|
|
6169
|
-
403: {
|
|
6170
|
-
headers: {
|
|
6171
|
-
[name: string]: unknown;
|
|
6172
|
-
};
|
|
6173
|
-
content: {
|
|
6174
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6175
|
-
};
|
|
6176
|
-
};
|
|
6177
|
-
/** @description Doc not found or not visible */
|
|
6178
|
-
404: {
|
|
6179
|
-
headers: {
|
|
6180
|
-
[name: string]: unknown;
|
|
6181
|
-
};
|
|
6182
|
-
content: {
|
|
6183
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5883
|
+
"application/json": components["schemas"]["CompanyMdDocResponse"];
|
|
6184
5884
|
};
|
|
6185
5885
|
};
|
|
6186
5886
|
};
|
|
@@ -6189,112 +5889,43 @@ export interface operations {
|
|
|
6189
5889
|
parameters: {
|
|
6190
5890
|
query?: never;
|
|
6191
5891
|
header?: never;
|
|
6192
|
-
path
|
|
6193
|
-
/** @description Goal doc slug */
|
|
6194
|
-
slug: string;
|
|
6195
|
-
};
|
|
5892
|
+
path?: never;
|
|
6196
5893
|
cookie?: never;
|
|
6197
5894
|
};
|
|
6198
5895
|
requestBody: {
|
|
6199
5896
|
content: {
|
|
6200
|
-
"application/json":
|
|
6201
|
-
content: string;
|
|
6202
|
-
};
|
|
5897
|
+
"application/json": components["schemas"]["UpdateCompanyMdContentRequest"];
|
|
6203
5898
|
};
|
|
6204
5899
|
};
|
|
6205
5900
|
responses: {
|
|
6206
|
-
/** @description Content updated
|
|
5901
|
+
/** @description Content updated */
|
|
6207
5902
|
204: {
|
|
6208
5903
|
headers: {
|
|
6209
5904
|
[name: string]: unknown;
|
|
6210
5905
|
};
|
|
6211
5906
|
content?: never;
|
|
6212
5907
|
};
|
|
6213
|
-
/** @description Missing content field */
|
|
6214
|
-
400: {
|
|
6215
|
-
headers: {
|
|
6216
|
-
[name: string]: unknown;
|
|
6217
|
-
};
|
|
6218
|
-
content: {
|
|
6219
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6220
|
-
};
|
|
6221
|
-
};
|
|
6222
|
-
/** @description User cannot edit this doc */
|
|
6223
|
-
403: {
|
|
6224
|
-
headers: {
|
|
6225
|
-
[name: string]: unknown;
|
|
6226
|
-
};
|
|
6227
|
-
content: {
|
|
6228
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6229
|
-
};
|
|
6230
|
-
};
|
|
6231
|
-
/** @description Doc not found */
|
|
6232
|
-
404: {
|
|
6233
|
-
headers: {
|
|
6234
|
-
[name: string]: unknown;
|
|
6235
|
-
};
|
|
6236
|
-
content: {
|
|
6237
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6238
|
-
};
|
|
6239
|
-
};
|
|
6240
5908
|
};
|
|
6241
5909
|
};
|
|
6242
5910
|
updateCompanyMdDocTitle: {
|
|
6243
5911
|
parameters: {
|
|
6244
5912
|
query?: never;
|
|
6245
5913
|
header?: never;
|
|
6246
|
-
path
|
|
6247
|
-
/** @description Goal doc slug */
|
|
6248
|
-
slug: string;
|
|
6249
|
-
};
|
|
5914
|
+
path?: never;
|
|
6250
5915
|
cookie?: never;
|
|
6251
5916
|
};
|
|
6252
5917
|
requestBody: {
|
|
6253
5918
|
content: {
|
|
6254
|
-
"application/json":
|
|
6255
|
-
title: string;
|
|
6256
|
-
};
|
|
5919
|
+
"application/json": components["schemas"]["UpdateCompanyMdTitleRequest"];
|
|
6257
5920
|
};
|
|
6258
5921
|
};
|
|
6259
5922
|
responses: {
|
|
6260
|
-
/** @description Title updated
|
|
5923
|
+
/** @description Title updated, returns new slug */
|
|
6261
5924
|
200: {
|
|
6262
5925
|
headers: {
|
|
6263
5926
|
[name: string]: unknown;
|
|
6264
5927
|
};
|
|
6265
|
-
content
|
|
6266
|
-
"application/json": {
|
|
6267
|
-
/** @description The new slug (may change if title changed) */
|
|
6268
|
-
slug: string;
|
|
6269
|
-
};
|
|
6270
|
-
};
|
|
6271
|
-
};
|
|
6272
|
-
/** @description Missing or empty title field */
|
|
6273
|
-
400: {
|
|
6274
|
-
headers: {
|
|
6275
|
-
[name: string]: unknown;
|
|
6276
|
-
};
|
|
6277
|
-
content: {
|
|
6278
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6279
|
-
};
|
|
6280
|
-
};
|
|
6281
|
-
/** @description User cannot edit this doc */
|
|
6282
|
-
403: {
|
|
6283
|
-
headers: {
|
|
6284
|
-
[name: string]: unknown;
|
|
6285
|
-
};
|
|
6286
|
-
content: {
|
|
6287
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6288
|
-
};
|
|
6289
|
-
};
|
|
6290
|
-
/** @description Doc not found */
|
|
6291
|
-
404: {
|
|
6292
|
-
headers: {
|
|
6293
|
-
[name: string]: unknown;
|
|
6294
|
-
};
|
|
6295
|
-
content: {
|
|
6296
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6297
|
-
};
|
|
5928
|
+
content?: never;
|
|
6298
5929
|
};
|
|
6299
5930
|
};
|
|
6300
5931
|
};
|
|
@@ -6302,10 +5933,7 @@ export interface operations {
|
|
|
6302
5933
|
parameters: {
|
|
6303
5934
|
query?: never;
|
|
6304
5935
|
header?: never;
|
|
6305
|
-
path
|
|
6306
|
-
/** @description Goal doc slug */
|
|
6307
|
-
slug: string;
|
|
6308
|
-
};
|
|
5936
|
+
path?: never;
|
|
6309
5937
|
cookie?: never;
|
|
6310
5938
|
};
|
|
6311
5939
|
requestBody?: never;
|
|
@@ -6316,30 +5944,34 @@ export interface operations {
|
|
|
6316
5944
|
[name: string]: unknown;
|
|
6317
5945
|
};
|
|
6318
5946
|
content: {
|
|
6319
|
-
"application/json": components["schemas"]["
|
|
5947
|
+
"application/json": components["schemas"]["CompanyMdContextBankResponse"];
|
|
6320
5948
|
};
|
|
6321
5949
|
};
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
createCompanyMdContextDoc: {
|
|
5953
|
+
parameters: {
|
|
5954
|
+
query?: never;
|
|
5955
|
+
header?: never;
|
|
5956
|
+
path?: never;
|
|
5957
|
+
cookie?: never;
|
|
5958
|
+
};
|
|
5959
|
+
requestBody: {
|
|
5960
|
+
content: {
|
|
5961
|
+
"application/json": components["schemas"]["CreateContextDocRequest"];
|
|
6330
5962
|
};
|
|
6331
|
-
|
|
6332
|
-
|
|
5963
|
+
};
|
|
5964
|
+
responses: {
|
|
5965
|
+
/** @description Context doc created */
|
|
5966
|
+
201: {
|
|
6333
5967
|
headers: {
|
|
6334
5968
|
[name: string]: unknown;
|
|
6335
5969
|
};
|
|
6336
|
-
content
|
|
6337
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6338
|
-
};
|
|
5970
|
+
content?: never;
|
|
6339
5971
|
};
|
|
6340
5972
|
};
|
|
6341
5973
|
};
|
|
6342
|
-
|
|
5974
|
+
associateCompanyMdContextDoc: {
|
|
6343
5975
|
parameters: {
|
|
6344
5976
|
query?: never;
|
|
6345
5977
|
header?: never;
|
|
@@ -6348,102 +5980,16 @@ export interface operations {
|
|
|
6348
5980
|
};
|
|
6349
5981
|
requestBody: {
|
|
6350
5982
|
content: {
|
|
6351
|
-
"application/json":
|
|
6352
|
-
title: string;
|
|
6353
|
-
parentDocSlug: string;
|
|
6354
|
-
};
|
|
5983
|
+
"application/json": components["schemas"]["AssociateContextDocRequest"];
|
|
6355
5984
|
};
|
|
6356
5985
|
};
|
|
6357
5986
|
responses: {
|
|
6358
|
-
/** @description
|
|
6359
|
-
|
|
5987
|
+
/** @description Association created */
|
|
5988
|
+
200: {
|
|
6360
5989
|
headers: {
|
|
6361
5990
|
[name: string]: unknown;
|
|
6362
5991
|
};
|
|
6363
|
-
content
|
|
6364
|
-
"application/json": {
|
|
6365
|
-
/** Format: uuid */
|
|
6366
|
-
id: string;
|
|
6367
|
-
slug: string;
|
|
6368
|
-
title: string;
|
|
6369
|
-
};
|
|
6370
|
-
};
|
|
6371
|
-
};
|
|
6372
|
-
/** @description No org.view_company_md capability */
|
|
6373
|
-
403: {
|
|
6374
|
-
headers: {
|
|
6375
|
-
[name: string]: unknown;
|
|
6376
|
-
};
|
|
6377
|
-
content: {
|
|
6378
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6379
|
-
};
|
|
6380
|
-
};
|
|
6381
|
-
/** @description Parent doc not found */
|
|
6382
|
-
404: {
|
|
6383
|
-
headers: {
|
|
6384
|
-
[name: string]: unknown;
|
|
6385
|
-
};
|
|
6386
|
-
content: {
|
|
6387
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6388
|
-
};
|
|
6389
|
-
};
|
|
6390
|
-
};
|
|
6391
|
-
};
|
|
6392
|
-
associateCompanyMdContextDoc: {
|
|
6393
|
-
parameters: {
|
|
6394
|
-
query?: never;
|
|
6395
|
-
header?: never;
|
|
6396
|
-
path: {
|
|
6397
|
-
/** @description Parent doc slug */
|
|
6398
|
-
slug: string;
|
|
6399
|
-
};
|
|
6400
|
-
cookie?: never;
|
|
6401
|
-
};
|
|
6402
|
-
requestBody: {
|
|
6403
|
-
content: {
|
|
6404
|
-
"application/json": {
|
|
6405
|
-
contextDocSlug: string;
|
|
6406
|
-
};
|
|
6407
|
-
};
|
|
6408
|
-
};
|
|
6409
|
-
responses: {
|
|
6410
|
-
/** @description Association created */
|
|
6411
|
-
200: {
|
|
6412
|
-
headers: {
|
|
6413
|
-
[name: string]: unknown;
|
|
6414
|
-
};
|
|
6415
|
-
content: {
|
|
6416
|
-
"application/json": {
|
|
6417
|
-
ok?: boolean;
|
|
6418
|
-
};
|
|
6419
|
-
};
|
|
6420
|
-
};
|
|
6421
|
-
/** @description No org.view_company_md capability */
|
|
6422
|
-
403: {
|
|
6423
|
-
headers: {
|
|
6424
|
-
[name: string]: unknown;
|
|
6425
|
-
};
|
|
6426
|
-
content: {
|
|
6427
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6428
|
-
};
|
|
6429
|
-
};
|
|
6430
|
-
/** @description Doc not found */
|
|
6431
|
-
404: {
|
|
6432
|
-
headers: {
|
|
6433
|
-
[name: string]: unknown;
|
|
6434
|
-
};
|
|
6435
|
-
content: {
|
|
6436
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6437
|
-
};
|
|
6438
|
-
};
|
|
6439
|
-
/** @description Association already exists */
|
|
6440
|
-
409: {
|
|
6441
|
-
headers: {
|
|
6442
|
-
[name: string]: unknown;
|
|
6443
|
-
};
|
|
6444
|
-
content: {
|
|
6445
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6446
|
-
};
|
|
5992
|
+
content?: never;
|
|
6447
5993
|
};
|
|
6448
5994
|
};
|
|
6449
5995
|
};
|
|
@@ -6451,12 +5997,7 @@ export interface operations {
|
|
|
6451
5997
|
parameters: {
|
|
6452
5998
|
query?: never;
|
|
6453
5999
|
header?: never;
|
|
6454
|
-
path
|
|
6455
|
-
/** @description Parent doc slug */
|
|
6456
|
-
slug: string;
|
|
6457
|
-
/** @description Context doc slug */
|
|
6458
|
-
contextDocSlug: string;
|
|
6459
|
-
};
|
|
6000
|
+
path?: never;
|
|
6460
6001
|
cookie?: never;
|
|
6461
6002
|
};
|
|
6462
6003
|
requestBody?: never;
|
|
@@ -6468,59 +6009,24 @@ export interface operations {
|
|
|
6468
6009
|
};
|
|
6469
6010
|
content?: never;
|
|
6470
6011
|
};
|
|
6471
|
-
/** @description No org.view_company_md capability */
|
|
6472
|
-
403: {
|
|
6473
|
-
headers: {
|
|
6474
|
-
[name: string]: unknown;
|
|
6475
|
-
};
|
|
6476
|
-
content: {
|
|
6477
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6478
|
-
};
|
|
6479
|
-
};
|
|
6480
|
-
/** @description Doc not found */
|
|
6481
|
-
404: {
|
|
6482
|
-
headers: {
|
|
6483
|
-
[name: string]: unknown;
|
|
6484
|
-
};
|
|
6485
|
-
content: {
|
|
6486
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6487
|
-
};
|
|
6488
|
-
};
|
|
6489
6012
|
};
|
|
6490
6013
|
};
|
|
6491
6014
|
getCompanyMdDocSharing: {
|
|
6492
6015
|
parameters: {
|
|
6493
6016
|
query?: never;
|
|
6494
6017
|
header?: never;
|
|
6495
|
-
path
|
|
6496
|
-
/** @description URL-safe goal doc slug */
|
|
6497
|
-
slug: string;
|
|
6498
|
-
};
|
|
6018
|
+
path?: never;
|
|
6499
6019
|
cookie?: never;
|
|
6500
6020
|
};
|
|
6501
6021
|
requestBody?: never;
|
|
6502
6022
|
responses: {
|
|
6503
|
-
/** @description Sharing
|
|
6023
|
+
/** @description Sharing policy and ACL entries */
|
|
6504
6024
|
200: {
|
|
6505
6025
|
headers: {
|
|
6506
6026
|
[name: string]: unknown;
|
|
6507
6027
|
};
|
|
6508
6028
|
content: {
|
|
6509
|
-
"application/json":
|
|
6510
|
-
/** @enum {string} */
|
|
6511
|
-
sharingPolicy?: "restricted" | "org_read" | "org_comment" | "org_edit";
|
|
6512
|
-
acl?: Record<string, never>[];
|
|
6513
|
-
effectiveAccess?: Record<string, never>;
|
|
6514
|
-
};
|
|
6515
|
-
};
|
|
6516
|
-
};
|
|
6517
|
-
/** @description Doc not found or not visible */
|
|
6518
|
-
404: {
|
|
6519
|
-
headers: {
|
|
6520
|
-
[name: string]: unknown;
|
|
6521
|
-
};
|
|
6522
|
-
content: {
|
|
6523
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6029
|
+
"application/json": components["schemas"]["CompanyMdShareResponse"];
|
|
6524
6030
|
};
|
|
6525
6031
|
};
|
|
6526
6032
|
};
|
|
@@ -6529,77 +6035,34 @@ export interface operations {
|
|
|
6529
6035
|
parameters: {
|
|
6530
6036
|
query?: never;
|
|
6531
6037
|
header?: never;
|
|
6532
|
-
path
|
|
6533
|
-
/** @description URL-safe goal doc slug */
|
|
6534
|
-
slug: string;
|
|
6535
|
-
};
|
|
6038
|
+
path?: never;
|
|
6536
6039
|
cookie?: never;
|
|
6537
6040
|
};
|
|
6538
6041
|
requestBody: {
|
|
6539
6042
|
content: {
|
|
6540
|
-
"application/json":
|
|
6541
|
-
/** @enum {string} */
|
|
6542
|
-
sharingPolicy: "restricted" | "org_read" | "org_comment" | "org_edit";
|
|
6543
|
-
};
|
|
6043
|
+
"application/json": components["schemas"]["UpdateCompanyMdSharingPolicyRequest"];
|
|
6544
6044
|
};
|
|
6545
6045
|
};
|
|
6546
6046
|
responses: {
|
|
6547
|
-
/** @description
|
|
6047
|
+
/** @description Sharing policy updated */
|
|
6548
6048
|
204: {
|
|
6549
6049
|
headers: {
|
|
6550
6050
|
[name: string]: unknown;
|
|
6551
6051
|
};
|
|
6552
6052
|
content?: never;
|
|
6553
6053
|
};
|
|
6554
|
-
/** @description Invalid sharing policy */
|
|
6555
|
-
400: {
|
|
6556
|
-
headers: {
|
|
6557
|
-
[name: string]: unknown;
|
|
6558
|
-
};
|
|
6559
|
-
content: {
|
|
6560
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6561
|
-
};
|
|
6562
|
-
};
|
|
6563
|
-
/** @description Requires sharing permission */
|
|
6564
|
-
403: {
|
|
6565
|
-
headers: {
|
|
6566
|
-
[name: string]: unknown;
|
|
6567
|
-
};
|
|
6568
|
-
content: {
|
|
6569
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6570
|
-
};
|
|
6571
|
-
};
|
|
6572
|
-
/** @description Doc not found */
|
|
6573
|
-
404: {
|
|
6574
|
-
headers: {
|
|
6575
|
-
[name: string]: unknown;
|
|
6576
|
-
};
|
|
6577
|
-
content: {
|
|
6578
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6579
|
-
};
|
|
6580
|
-
};
|
|
6581
6054
|
};
|
|
6582
6055
|
};
|
|
6583
6056
|
addCompanyMdDocAclEntry: {
|
|
6584
6057
|
parameters: {
|
|
6585
6058
|
query?: never;
|
|
6586
6059
|
header?: never;
|
|
6587
|
-
path
|
|
6588
|
-
/** @description URL-safe goal doc slug */
|
|
6589
|
-
slug: string;
|
|
6590
|
-
};
|
|
6060
|
+
path?: never;
|
|
6591
6061
|
cookie?: never;
|
|
6592
6062
|
};
|
|
6593
6063
|
requestBody: {
|
|
6594
6064
|
content: {
|
|
6595
|
-
"application/json":
|
|
6596
|
-
/** @enum {string} */
|
|
6597
|
-
principalType: "user" | "team";
|
|
6598
|
-
/** Format: uuid */
|
|
6599
|
-
principalId: string;
|
|
6600
|
-
/** @enum {string} */
|
|
6601
|
-
accessLevel: "viewer" | "commenter" | "editor";
|
|
6602
|
-
};
|
|
6065
|
+
"application/json": components["schemas"]["AddCompanyMdAclRequest"];
|
|
6603
6066
|
};
|
|
6604
6067
|
};
|
|
6605
6068
|
responses: {
|
|
@@ -6608,48 +6071,7 @@ export interface operations {
|
|
|
6608
6071
|
headers: {
|
|
6609
6072
|
[name: string]: unknown;
|
|
6610
6073
|
};
|
|
6611
|
-
content
|
|
6612
|
-
"application/json": {
|
|
6613
|
-
/** Format: uuid */
|
|
6614
|
-
id?: string;
|
|
6615
|
-
};
|
|
6616
|
-
};
|
|
6617
|
-
};
|
|
6618
|
-
/** @description Invalid parameters */
|
|
6619
|
-
400: {
|
|
6620
|
-
headers: {
|
|
6621
|
-
[name: string]: unknown;
|
|
6622
|
-
};
|
|
6623
|
-
content: {
|
|
6624
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6625
|
-
};
|
|
6626
|
-
};
|
|
6627
|
-
/** @description Requires sharing permission */
|
|
6628
|
-
403: {
|
|
6629
|
-
headers: {
|
|
6630
|
-
[name: string]: unknown;
|
|
6631
|
-
};
|
|
6632
|
-
content: {
|
|
6633
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6634
|
-
};
|
|
6635
|
-
};
|
|
6636
|
-
/** @description Doc not found */
|
|
6637
|
-
404: {
|
|
6638
|
-
headers: {
|
|
6639
|
-
[name: string]: unknown;
|
|
6640
|
-
};
|
|
6641
|
-
content: {
|
|
6642
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6643
|
-
};
|
|
6644
|
-
};
|
|
6645
|
-
/** @description ACL entry already exists for this principal */
|
|
6646
|
-
409: {
|
|
6647
|
-
headers: {
|
|
6648
|
-
[name: string]: unknown;
|
|
6649
|
-
};
|
|
6650
|
-
content: {
|
|
6651
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6652
|
-
};
|
|
6074
|
+
content?: never;
|
|
6653
6075
|
};
|
|
6654
6076
|
};
|
|
6655
6077
|
};
|
|
@@ -6657,20 +6079,12 @@ export interface operations {
|
|
|
6657
6079
|
parameters: {
|
|
6658
6080
|
query?: never;
|
|
6659
6081
|
header?: never;
|
|
6660
|
-
path
|
|
6661
|
-
/** @description URL-safe goal doc slug */
|
|
6662
|
-
slug: string;
|
|
6663
|
-
/** @description ACL entry ID */
|
|
6664
|
-
aclId: string;
|
|
6665
|
-
};
|
|
6082
|
+
path?: never;
|
|
6666
6083
|
cookie?: never;
|
|
6667
6084
|
};
|
|
6668
6085
|
requestBody: {
|
|
6669
6086
|
content: {
|
|
6670
|
-
"application/json":
|
|
6671
|
-
/** @enum {string} */
|
|
6672
|
-
accessLevel: "viewer" | "commenter" | "editor";
|
|
6673
|
-
};
|
|
6087
|
+
"application/json": components["schemas"]["UpdateCompanyMdAclRequest"];
|
|
6674
6088
|
};
|
|
6675
6089
|
};
|
|
6676
6090
|
responses: {
|
|
@@ -6681,45 +6095,13 @@ export interface operations {
|
|
|
6681
6095
|
};
|
|
6682
6096
|
content?: never;
|
|
6683
6097
|
};
|
|
6684
|
-
/** @description Invalid access level */
|
|
6685
|
-
400: {
|
|
6686
|
-
headers: {
|
|
6687
|
-
[name: string]: unknown;
|
|
6688
|
-
};
|
|
6689
|
-
content: {
|
|
6690
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6691
|
-
};
|
|
6692
|
-
};
|
|
6693
|
-
/** @description Requires sharing permission */
|
|
6694
|
-
403: {
|
|
6695
|
-
headers: {
|
|
6696
|
-
[name: string]: unknown;
|
|
6697
|
-
};
|
|
6698
|
-
content: {
|
|
6699
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6700
|
-
};
|
|
6701
|
-
};
|
|
6702
|
-
/** @description Doc or ACL entry not found */
|
|
6703
|
-
404: {
|
|
6704
|
-
headers: {
|
|
6705
|
-
[name: string]: unknown;
|
|
6706
|
-
};
|
|
6707
|
-
content: {
|
|
6708
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6709
|
-
};
|
|
6710
|
-
};
|
|
6711
6098
|
};
|
|
6712
6099
|
};
|
|
6713
6100
|
deleteCompanyMdDocAclEntry: {
|
|
6714
6101
|
parameters: {
|
|
6715
6102
|
query?: never;
|
|
6716
6103
|
header?: never;
|
|
6717
|
-
path
|
|
6718
|
-
/** @description URL-safe goal doc slug */
|
|
6719
|
-
slug: string;
|
|
6720
|
-
/** @description ACL entry ID */
|
|
6721
|
-
aclId: string;
|
|
6722
|
-
};
|
|
6104
|
+
path?: never;
|
|
6723
6105
|
cookie?: never;
|
|
6724
6106
|
};
|
|
6725
6107
|
requestBody?: never;
|
|
@@ -6731,24 +6113,6 @@ export interface operations {
|
|
|
6731
6113
|
};
|
|
6732
6114
|
content?: never;
|
|
6733
6115
|
};
|
|
6734
|
-
/** @description Requires sharing permission */
|
|
6735
|
-
403: {
|
|
6736
|
-
headers: {
|
|
6737
|
-
[name: string]: unknown;
|
|
6738
|
-
};
|
|
6739
|
-
content: {
|
|
6740
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6741
|
-
};
|
|
6742
|
-
};
|
|
6743
|
-
/** @description Doc or ACL entry not found */
|
|
6744
|
-
404: {
|
|
6745
|
-
headers: {
|
|
6746
|
-
[name: string]: unknown;
|
|
6747
|
-
};
|
|
6748
|
-
content: {
|
|
6749
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6750
|
-
};
|
|
6751
|
-
};
|
|
6752
6116
|
};
|
|
6753
6117
|
};
|
|
6754
6118
|
extractCompanyMd: {
|
|
@@ -6760,43 +6124,16 @@ export interface operations {
|
|
|
6760
6124
|
};
|
|
6761
6125
|
requestBody: {
|
|
6762
6126
|
content: {
|
|
6763
|
-
"multipart/form-data":
|
|
6764
|
-
/**
|
|
6765
|
-
* Format: binary
|
|
6766
|
-
* @description PDF, DOCX, or TXT file to extract goals from
|
|
6767
|
-
*/
|
|
6768
|
-
file?: string;
|
|
6769
|
-
};
|
|
6770
|
-
"application/json": components["schemas"]["ExtractGoalsRequest"];
|
|
6127
|
+
"multipart/form-data": Record<string, never>;
|
|
6771
6128
|
};
|
|
6772
6129
|
};
|
|
6773
6130
|
responses: {
|
|
6774
|
-
/** @description Extraction
|
|
6131
|
+
/** @description Extraction enqueued */
|
|
6775
6132
|
202: {
|
|
6776
6133
|
headers: {
|
|
6777
6134
|
[name: string]: unknown;
|
|
6778
6135
|
};
|
|
6779
|
-
content
|
|
6780
|
-
"application/json": components["schemas"]["ExtractionEnqueuedResponse"];
|
|
6781
|
-
};
|
|
6782
|
-
};
|
|
6783
|
-
/** @description No file/text provided, unsupported MIME type, empty text, or text too large */
|
|
6784
|
-
400: {
|
|
6785
|
-
headers: {
|
|
6786
|
-
[name: string]: unknown;
|
|
6787
|
-
};
|
|
6788
|
-
content: {
|
|
6789
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6790
|
-
};
|
|
6791
|
-
};
|
|
6792
|
-
/** @description No org.manage_goals capability */
|
|
6793
|
-
403: {
|
|
6794
|
-
headers: {
|
|
6795
|
-
[name: string]: unknown;
|
|
6796
|
-
};
|
|
6797
|
-
content: {
|
|
6798
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6799
|
-
};
|
|
6136
|
+
content?: never;
|
|
6800
6137
|
};
|
|
6801
6138
|
};
|
|
6802
6139
|
};
|
|
@@ -6809,22 +6146,13 @@ export interface operations {
|
|
|
6809
6146
|
};
|
|
6810
6147
|
requestBody?: never;
|
|
6811
6148
|
responses: {
|
|
6812
|
-
/** @description Company.md settings
|
|
6149
|
+
/** @description Company.md settings */
|
|
6813
6150
|
200: {
|
|
6814
6151
|
headers: {
|
|
6815
6152
|
[name: string]: unknown;
|
|
6816
6153
|
};
|
|
6817
6154
|
content: {
|
|
6818
|
-
"application/json": components["schemas"]["
|
|
6819
|
-
};
|
|
6820
|
-
};
|
|
6821
|
-
/** @description No org.view_company_md capability */
|
|
6822
|
-
403: {
|
|
6823
|
-
headers: {
|
|
6824
|
-
[name: string]: unknown;
|
|
6825
|
-
};
|
|
6826
|
-
content: {
|
|
6827
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6155
|
+
"application/json": components["schemas"]["CompanyMdSettingsResponse"];
|
|
6828
6156
|
};
|
|
6829
6157
|
};
|
|
6830
6158
|
};
|
|
@@ -6842,31 +6170,13 @@ export interface operations {
|
|
|
6842
6170
|
};
|
|
6843
6171
|
};
|
|
6844
6172
|
responses: {
|
|
6845
|
-
/** @description Updated
|
|
6173
|
+
/** @description Updated settings */
|
|
6846
6174
|
200: {
|
|
6847
6175
|
headers: {
|
|
6848
6176
|
[name: string]: unknown;
|
|
6849
6177
|
};
|
|
6850
6178
|
content: {
|
|
6851
|
-
"application/json": components["schemas"]["
|
|
6852
|
-
};
|
|
6853
|
-
};
|
|
6854
|
-
/** @description Invalid label values (empty or exceeds 50 characters) */
|
|
6855
|
-
400: {
|
|
6856
|
-
headers: {
|
|
6857
|
-
[name: string]: unknown;
|
|
6858
|
-
};
|
|
6859
|
-
content: {
|
|
6860
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6861
|
-
};
|
|
6862
|
-
};
|
|
6863
|
-
/** @description No org.manage_company_md capability */
|
|
6864
|
-
403: {
|
|
6865
|
-
headers: {
|
|
6866
|
-
[name: string]: unknown;
|
|
6867
|
-
};
|
|
6868
|
-
content: {
|
|
6869
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6179
|
+
"application/json": components["schemas"]["CompanyMdSettingsResponse"];
|
|
6870
6180
|
};
|
|
6871
6181
|
};
|
|
6872
6182
|
};
|
|
@@ -6880,13 +6190,13 @@ export interface operations {
|
|
|
6880
6190
|
};
|
|
6881
6191
|
requestBody?: never;
|
|
6882
6192
|
responses: {
|
|
6883
|
-
/** @description
|
|
6193
|
+
/** @description Team list */
|
|
6884
6194
|
200: {
|
|
6885
6195
|
headers: {
|
|
6886
6196
|
[name: string]: unknown;
|
|
6887
6197
|
};
|
|
6888
6198
|
content: {
|
|
6889
|
-
"application/json": components["schemas"]["
|
|
6199
|
+
"application/json": components["schemas"]["TeamListResponse"];
|
|
6890
6200
|
};
|
|
6891
6201
|
};
|
|
6892
6202
|
};
|
|
@@ -6898,11 +6208,7 @@ export interface operations {
|
|
|
6898
6208
|
path?: never;
|
|
6899
6209
|
cookie?: never;
|
|
6900
6210
|
};
|
|
6901
|
-
requestBody
|
|
6902
|
-
content: {
|
|
6903
|
-
"application/json": components["schemas"]["CreateTeamRequest"];
|
|
6904
|
-
};
|
|
6905
|
-
};
|
|
6211
|
+
requestBody?: never;
|
|
6906
6212
|
responses: {
|
|
6907
6213
|
/** @description Team created */
|
|
6908
6214
|
201: {
|
|
@@ -6910,25 +6216,7 @@ export interface operations {
|
|
|
6910
6216
|
[name: string]: unknown;
|
|
6911
6217
|
};
|
|
6912
6218
|
content: {
|
|
6913
|
-
"application/json": components["schemas"]["
|
|
6914
|
-
};
|
|
6915
|
-
};
|
|
6916
|
-
/** @description Invalid request body */
|
|
6917
|
-
400: {
|
|
6918
|
-
headers: {
|
|
6919
|
-
[name: string]: unknown;
|
|
6920
|
-
};
|
|
6921
|
-
content: {
|
|
6922
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6923
|
-
};
|
|
6924
|
-
};
|
|
6925
|
-
/** @description Insufficient permissions */
|
|
6926
|
-
403: {
|
|
6927
|
-
headers: {
|
|
6928
|
-
[name: string]: unknown;
|
|
6929
|
-
};
|
|
6930
|
-
content: {
|
|
6931
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6219
|
+
"application/json": components["schemas"]["TeamResponse"];
|
|
6932
6220
|
};
|
|
6933
6221
|
};
|
|
6934
6222
|
};
|
|
@@ -6937,38 +6225,18 @@ export interface operations {
|
|
|
6937
6225
|
parameters: {
|
|
6938
6226
|
query?: never;
|
|
6939
6227
|
header?: never;
|
|
6940
|
-
path
|
|
6941
|
-
teamId: string;
|
|
6942
|
-
};
|
|
6228
|
+
path?: never;
|
|
6943
6229
|
cookie?: never;
|
|
6944
6230
|
};
|
|
6945
6231
|
requestBody?: never;
|
|
6946
6232
|
responses: {
|
|
6947
|
-
/** @description Team
|
|
6233
|
+
/** @description Team details */
|
|
6948
6234
|
200: {
|
|
6949
6235
|
headers: {
|
|
6950
6236
|
[name: string]: unknown;
|
|
6951
6237
|
};
|
|
6952
6238
|
content: {
|
|
6953
|
-
"application/json": components["schemas"]["
|
|
6954
|
-
};
|
|
6955
|
-
};
|
|
6956
|
-
/** @description Insufficient permissions */
|
|
6957
|
-
403: {
|
|
6958
|
-
headers: {
|
|
6959
|
-
[name: string]: unknown;
|
|
6960
|
-
};
|
|
6961
|
-
content: {
|
|
6962
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6963
|
-
};
|
|
6964
|
-
};
|
|
6965
|
-
/** @description Team not found */
|
|
6966
|
-
404: {
|
|
6967
|
-
headers: {
|
|
6968
|
-
[name: string]: unknown;
|
|
6969
|
-
};
|
|
6970
|
-
content: {
|
|
6971
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6239
|
+
"application/json": components["schemas"]["TeamResponse"];
|
|
6972
6240
|
};
|
|
6973
6241
|
};
|
|
6974
6242
|
};
|
|
@@ -6977,16 +6245,10 @@ export interface operations {
|
|
|
6977
6245
|
parameters: {
|
|
6978
6246
|
query?: never;
|
|
6979
6247
|
header?: never;
|
|
6980
|
-
path
|
|
6981
|
-
teamId: string;
|
|
6982
|
-
};
|
|
6248
|
+
path?: never;
|
|
6983
6249
|
cookie?: never;
|
|
6984
6250
|
};
|
|
6985
|
-
requestBody
|
|
6986
|
-
content: {
|
|
6987
|
-
"application/json": components["schemas"]["UpdateTeamRequest"];
|
|
6988
|
-
};
|
|
6989
|
-
};
|
|
6251
|
+
requestBody?: never;
|
|
6990
6252
|
responses: {
|
|
6991
6253
|
/** @description Updated team */
|
|
6992
6254
|
200: {
|
|
@@ -6994,25 +6256,7 @@ export interface operations {
|
|
|
6994
6256
|
[name: string]: unknown;
|
|
6995
6257
|
};
|
|
6996
6258
|
content: {
|
|
6997
|
-
"application/json": components["schemas"]["
|
|
6998
|
-
};
|
|
6999
|
-
};
|
|
7000
|
-
/** @description Insufficient permissions */
|
|
7001
|
-
403: {
|
|
7002
|
-
headers: {
|
|
7003
|
-
[name: string]: unknown;
|
|
7004
|
-
};
|
|
7005
|
-
content: {
|
|
7006
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7007
|
-
};
|
|
7008
|
-
};
|
|
7009
|
-
/** @description Team not found */
|
|
7010
|
-
404: {
|
|
7011
|
-
headers: {
|
|
7012
|
-
[name: string]: unknown;
|
|
7013
|
-
};
|
|
7014
|
-
content: {
|
|
7015
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6259
|
+
"application/json": components["schemas"]["TeamResponse"];
|
|
7016
6260
|
};
|
|
7017
6261
|
};
|
|
7018
6262
|
};
|
|
@@ -7021,9 +6265,7 @@ export interface operations {
|
|
|
7021
6265
|
parameters: {
|
|
7022
6266
|
query?: never;
|
|
7023
6267
|
header?: never;
|
|
7024
|
-
path
|
|
7025
|
-
teamId: string;
|
|
7026
|
-
};
|
|
6268
|
+
path?: never;
|
|
7027
6269
|
cookie?: never;
|
|
7028
6270
|
};
|
|
7029
6271
|
requestBody?: never;
|
|
@@ -7035,81 +6277,23 @@ export interface operations {
|
|
|
7035
6277
|
};
|
|
7036
6278
|
content?: never;
|
|
7037
6279
|
};
|
|
7038
|
-
/** @description Insufficient permissions */
|
|
7039
|
-
403: {
|
|
7040
|
-
headers: {
|
|
7041
|
-
[name: string]: unknown;
|
|
7042
|
-
};
|
|
7043
|
-
content: {
|
|
7044
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7045
|
-
};
|
|
7046
|
-
};
|
|
7047
|
-
/** @description Team not found */
|
|
7048
|
-
404: {
|
|
7049
|
-
headers: {
|
|
7050
|
-
[name: string]: unknown;
|
|
7051
|
-
};
|
|
7052
|
-
content: {
|
|
7053
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7054
|
-
};
|
|
7055
|
-
};
|
|
7056
6280
|
};
|
|
7057
6281
|
};
|
|
7058
6282
|
addTeamMember: {
|
|
7059
6283
|
parameters: {
|
|
7060
6284
|
query?: never;
|
|
7061
6285
|
header?: never;
|
|
7062
|
-
path
|
|
7063
|
-
teamId: string;
|
|
7064
|
-
};
|
|
6286
|
+
path?: never;
|
|
7065
6287
|
cookie?: never;
|
|
7066
6288
|
};
|
|
7067
|
-
requestBody
|
|
7068
|
-
content: {
|
|
7069
|
-
"application/json": components["schemas"]["AddTeamMemberRequest"];
|
|
7070
|
-
};
|
|
7071
|
-
};
|
|
6289
|
+
requestBody?: never;
|
|
7072
6290
|
responses: {
|
|
7073
6291
|
/** @description Member added */
|
|
7074
6292
|
201: {
|
|
7075
6293
|
headers: {
|
|
7076
6294
|
[name: string]: unknown;
|
|
7077
6295
|
};
|
|
7078
|
-
content
|
|
7079
|
-
"application/json": {
|
|
7080
|
-
/** @constant */
|
|
7081
|
-
success: true;
|
|
7082
|
-
/** @constant */
|
|
7083
|
-
ok: true;
|
|
7084
|
-
};
|
|
7085
|
-
};
|
|
7086
|
-
};
|
|
7087
|
-
/** @description Invalid request body */
|
|
7088
|
-
400: {
|
|
7089
|
-
headers: {
|
|
7090
|
-
[name: string]: unknown;
|
|
7091
|
-
};
|
|
7092
|
-
content: {
|
|
7093
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7094
|
-
};
|
|
7095
|
-
};
|
|
7096
|
-
/** @description Insufficient permissions */
|
|
7097
|
-
403: {
|
|
7098
|
-
headers: {
|
|
7099
|
-
[name: string]: unknown;
|
|
7100
|
-
};
|
|
7101
|
-
content: {
|
|
7102
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7103
|
-
};
|
|
7104
|
-
};
|
|
7105
|
-
/** @description Sync mode conflict */
|
|
7106
|
-
409: {
|
|
7107
|
-
headers: {
|
|
7108
|
-
[name: string]: unknown;
|
|
7109
|
-
};
|
|
7110
|
-
content: {
|
|
7111
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7112
|
-
};
|
|
6296
|
+
content?: never;
|
|
7113
6297
|
};
|
|
7114
6298
|
};
|
|
7115
6299
|
};
|
|
@@ -7117,10 +6301,7 @@ export interface operations {
|
|
|
7117
6301
|
parameters: {
|
|
7118
6302
|
query?: never;
|
|
7119
6303
|
header?: never;
|
|
7120
|
-
path
|
|
7121
|
-
teamId: string;
|
|
7122
|
-
userId: string;
|
|
7123
|
-
};
|
|
6304
|
+
path?: never;
|
|
7124
6305
|
cookie?: never;
|
|
7125
6306
|
};
|
|
7126
6307
|
requestBody?: never;
|
|
@@ -7130,25 +6311,7 @@ export interface operations {
|
|
|
7130
6311
|
headers: {
|
|
7131
6312
|
[name: string]: unknown;
|
|
7132
6313
|
};
|
|
7133
|
-
content?: never;
|
|
7134
|
-
};
|
|
7135
|
-
/** @description Insufficient permissions */
|
|
7136
|
-
403: {
|
|
7137
|
-
headers: {
|
|
7138
|
-
[name: string]: unknown;
|
|
7139
|
-
};
|
|
7140
|
-
content: {
|
|
7141
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7142
|
-
};
|
|
7143
|
-
};
|
|
7144
|
-
/** @description Last owner or sync mode conflict */
|
|
7145
|
-
409: {
|
|
7146
|
-
headers: {
|
|
7147
|
-
[name: string]: unknown;
|
|
7148
|
-
};
|
|
7149
|
-
content: {
|
|
7150
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7151
|
-
};
|
|
6314
|
+
content?: never;
|
|
7152
6315
|
};
|
|
7153
6316
|
};
|
|
7154
6317
|
};
|
|
@@ -7156,55 +6319,17 @@ export interface operations {
|
|
|
7156
6319
|
parameters: {
|
|
7157
6320
|
query?: never;
|
|
7158
6321
|
header?: never;
|
|
7159
|
-
path
|
|
7160
|
-
teamId: string;
|
|
7161
|
-
userId: string;
|
|
7162
|
-
};
|
|
6322
|
+
path?: never;
|
|
7163
6323
|
cookie?: never;
|
|
7164
6324
|
};
|
|
7165
|
-
requestBody
|
|
7166
|
-
content: {
|
|
7167
|
-
"application/json": components["schemas"]["UpdateTeamMemberRoleRequest"];
|
|
7168
|
-
};
|
|
7169
|
-
};
|
|
6325
|
+
requestBody?: never;
|
|
7170
6326
|
responses: {
|
|
7171
6327
|
/** @description Role updated */
|
|
7172
6328
|
200: {
|
|
7173
6329
|
headers: {
|
|
7174
6330
|
[name: string]: unknown;
|
|
7175
6331
|
};
|
|
7176
|
-
content
|
|
7177
|
-
"application/json": {
|
|
7178
|
-
ok?: boolean;
|
|
7179
|
-
};
|
|
7180
|
-
};
|
|
7181
|
-
};
|
|
7182
|
-
/** @description Invalid role */
|
|
7183
|
-
400: {
|
|
7184
|
-
headers: {
|
|
7185
|
-
[name: string]: unknown;
|
|
7186
|
-
};
|
|
7187
|
-
content: {
|
|
7188
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7189
|
-
};
|
|
7190
|
-
};
|
|
7191
|
-
/** @description Insufficient permissions */
|
|
7192
|
-
403: {
|
|
7193
|
-
headers: {
|
|
7194
|
-
[name: string]: unknown;
|
|
7195
|
-
};
|
|
7196
|
-
content: {
|
|
7197
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7198
|
-
};
|
|
7199
|
-
};
|
|
7200
|
-
/** @description Last owner or sync mode conflict */
|
|
7201
|
-
409: {
|
|
7202
|
-
headers: {
|
|
7203
|
-
[name: string]: unknown;
|
|
7204
|
-
};
|
|
7205
|
-
content: {
|
|
7206
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7207
|
-
};
|
|
6332
|
+
content?: never;
|
|
7208
6333
|
};
|
|
7209
6334
|
};
|
|
7210
6335
|
};
|
|
@@ -7235,13 +6360,13 @@ export interface operations {
|
|
|
7235
6360
|
};
|
|
7236
6361
|
requestBody?: never;
|
|
7237
6362
|
responses: {
|
|
7238
|
-
/** @description
|
|
6363
|
+
/** @description Department list */
|
|
7239
6364
|
200: {
|
|
7240
6365
|
headers: {
|
|
7241
6366
|
[name: string]: unknown;
|
|
7242
6367
|
};
|
|
7243
6368
|
content: {
|
|
7244
|
-
"application/json":
|
|
6369
|
+
"application/json": components["schemas"]["DepartmentListResponse"];
|
|
7245
6370
|
};
|
|
7246
6371
|
};
|
|
7247
6372
|
};
|
|
@@ -7253,14 +6378,7 @@ export interface operations {
|
|
|
7253
6378
|
path?: never;
|
|
7254
6379
|
cookie?: never;
|
|
7255
6380
|
};
|
|
7256
|
-
requestBody
|
|
7257
|
-
content: {
|
|
7258
|
-
"application/json": {
|
|
7259
|
-
name: string;
|
|
7260
|
-
description?: string;
|
|
7261
|
-
};
|
|
7262
|
-
};
|
|
7263
|
-
};
|
|
6381
|
+
requestBody?: never;
|
|
7264
6382
|
responses: {
|
|
7265
6383
|
/** @description Department created */
|
|
7266
6384
|
201: {
|
|
@@ -7268,34 +6386,7 @@ export interface operations {
|
|
|
7268
6386
|
[name: string]: unknown;
|
|
7269
6387
|
};
|
|
7270
6388
|
content: {
|
|
7271
|
-
"application/json":
|
|
7272
|
-
};
|
|
7273
|
-
};
|
|
7274
|
-
/** @description Invalid request */
|
|
7275
|
-
400: {
|
|
7276
|
-
headers: {
|
|
7277
|
-
[name: string]: unknown;
|
|
7278
|
-
};
|
|
7279
|
-
content: {
|
|
7280
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7281
|
-
};
|
|
7282
|
-
};
|
|
7283
|
-
/** @description Insufficient permissions */
|
|
7284
|
-
403: {
|
|
7285
|
-
headers: {
|
|
7286
|
-
[name: string]: unknown;
|
|
7287
|
-
};
|
|
7288
|
-
content: {
|
|
7289
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7290
|
-
};
|
|
7291
|
-
};
|
|
7292
|
-
/** @description Department name already exists */
|
|
7293
|
-
409: {
|
|
7294
|
-
headers: {
|
|
7295
|
-
[name: string]: unknown;
|
|
7296
|
-
};
|
|
7297
|
-
content: {
|
|
7298
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6389
|
+
"application/json": components["schemas"]["DepartmentResponse"];
|
|
7299
6390
|
};
|
|
7300
6391
|
};
|
|
7301
6392
|
};
|
|
@@ -7304,9 +6395,7 @@ export interface operations {
|
|
|
7304
6395
|
parameters: {
|
|
7305
6396
|
query?: never;
|
|
7306
6397
|
header?: never;
|
|
7307
|
-
path
|
|
7308
|
-
id: string;
|
|
7309
|
-
};
|
|
6398
|
+
path?: never;
|
|
7310
6399
|
cookie?: never;
|
|
7311
6400
|
};
|
|
7312
6401
|
requestBody?: never;
|
|
@@ -7317,25 +6406,7 @@ export interface operations {
|
|
|
7317
6406
|
[name: string]: unknown;
|
|
7318
6407
|
};
|
|
7319
6408
|
content: {
|
|
7320
|
-
"application/json":
|
|
7321
|
-
};
|
|
7322
|
-
};
|
|
7323
|
-
/** @description Insufficient permissions */
|
|
7324
|
-
403: {
|
|
7325
|
-
headers: {
|
|
7326
|
-
[name: string]: unknown;
|
|
7327
|
-
};
|
|
7328
|
-
content: {
|
|
7329
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7330
|
-
};
|
|
7331
|
-
};
|
|
7332
|
-
/** @description Department not found */
|
|
7333
|
-
404: {
|
|
7334
|
-
headers: {
|
|
7335
|
-
[name: string]: unknown;
|
|
7336
|
-
};
|
|
7337
|
-
content: {
|
|
7338
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6409
|
+
"application/json": components["schemas"]["DepartmentResponse"];
|
|
7339
6410
|
};
|
|
7340
6411
|
};
|
|
7341
6412
|
};
|
|
@@ -7344,9 +6415,7 @@ export interface operations {
|
|
|
7344
6415
|
parameters: {
|
|
7345
6416
|
query?: never;
|
|
7346
6417
|
header?: never;
|
|
7347
|
-
path
|
|
7348
|
-
id: string;
|
|
7349
|
-
};
|
|
6418
|
+
path?: never;
|
|
7350
6419
|
cookie?: never;
|
|
7351
6420
|
};
|
|
7352
6421
|
requestBody?: never;
|
|
@@ -7358,117 +6427,43 @@ export interface operations {
|
|
|
7358
6427
|
};
|
|
7359
6428
|
content?: never;
|
|
7360
6429
|
};
|
|
7361
|
-
/** @description Insufficient permissions */
|
|
7362
|
-
403: {
|
|
7363
|
-
headers: {
|
|
7364
|
-
[name: string]: unknown;
|
|
7365
|
-
};
|
|
7366
|
-
content: {
|
|
7367
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7368
|
-
};
|
|
7369
|
-
};
|
|
7370
|
-
/** @description Department not found */
|
|
7371
|
-
404: {
|
|
7372
|
-
headers: {
|
|
7373
|
-
[name: string]: unknown;
|
|
7374
|
-
};
|
|
7375
|
-
content: {
|
|
7376
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7377
|
-
};
|
|
7378
|
-
};
|
|
7379
6430
|
};
|
|
7380
6431
|
};
|
|
7381
6432
|
updateDepartment: {
|
|
7382
6433
|
parameters: {
|
|
7383
6434
|
query?: never;
|
|
7384
6435
|
header?: never;
|
|
7385
|
-
path
|
|
7386
|
-
id: string;
|
|
7387
|
-
};
|
|
6436
|
+
path?: never;
|
|
7388
6437
|
cookie?: never;
|
|
7389
6438
|
};
|
|
7390
|
-
requestBody
|
|
7391
|
-
content: {
|
|
7392
|
-
"application/json": {
|
|
7393
|
-
name?: string;
|
|
7394
|
-
description?: string;
|
|
7395
|
-
position?: number;
|
|
7396
|
-
};
|
|
7397
|
-
};
|
|
7398
|
-
};
|
|
6439
|
+
requestBody?: never;
|
|
7399
6440
|
responses: {
|
|
7400
|
-
/** @description
|
|
6441
|
+
/** @description Updated department */
|
|
7401
6442
|
200: {
|
|
7402
6443
|
headers: {
|
|
7403
6444
|
[name: string]: unknown;
|
|
7404
6445
|
};
|
|
7405
6446
|
content: {
|
|
7406
|
-
"application/json":
|
|
7407
|
-
};
|
|
7408
|
-
};
|
|
7409
|
-
/** @description Insufficient permissions */
|
|
7410
|
-
403: {
|
|
7411
|
-
headers: {
|
|
7412
|
-
[name: string]: unknown;
|
|
7413
|
-
};
|
|
7414
|
-
content: {
|
|
7415
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7416
|
-
};
|
|
7417
|
-
};
|
|
7418
|
-
/** @description Department not found */
|
|
7419
|
-
404: {
|
|
7420
|
-
headers: {
|
|
7421
|
-
[name: string]: unknown;
|
|
7422
|
-
};
|
|
7423
|
-
content: {
|
|
7424
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
6447
|
+
"application/json": components["schemas"]["DepartmentResponse"];
|
|
7425
6448
|
};
|
|
7426
6449
|
};
|
|
7427
6450
|
};
|
|
7428
6451
|
};
|
|
7429
6452
|
listDepartmentMembers: {
|
|
7430
6453
|
parameters: {
|
|
7431
|
-
query?:
|
|
7432
|
-
/** @description Cursor for pagination */
|
|
7433
|
-
cursor?: string;
|
|
7434
|
-
/** @description Max results per page (default 100, max 200) */
|
|
7435
|
-
limit?: number;
|
|
7436
|
-
};
|
|
6454
|
+
query?: never;
|
|
7437
6455
|
header?: never;
|
|
7438
|
-
path
|
|
7439
|
-
/** @description Department ID (UUID) */
|
|
7440
|
-
id: string;
|
|
7441
|
-
};
|
|
6456
|
+
path?: never;
|
|
7442
6457
|
cookie?: never;
|
|
7443
6458
|
};
|
|
7444
6459
|
requestBody?: never;
|
|
7445
6460
|
responses: {
|
|
7446
|
-
/** @description
|
|
6461
|
+
/** @description Department member list */
|
|
7447
6462
|
200: {
|
|
7448
6463
|
headers: {
|
|
7449
6464
|
[name: string]: unknown;
|
|
7450
6465
|
};
|
|
7451
|
-
content
|
|
7452
|
-
"application/json": components["schemas"]["DepartmentMembersResponse"];
|
|
7453
|
-
};
|
|
7454
|
-
};
|
|
7455
|
-
/** @description No org.view_departments capability */
|
|
7456
|
-
403: {
|
|
7457
|
-
headers: {
|
|
7458
|
-
[name: string]: unknown;
|
|
7459
|
-
};
|
|
7460
|
-
content: {
|
|
7461
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7462
|
-
};
|
|
7463
|
-
};
|
|
7464
|
-
/** @description Department not found */
|
|
7465
|
-
404: {
|
|
7466
|
-
headers: {
|
|
7467
|
-
[name: string]: unknown;
|
|
7468
|
-
};
|
|
7469
|
-
content: {
|
|
7470
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7471
|
-
};
|
|
6466
|
+
content?: never;
|
|
7472
6467
|
};
|
|
7473
6468
|
};
|
|
7474
6469
|
};
|
|
@@ -7476,68 +6471,17 @@ export interface operations {
|
|
|
7476
6471
|
parameters: {
|
|
7477
6472
|
query?: never;
|
|
7478
6473
|
header?: never;
|
|
7479
|
-
path
|
|
7480
|
-
id: string;
|
|
7481
|
-
};
|
|
6474
|
+
path?: never;
|
|
7482
6475
|
cookie?: never;
|
|
7483
6476
|
};
|
|
7484
|
-
requestBody
|
|
7485
|
-
content: {
|
|
7486
|
-
"application/json": {
|
|
7487
|
-
/** Format: uuid */
|
|
7488
|
-
userId: string;
|
|
7489
|
-
/** @enum {string} */
|
|
7490
|
-
role?: "member" | "manager" | "owner";
|
|
7491
|
-
};
|
|
7492
|
-
};
|
|
7493
|
-
};
|
|
6477
|
+
requestBody?: never;
|
|
7494
6478
|
responses: {
|
|
7495
6479
|
/** @description Member added */
|
|
7496
6480
|
201: {
|
|
7497
6481
|
headers: {
|
|
7498
6482
|
[name: string]: unknown;
|
|
7499
6483
|
};
|
|
7500
|
-
content
|
|
7501
|
-
"application/json": {
|
|
7502
|
-
success?: boolean;
|
|
7503
|
-
};
|
|
7504
|
-
};
|
|
7505
|
-
};
|
|
7506
|
-
/** @description Invalid request */
|
|
7507
|
-
400: {
|
|
7508
|
-
headers: {
|
|
7509
|
-
[name: string]: unknown;
|
|
7510
|
-
};
|
|
7511
|
-
content: {
|
|
7512
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7513
|
-
};
|
|
7514
|
-
};
|
|
7515
|
-
/** @description Insufficient permissions */
|
|
7516
|
-
403: {
|
|
7517
|
-
headers: {
|
|
7518
|
-
[name: string]: unknown;
|
|
7519
|
-
};
|
|
7520
|
-
content: {
|
|
7521
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7522
|
-
};
|
|
7523
|
-
};
|
|
7524
|
-
/** @description Department not found */
|
|
7525
|
-
404: {
|
|
7526
|
-
headers: {
|
|
7527
|
-
[name: string]: unknown;
|
|
7528
|
-
};
|
|
7529
|
-
content: {
|
|
7530
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7531
|
-
};
|
|
7532
|
-
};
|
|
7533
|
-
/** @description Already a member */
|
|
7534
|
-
409: {
|
|
7535
|
-
headers: {
|
|
7536
|
-
[name: string]: unknown;
|
|
7537
|
-
};
|
|
7538
|
-
content: {
|
|
7539
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7540
|
-
};
|
|
6484
|
+
content?: never;
|
|
7541
6485
|
};
|
|
7542
6486
|
};
|
|
7543
6487
|
};
|
|
@@ -7545,10 +6489,7 @@ export interface operations {
|
|
|
7545
6489
|
parameters: {
|
|
7546
6490
|
query?: never;
|
|
7547
6491
|
header?: never;
|
|
7548
|
-
path
|
|
7549
|
-
id: string;
|
|
7550
|
-
userId: string;
|
|
7551
|
-
};
|
|
6492
|
+
path?: never;
|
|
7552
6493
|
cookie?: never;
|
|
7553
6494
|
};
|
|
7554
6495
|
requestBody?: never;
|
|
@@ -7560,33 +6501,6 @@ export interface operations {
|
|
|
7560
6501
|
};
|
|
7561
6502
|
content?: never;
|
|
7562
6503
|
};
|
|
7563
|
-
/** @description Insufficient permissions */
|
|
7564
|
-
403: {
|
|
7565
|
-
headers: {
|
|
7566
|
-
[name: string]: unknown;
|
|
7567
|
-
};
|
|
7568
|
-
content: {
|
|
7569
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7570
|
-
};
|
|
7571
|
-
};
|
|
7572
|
-
/** @description Department not found */
|
|
7573
|
-
404: {
|
|
7574
|
-
headers: {
|
|
7575
|
-
[name: string]: unknown;
|
|
7576
|
-
};
|
|
7577
|
-
content: {
|
|
7578
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7579
|
-
};
|
|
7580
|
-
};
|
|
7581
|
-
/** @description Cannot remove sole owner */
|
|
7582
|
-
409: {
|
|
7583
|
-
headers: {
|
|
7584
|
-
[name: string]: unknown;
|
|
7585
|
-
};
|
|
7586
|
-
content: {
|
|
7587
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7588
|
-
};
|
|
7589
|
-
};
|
|
7590
6504
|
};
|
|
7591
6505
|
};
|
|
7592
6506
|
checkScopeBatch: {
|