@ravi-os/sdk 0.260915.1 → 0.261009.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +432 -9
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +420 -12
- package/dist/client.js.map +1 -1
- package/dist/fetch.d.ts +14 -0
- package/dist/fetch.d.ts.map +1 -0
- package/dist/fetch.js +20 -0
- package/dist/fetch.js.map +1 -0
- package/dist/schemas.d.ts +20699 -10197
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +14935 -1689
- package/dist/schemas.js.map +1 -1
- package/dist/streaming.generated.d.ts.map +1 -1
- package/dist/streaming.generated.js +2 -4
- package/dist/streaming.generated.js.map +1 -1
- package/dist/transport/http.d.ts.map +1 -1
- package/dist/transport/http.js +2 -4
- package/dist/transport/http.js.map +1 -1
- package/dist/types.d.ts +2651 -109
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -382,7 +382,7 @@ export type AgentsPermissionsReturn = {
|
|
|
382
382
|
permission?: string;
|
|
383
383
|
source?: string;
|
|
384
384
|
})>;
|
|
385
|
-
profile?: "bootstrap" | "full-access";
|
|
385
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
386
386
|
}) | null;
|
|
387
387
|
agent?: {
|
|
388
388
|
allowedSessions?: string[];
|
|
@@ -437,6 +437,7 @@ export type AgentsPermissionsReturn = {
|
|
|
437
437
|
}>;
|
|
438
438
|
};
|
|
439
439
|
agentId: string;
|
|
440
|
+
authorityLayer?: string;
|
|
440
441
|
before?: ({
|
|
441
442
|
capabilities?: Array<string | ({
|
|
442
443
|
objectId?: string;
|
|
@@ -444,12 +445,19 @@ export type AgentsPermissionsReturn = {
|
|
|
444
445
|
permission?: string;
|
|
445
446
|
source?: string;
|
|
446
447
|
})>;
|
|
447
|
-
profile?: "bootstrap" | "full-access";
|
|
448
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
448
449
|
}) | null;
|
|
450
|
+
breakGlassCommand?: string;
|
|
449
451
|
changed: boolean;
|
|
452
|
+
chatOnlyCommand?: string;
|
|
450
453
|
command?: string;
|
|
451
454
|
defaults?: (Record<string, unknown>) | null;
|
|
455
|
+
effectiveOn?: string;
|
|
456
|
+
inspectCommand?: string;
|
|
457
|
+
leastPrivilegeExample?: string;
|
|
452
458
|
profile?: string;
|
|
459
|
+
recurringAccessCommand?: string;
|
|
460
|
+
resetToBootstrapCommand?: string;
|
|
453
461
|
runtimePermissions?: ({
|
|
454
462
|
capabilities?: Array<string | ({
|
|
455
463
|
objectId?: string;
|
|
@@ -457,7 +465,7 @@ export type AgentsPermissionsReturn = {
|
|
|
457
465
|
permission?: string;
|
|
458
466
|
source?: string;
|
|
459
467
|
})>;
|
|
460
|
-
profile?: "bootstrap" | "full-access";
|
|
468
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
461
469
|
}) | null;
|
|
462
470
|
};
|
|
463
471
|
/** Input shape for `agents.reset`. */
|
|
@@ -492,6 +500,7 @@ export type AgentsSessionReturn = {
|
|
|
492
500
|
};
|
|
493
501
|
/** Input shape for `agents.set`. */
|
|
494
502
|
export type AgentsSetInput = {
|
|
503
|
+
force?: boolean;
|
|
495
504
|
id: string;
|
|
496
505
|
key: string;
|
|
497
506
|
value: string;
|
|
@@ -502,10 +511,28 @@ export type AgentsSetReturn = {
|
|
|
502
511
|
agent?: Record<string, unknown>;
|
|
503
512
|
agentId: string;
|
|
504
513
|
changed: boolean;
|
|
514
|
+
forcedClearedOverrides: Array<{
|
|
515
|
+
effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
516
|
+
model?: string;
|
|
517
|
+
provider?: string;
|
|
518
|
+
reasons: Array<"provider_override" | "model_override" | "effort_override" | "thinking_override">;
|
|
519
|
+
sessionName: string;
|
|
520
|
+
thinking?: "off" | "normal" | "verbose";
|
|
521
|
+
}>;
|
|
505
522
|
key: string;
|
|
523
|
+
rematerializedSessions: Array<{
|
|
524
|
+
clearedProviderSession: boolean;
|
|
525
|
+
previousRuntimeProvider: string | null;
|
|
526
|
+
reasons: "stale_runtime_provider"[];
|
|
527
|
+
runtimeProvider: string | null;
|
|
528
|
+
sessionKey: string;
|
|
529
|
+
sessionName: string;
|
|
530
|
+
}>;
|
|
506
531
|
sessionOverrides: Array<{
|
|
507
532
|
effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
508
533
|
model?: string;
|
|
534
|
+
provider?: string;
|
|
535
|
+
reasons: Array<"provider_override" | "model_override" | "effort_override" | "thinking_override">;
|
|
509
536
|
sessionName: string;
|
|
510
537
|
thinking?: "off" | "normal" | "verbose";
|
|
511
538
|
}>;
|
|
@@ -578,7 +605,7 @@ export type AgentsShowReturn = {
|
|
|
578
605
|
permission?: string;
|
|
579
606
|
source?: string;
|
|
580
607
|
})>;
|
|
581
|
-
profile?: "bootstrap" | "full-access";
|
|
608
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
582
609
|
}) | null;
|
|
583
610
|
};
|
|
584
611
|
/** Input shape for `agents.spec-mode`. */
|
|
@@ -1562,117 +1589,2050 @@ export type AudioPendingReturn = {
|
|
|
1562
1589
|
}>;
|
|
1563
1590
|
ok: true;
|
|
1564
1591
|
};
|
|
1565
|
-
/** Input shape for `audio.tts`. */
|
|
1566
|
-
export type AudioTtsInput = {
|
|
1567
|
-
account?: string;
|
|
1568
|
-
agent?: string;
|
|
1569
|
-
channel?: string;
|
|
1570
|
-
chat?: string;
|
|
1571
|
-
clientId?: string;
|
|
1572
|
-
elevenlabs?: string;
|
|
1573
|
-
execute?: boolean;
|
|
1592
|
+
/** Input shape for `audio.tts`. */
|
|
1593
|
+
export type AudioTtsInput = {
|
|
1594
|
+
account?: string;
|
|
1595
|
+
agent?: string;
|
|
1596
|
+
channel?: string;
|
|
1597
|
+
chat?: string;
|
|
1598
|
+
clientId?: string;
|
|
1599
|
+
elevenlabs?: string;
|
|
1600
|
+
execute?: boolean;
|
|
1601
|
+
format?: string;
|
|
1602
|
+
id?: string;
|
|
1603
|
+
lang?: string;
|
|
1604
|
+
model?: string;
|
|
1605
|
+
noAutoplay?: boolean;
|
|
1606
|
+
session?: string;
|
|
1607
|
+
sessionKey?: string;
|
|
1608
|
+
speed?: string;
|
|
1609
|
+
text: string;
|
|
1610
|
+
voice?: string;
|
|
1611
|
+
voiceSettings?: string;
|
|
1612
|
+
};
|
|
1613
|
+
/** Return shape for `audio.tts`. */
|
|
1614
|
+
export type AudioTtsReturn = {
|
|
1615
|
+
ok: true;
|
|
1616
|
+
request: {
|
|
1617
|
+
agentId?: string;
|
|
1618
|
+
createdAt?: number;
|
|
1619
|
+
emitId?: string;
|
|
1620
|
+
id?: string;
|
|
1621
|
+
metadata?: Record<string, unknown>;
|
|
1622
|
+
playback?: {
|
|
1623
|
+
autoplay: boolean;
|
|
1624
|
+
clientId?: string;
|
|
1625
|
+
target: "extension" | "channel" | "none";
|
|
1626
|
+
};
|
|
1627
|
+
requestId?: string;
|
|
1628
|
+
sessionKey?: string;
|
|
1629
|
+
sessionName?: string;
|
|
1630
|
+
source?: Record<string, unknown>;
|
|
1631
|
+
target?: {
|
|
1632
|
+
accountId?: string;
|
|
1633
|
+
canonicalChatId?: string;
|
|
1634
|
+
channel?: string;
|
|
1635
|
+
chatId?: string;
|
|
1636
|
+
instanceId?: string;
|
|
1637
|
+
threadId?: string;
|
|
1638
|
+
};
|
|
1639
|
+
text: string;
|
|
1640
|
+
voice?: {
|
|
1641
|
+
elevenlabs?: {
|
|
1642
|
+
applyLanguageTextNormalization?: boolean;
|
|
1643
|
+
applyTextNormalization?: "auto" | "on" | "off";
|
|
1644
|
+
enableLogging?: boolean;
|
|
1645
|
+
nextRequestIds?: string[];
|
|
1646
|
+
nextText?: string;
|
|
1647
|
+
optimizeStreamingLatency?: number;
|
|
1648
|
+
previousRequestIds?: string[];
|
|
1649
|
+
previousText?: string;
|
|
1650
|
+
pronunciationDictionaryLocators?: unknown[];
|
|
1651
|
+
seed?: number;
|
|
1652
|
+
usePvcAsIvc?: boolean;
|
|
1653
|
+
};
|
|
1654
|
+
lang: string;
|
|
1655
|
+
modelId: string;
|
|
1656
|
+
outputFormat: string;
|
|
1657
|
+
provider: "elevenlabs";
|
|
1658
|
+
voiceId?: string;
|
|
1659
|
+
voiceSettings?: {
|
|
1660
|
+
similarityBoost?: number;
|
|
1661
|
+
speed?: number;
|
|
1662
|
+
stability?: number;
|
|
1663
|
+
style?: number;
|
|
1664
|
+
useSpeakerBoost?: boolean;
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
topic: "ravi.tts";
|
|
1669
|
+
};
|
|
1670
|
+
/** Input shape for `audio.voices`. */
|
|
1671
|
+
export type AudioVoicesInput = {
|
|
1672
|
+
category?: string;
|
|
1673
|
+
fields?: string;
|
|
1674
|
+
limit?: string;
|
|
1675
|
+
search?: string;
|
|
1676
|
+
voiceType?: string;
|
|
1677
|
+
};
|
|
1678
|
+
/** Return shape for `audio.voices`. */
|
|
1679
|
+
export type AudioVoicesReturn = {
|
|
1680
|
+
generatedAt: number;
|
|
1681
|
+
hasMore: boolean;
|
|
1682
|
+
nextPageToken?: string;
|
|
1683
|
+
ok: true;
|
|
1684
|
+
provider: "elevenlabs";
|
|
1685
|
+
totalCount?: number;
|
|
1686
|
+
voices: Array<{
|
|
1687
|
+
category?: string;
|
|
1688
|
+
description?: string;
|
|
1689
|
+
highQualityBaseModelIds?: string[];
|
|
1690
|
+
isLegacy?: boolean;
|
|
1691
|
+
isOwner?: boolean;
|
|
1692
|
+
labels?: Record<string, string>;
|
|
1693
|
+
name: string;
|
|
1694
|
+
previewUrl?: string;
|
|
1695
|
+
verifiedLanguages?: Array<{
|
|
1696
|
+
accent?: string;
|
|
1697
|
+
language?: string;
|
|
1698
|
+
locale?: string;
|
|
1699
|
+
previewUrl?: string;
|
|
1700
|
+
}>;
|
|
1701
|
+
voiceId: string;
|
|
1702
|
+
}>;
|
|
1703
|
+
};
|
|
1704
|
+
/** Input shape for `bases.aggregate`. */
|
|
1705
|
+
export type BasesAggregateInput = {
|
|
1706
|
+
agg?: string[];
|
|
1707
|
+
base: string;
|
|
1708
|
+
console?: string;
|
|
1709
|
+
filter?: string;
|
|
1710
|
+
groupBy?: string;
|
|
1711
|
+
project?: string;
|
|
1712
|
+
};
|
|
1713
|
+
/** Return shape for `bases.aggregate`. */
|
|
1714
|
+
export type BasesAggregateReturn = {
|
|
1715
|
+
baseRef: string;
|
|
1716
|
+
consoleUrl: string;
|
|
1717
|
+
groups: Array<{
|
|
1718
|
+
keys: Record<string, string | number | boolean | null>;
|
|
1719
|
+
values: Record<string, number | string | null>;
|
|
1720
|
+
}>;
|
|
1721
|
+
projectRef: string;
|
|
1722
|
+
success: true;
|
|
1723
|
+
suppressedGroups: number;
|
|
1724
|
+
users: Record<string, {
|
|
1725
|
+
avatarUrl: string | null;
|
|
1726
|
+
displayName: string | null;
|
|
1727
|
+
id: string;
|
|
1728
|
+
}>;
|
|
1729
|
+
};
|
|
1730
|
+
/** Input shape for `bases.archive`. */
|
|
1731
|
+
export type BasesArchiveInput = {
|
|
1732
|
+
base: string;
|
|
1733
|
+
console?: string;
|
|
1734
|
+
execute?: boolean;
|
|
1735
|
+
expectedVersion?: string;
|
|
1736
|
+
project?: string;
|
|
1737
|
+
};
|
|
1738
|
+
/** Return shape for `bases.archive`. */
|
|
1739
|
+
export type BasesArchiveReturn = {
|
|
1740
|
+
base: {
|
|
1741
|
+
capabilities: {
|
|
1742
|
+
manage: boolean;
|
|
1743
|
+
readDirect: boolean;
|
|
1744
|
+
writeDirect: boolean;
|
|
1745
|
+
};
|
|
1746
|
+
createdAt: string;
|
|
1747
|
+
description: string | null;
|
|
1748
|
+
icon: string | null;
|
|
1749
|
+
id: string;
|
|
1750
|
+
name: string;
|
|
1751
|
+
organizationId: string;
|
|
1752
|
+
projectId: string;
|
|
1753
|
+
rowCount: number | null;
|
|
1754
|
+
schemaVersion: number;
|
|
1755
|
+
slug: string;
|
|
1756
|
+
status: string;
|
|
1757
|
+
timezone: string;
|
|
1758
|
+
updatedAt: string;
|
|
1759
|
+
version: number;
|
|
1760
|
+
};
|
|
1761
|
+
consoleUrl: string;
|
|
1762
|
+
projectRef: string;
|
|
1763
|
+
success: true;
|
|
1764
|
+
};
|
|
1765
|
+
/** Input shape for `bases.charts.archive`. */
|
|
1766
|
+
export type BasesChartsArchiveInput = {
|
|
1767
|
+
base: string;
|
|
1768
|
+
chart: string;
|
|
1769
|
+
console?: string;
|
|
1770
|
+
execute?: boolean;
|
|
1771
|
+
expectedVersion?: string;
|
|
1772
|
+
project?: string;
|
|
1773
|
+
};
|
|
1774
|
+
/** Return shape for `bases.charts.archive`. */
|
|
1775
|
+
export type BasesChartsArchiveReturn = {
|
|
1776
|
+
baseRef: string;
|
|
1777
|
+
chart: {
|
|
1778
|
+
baseId: string;
|
|
1779
|
+
createdAt?: string;
|
|
1780
|
+
description: string | null;
|
|
1781
|
+
id: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
position?: number;
|
|
1784
|
+
spec: Record<string, unknown>;
|
|
1785
|
+
status?: string;
|
|
1786
|
+
updatedAt?: string;
|
|
1787
|
+
version: number;
|
|
1788
|
+
viewId: string;
|
|
1789
|
+
};
|
|
1790
|
+
consoleUrl: string;
|
|
1791
|
+
projectRef: string;
|
|
1792
|
+
success: true;
|
|
1793
|
+
};
|
|
1794
|
+
/** Input shape for `bases.charts.create`. */
|
|
1795
|
+
export type BasesChartsCreateInput = {
|
|
1796
|
+
base: string;
|
|
1797
|
+
console?: string;
|
|
1798
|
+
name?: string;
|
|
1799
|
+
project?: string;
|
|
1800
|
+
spec?: string;
|
|
1801
|
+
view?: string;
|
|
1802
|
+
};
|
|
1803
|
+
/** Return shape for `bases.charts.create`. */
|
|
1804
|
+
export type BasesChartsCreateReturn = {
|
|
1805
|
+
baseRef: string;
|
|
1806
|
+
chart: {
|
|
1807
|
+
baseId: string;
|
|
1808
|
+
createdAt?: string;
|
|
1809
|
+
description: string | null;
|
|
1810
|
+
id: string;
|
|
1811
|
+
name: string;
|
|
1812
|
+
position?: number;
|
|
1813
|
+
spec: Record<string, unknown>;
|
|
1814
|
+
status?: string;
|
|
1815
|
+
updatedAt?: string;
|
|
1816
|
+
version: number;
|
|
1817
|
+
viewId: string;
|
|
1818
|
+
};
|
|
1819
|
+
consoleUrl: string;
|
|
1820
|
+
projectRef: string;
|
|
1821
|
+
success: true;
|
|
1822
|
+
};
|
|
1823
|
+
/** Input shape for `bases.charts.data`. */
|
|
1824
|
+
export type BasesChartsDataInput = {
|
|
1825
|
+
base: string;
|
|
1826
|
+
chart: string;
|
|
1827
|
+
console?: string;
|
|
1828
|
+
project?: string;
|
|
1829
|
+
};
|
|
1830
|
+
/** Return shape for `bases.charts.data`. */
|
|
1831
|
+
export type BasesChartsDataReturn = {
|
|
1832
|
+
baseRef: string;
|
|
1833
|
+
chart: {
|
|
1834
|
+
baseId: string;
|
|
1835
|
+
createdAt?: string;
|
|
1836
|
+
description: string | null;
|
|
1837
|
+
id: string;
|
|
1838
|
+
name: string;
|
|
1839
|
+
position?: number;
|
|
1840
|
+
spec: Record<string, unknown>;
|
|
1841
|
+
status?: string;
|
|
1842
|
+
updatedAt?: string;
|
|
1843
|
+
version: number;
|
|
1844
|
+
viewId: string;
|
|
1845
|
+
};
|
|
1846
|
+
consoleUrl: string;
|
|
1847
|
+
data: Array<Record<string, string | number | boolean | null>>;
|
|
1848
|
+
fields: Record<string, {
|
|
1849
|
+
config: {
|
|
1850
|
+
currency?: string;
|
|
1851
|
+
format?: string;
|
|
1852
|
+
includeTime?: boolean;
|
|
1853
|
+
options?: Array<{
|
|
1854
|
+
archived?: boolean;
|
|
1855
|
+
color: string;
|
|
1856
|
+
group?: string;
|
|
1857
|
+
id: string;
|
|
1858
|
+
name: string;
|
|
1859
|
+
}>;
|
|
1860
|
+
precision?: number;
|
|
1861
|
+
};
|
|
1862
|
+
key: string;
|
|
1863
|
+
name: string;
|
|
1864
|
+
required: boolean;
|
|
1865
|
+
type: string;
|
|
1866
|
+
}>;
|
|
1867
|
+
projectRef: string;
|
|
1868
|
+
success: true;
|
|
1869
|
+
suppressedGroups: number;
|
|
1870
|
+
users: Record<string, {
|
|
1871
|
+
avatarUrl: string | null;
|
|
1872
|
+
displayName: string | null;
|
|
1873
|
+
id: string;
|
|
1874
|
+
}>;
|
|
1875
|
+
};
|
|
1876
|
+
/** Input shape for `bases.charts.list`. */
|
|
1877
|
+
export type BasesChartsListInput = {
|
|
1878
|
+
base: string;
|
|
1879
|
+
console?: string;
|
|
1880
|
+
fields?: string;
|
|
1881
|
+
limit?: string;
|
|
1882
|
+
offset?: string;
|
|
1883
|
+
project?: string;
|
|
1884
|
+
};
|
|
1885
|
+
/** Return shape for `bases.charts.list`. */
|
|
1886
|
+
export type BasesChartsListReturn = {
|
|
1887
|
+
baseRef: string;
|
|
1888
|
+
charts: Array<{
|
|
1889
|
+
baseId?: string;
|
|
1890
|
+
createdAt?: string;
|
|
1891
|
+
description?: string | null;
|
|
1892
|
+
id?: string;
|
|
1893
|
+
name?: string;
|
|
1894
|
+
position?: number;
|
|
1895
|
+
spec?: Record<string, unknown>;
|
|
1896
|
+
status?: string;
|
|
1897
|
+
updatedAt?: string;
|
|
1898
|
+
version?: number;
|
|
1899
|
+
viewId?: string;
|
|
1900
|
+
}>;
|
|
1901
|
+
consoleUrl: string;
|
|
1902
|
+
items: Array<{
|
|
1903
|
+
baseId?: string;
|
|
1904
|
+
createdAt?: string;
|
|
1905
|
+
description?: string | null;
|
|
1906
|
+
id?: string;
|
|
1907
|
+
name?: string;
|
|
1908
|
+
position?: number;
|
|
1909
|
+
spec?: Record<string, unknown>;
|
|
1910
|
+
status?: string;
|
|
1911
|
+
updatedAt?: string;
|
|
1912
|
+
version?: number;
|
|
1913
|
+
viewId?: string;
|
|
1914
|
+
}>;
|
|
1915
|
+
pagination: {
|
|
1916
|
+
hasMore?: boolean;
|
|
1917
|
+
limit: number;
|
|
1918
|
+
nextCommand?: string | null;
|
|
1919
|
+
nextOffset?: number | null;
|
|
1920
|
+
offset: number;
|
|
1921
|
+
returned: number;
|
|
1922
|
+
total: number;
|
|
1923
|
+
};
|
|
1924
|
+
projectRef: string;
|
|
1925
|
+
success: true;
|
|
1926
|
+
total: number;
|
|
1927
|
+
};
|
|
1928
|
+
/** Input shape for `bases.charts.show`. */
|
|
1929
|
+
export type BasesChartsShowInput = {
|
|
1930
|
+
base: string;
|
|
1931
|
+
chart: string;
|
|
1932
|
+
console?: string;
|
|
1933
|
+
project?: string;
|
|
1934
|
+
};
|
|
1935
|
+
/** Return shape for `bases.charts.show`. */
|
|
1936
|
+
export type BasesChartsShowReturn = {
|
|
1937
|
+
baseRef: string;
|
|
1938
|
+
chart: {
|
|
1939
|
+
baseId: string;
|
|
1940
|
+
createdAt?: string;
|
|
1941
|
+
description: string | null;
|
|
1942
|
+
id: string;
|
|
1943
|
+
name: string;
|
|
1944
|
+
position?: number;
|
|
1945
|
+
spec: Record<string, unknown>;
|
|
1946
|
+
status?: string;
|
|
1947
|
+
updatedAt?: string;
|
|
1948
|
+
version: number;
|
|
1949
|
+
viewId: string;
|
|
1950
|
+
};
|
|
1951
|
+
consoleUrl: string;
|
|
1952
|
+
projectRef: string;
|
|
1953
|
+
success: true;
|
|
1954
|
+
};
|
|
1955
|
+
/** Input shape for `bases.charts.update`. */
|
|
1956
|
+
export type BasesChartsUpdateInput = {
|
|
1957
|
+
base: string;
|
|
1958
|
+
chart: string;
|
|
1959
|
+
console?: string;
|
|
1960
|
+
expectedVersion?: string;
|
|
1961
|
+
name?: string;
|
|
1962
|
+
project?: string;
|
|
1963
|
+
spec?: string;
|
|
1964
|
+
};
|
|
1965
|
+
/** Return shape for `bases.charts.update`. */
|
|
1966
|
+
export type BasesChartsUpdateReturn = {
|
|
1967
|
+
baseRef: string;
|
|
1968
|
+
chart: {
|
|
1969
|
+
baseId: string;
|
|
1970
|
+
createdAt?: string;
|
|
1971
|
+
description: string | null;
|
|
1972
|
+
id: string;
|
|
1973
|
+
name: string;
|
|
1974
|
+
position?: number;
|
|
1975
|
+
spec: Record<string, unknown>;
|
|
1976
|
+
status?: string;
|
|
1977
|
+
updatedAt?: string;
|
|
1978
|
+
version: number;
|
|
1979
|
+
viewId: string;
|
|
1980
|
+
};
|
|
1981
|
+
consoleUrl: string;
|
|
1982
|
+
projectRef: string;
|
|
1983
|
+
success: true;
|
|
1984
|
+
};
|
|
1985
|
+
/** Input shape for `bases.create`. */
|
|
1986
|
+
export type BasesCreateInput = {
|
|
1987
|
+
console?: string;
|
|
1988
|
+
description?: string;
|
|
1989
|
+
icon?: string;
|
|
1990
|
+
name: string;
|
|
1991
|
+
project?: string;
|
|
1992
|
+
schema?: string;
|
|
1993
|
+
slug?: string;
|
|
1994
|
+
timezone?: string;
|
|
1995
|
+
};
|
|
1996
|
+
/** Return shape for `bases.create`. */
|
|
1997
|
+
export type BasesCreateReturn = {
|
|
1998
|
+
base: {
|
|
1999
|
+
capabilities: {
|
|
2000
|
+
manage: boolean;
|
|
2001
|
+
readDirect: boolean;
|
|
2002
|
+
writeDirect: boolean;
|
|
2003
|
+
};
|
|
2004
|
+
charts: Array<{
|
|
2005
|
+
baseId: string;
|
|
2006
|
+
createdAt?: string;
|
|
2007
|
+
description: string | null;
|
|
2008
|
+
id: string;
|
|
2009
|
+
name: string;
|
|
2010
|
+
position?: number;
|
|
2011
|
+
spec: Record<string, unknown>;
|
|
2012
|
+
status?: string;
|
|
2013
|
+
updatedAt?: string;
|
|
2014
|
+
version: number;
|
|
2015
|
+
viewId: string;
|
|
2016
|
+
}>;
|
|
2017
|
+
createdAt: string;
|
|
2018
|
+
description: string | null;
|
|
2019
|
+
icon: string | null;
|
|
2020
|
+
id: string;
|
|
2021
|
+
members: Array<{
|
|
2022
|
+
avatarUrl: string | null;
|
|
2023
|
+
displayName: string | null;
|
|
2024
|
+
id: string;
|
|
2025
|
+
}>;
|
|
2026
|
+
name: string;
|
|
2027
|
+
organizationId: string;
|
|
2028
|
+
projectId: string;
|
|
2029
|
+
properties: Array<{
|
|
2030
|
+
config: {
|
|
2031
|
+
currency?: string;
|
|
2032
|
+
format?: string;
|
|
2033
|
+
includeTime?: boolean;
|
|
2034
|
+
options?: Array<{
|
|
2035
|
+
archived?: boolean;
|
|
2036
|
+
color: string;
|
|
2037
|
+
group?: string;
|
|
2038
|
+
id: string;
|
|
2039
|
+
name: string;
|
|
2040
|
+
}>;
|
|
2041
|
+
precision?: number;
|
|
2042
|
+
};
|
|
2043
|
+
deletedAt: string | null;
|
|
2044
|
+
description: string | null;
|
|
2045
|
+
id: string;
|
|
2046
|
+
key: string;
|
|
2047
|
+
name: string;
|
|
2048
|
+
position: number;
|
|
2049
|
+
required: boolean;
|
|
2050
|
+
type: string;
|
|
2051
|
+
}>;
|
|
2052
|
+
rowCount: number | null;
|
|
2053
|
+
schemaVersion: number;
|
|
2054
|
+
slug: string;
|
|
2055
|
+
status: string;
|
|
2056
|
+
timezone: string;
|
|
2057
|
+
updatedAt: string;
|
|
2058
|
+
version: number;
|
|
2059
|
+
views: Array<({
|
|
2060
|
+
access: Record<string, unknown>;
|
|
2061
|
+
baseId: string;
|
|
2062
|
+
capabilities: {
|
|
2063
|
+
aggregateOnly: boolean;
|
|
2064
|
+
archive: boolean;
|
|
2065
|
+
create: boolean;
|
|
2066
|
+
manage: boolean;
|
|
2067
|
+
read: boolean;
|
|
2068
|
+
writeColumns: string[];
|
|
2069
|
+
};
|
|
2070
|
+
columns: string[];
|
|
2071
|
+
createdAt: string;
|
|
2072
|
+
description: string | null;
|
|
2073
|
+
id: string;
|
|
2074
|
+
invalidReason: string | null;
|
|
2075
|
+
layout: Record<string, unknown>;
|
|
2076
|
+
name: string;
|
|
2077
|
+
position: number;
|
|
2078
|
+
query: {
|
|
2079
|
+
filter: unknown | null;
|
|
2080
|
+
sort: Array<{
|
|
2081
|
+
dir: string;
|
|
2082
|
+
prop: string;
|
|
2083
|
+
}>;
|
|
2084
|
+
};
|
|
2085
|
+
status: string;
|
|
2086
|
+
updatedAt: string;
|
|
2087
|
+
valid: boolean;
|
|
2088
|
+
version: number;
|
|
2089
|
+
}) | ({
|
|
2090
|
+
baseId: string;
|
|
2091
|
+
capabilities: {
|
|
2092
|
+
aggregateOnly: boolean;
|
|
2093
|
+
archive: boolean;
|
|
2094
|
+
create: boolean;
|
|
2095
|
+
manage: boolean;
|
|
2096
|
+
read: boolean;
|
|
2097
|
+
writeColumns: string[];
|
|
2098
|
+
};
|
|
2099
|
+
columns: Array<{
|
|
2100
|
+
config: {
|
|
2101
|
+
currency?: string;
|
|
2102
|
+
format?: string;
|
|
2103
|
+
includeTime?: boolean;
|
|
2104
|
+
options?: Array<{
|
|
2105
|
+
archived?: boolean;
|
|
2106
|
+
color: string;
|
|
2107
|
+
group?: string;
|
|
2108
|
+
id: string;
|
|
2109
|
+
name: string;
|
|
2110
|
+
}>;
|
|
2111
|
+
precision?: number;
|
|
2112
|
+
};
|
|
2113
|
+
key: string;
|
|
2114
|
+
name: string;
|
|
2115
|
+
required: boolean;
|
|
2116
|
+
type: string;
|
|
2117
|
+
}>;
|
|
2118
|
+
description: string | null;
|
|
2119
|
+
id: string;
|
|
2120
|
+
layout: Record<string, unknown>;
|
|
2121
|
+
name: string;
|
|
2122
|
+
valid: boolean;
|
|
2123
|
+
version: number;
|
|
2124
|
+
})>;
|
|
2125
|
+
};
|
|
2126
|
+
consoleUrl: string;
|
|
2127
|
+
projectRef: string;
|
|
2128
|
+
success: true;
|
|
2129
|
+
};
|
|
2130
|
+
/** Input shape for `bases.list`. */
|
|
2131
|
+
export type BasesListInput = {
|
|
2132
|
+
console?: string;
|
|
2133
|
+
fields?: string;
|
|
2134
|
+
includeArchived?: boolean;
|
|
2135
|
+
limit?: string;
|
|
2136
|
+
offset?: string;
|
|
2137
|
+
project?: string;
|
|
2138
|
+
};
|
|
2139
|
+
/** Return shape for `bases.list`. */
|
|
2140
|
+
export type BasesListReturn = {
|
|
2141
|
+
bases: Array<{
|
|
2142
|
+
capabilities?: {
|
|
2143
|
+
manage: boolean;
|
|
2144
|
+
readDirect: boolean;
|
|
2145
|
+
writeDirect: boolean;
|
|
2146
|
+
};
|
|
2147
|
+
createdAt?: string;
|
|
2148
|
+
description?: string | null;
|
|
2149
|
+
icon?: string | null;
|
|
2150
|
+
id?: string;
|
|
2151
|
+
name?: string;
|
|
2152
|
+
organizationId?: string;
|
|
2153
|
+
projectId?: string;
|
|
2154
|
+
rowCount?: number | null;
|
|
2155
|
+
schemaVersion?: number;
|
|
2156
|
+
slug?: string;
|
|
2157
|
+
status?: string;
|
|
2158
|
+
timezone?: string;
|
|
2159
|
+
updatedAt?: string;
|
|
2160
|
+
version?: number;
|
|
2161
|
+
}>;
|
|
2162
|
+
consoleUrl: string;
|
|
2163
|
+
items: Array<{
|
|
2164
|
+
capabilities?: {
|
|
2165
|
+
manage: boolean;
|
|
2166
|
+
readDirect: boolean;
|
|
2167
|
+
writeDirect: boolean;
|
|
2168
|
+
};
|
|
2169
|
+
createdAt?: string;
|
|
2170
|
+
description?: string | null;
|
|
2171
|
+
icon?: string | null;
|
|
2172
|
+
id?: string;
|
|
2173
|
+
name?: string;
|
|
2174
|
+
organizationId?: string;
|
|
2175
|
+
projectId?: string;
|
|
2176
|
+
rowCount?: number | null;
|
|
2177
|
+
schemaVersion?: number;
|
|
2178
|
+
slug?: string;
|
|
2179
|
+
status?: string;
|
|
2180
|
+
timezone?: string;
|
|
2181
|
+
updatedAt?: string;
|
|
2182
|
+
version?: number;
|
|
2183
|
+
}>;
|
|
2184
|
+
pagination: {
|
|
2185
|
+
hasMore?: boolean;
|
|
2186
|
+
limit: number;
|
|
2187
|
+
nextCommand?: string | null;
|
|
2188
|
+
nextOffset?: number | null;
|
|
2189
|
+
offset: number;
|
|
2190
|
+
returned: number;
|
|
2191
|
+
total: number;
|
|
2192
|
+
};
|
|
2193
|
+
projectRef: string;
|
|
2194
|
+
success: true;
|
|
2195
|
+
total: number;
|
|
2196
|
+
};
|
|
2197
|
+
/** Input shape for `bases.props.add`. */
|
|
2198
|
+
export type BasesPropsAddInput = {
|
|
2199
|
+
base: string;
|
|
2200
|
+
config?: string;
|
|
2201
|
+
console?: string;
|
|
2202
|
+
description?: string;
|
|
2203
|
+
expectedSchemaVersion?: string;
|
|
2204
|
+
key?: string;
|
|
2205
|
+
name: string;
|
|
2206
|
+
options?: string;
|
|
2207
|
+
position?: string;
|
|
2208
|
+
project?: string;
|
|
2209
|
+
required?: boolean;
|
|
2210
|
+
type?: string;
|
|
2211
|
+
};
|
|
2212
|
+
/** Return shape for `bases.props.add`. */
|
|
2213
|
+
export type BasesPropsAddReturn = {
|
|
2214
|
+
base: {
|
|
2215
|
+
capabilities: {
|
|
2216
|
+
manage: boolean;
|
|
2217
|
+
readDirect: boolean;
|
|
2218
|
+
writeDirect: boolean;
|
|
2219
|
+
};
|
|
2220
|
+
createdAt: string;
|
|
2221
|
+
description: string | null;
|
|
2222
|
+
icon: string | null;
|
|
2223
|
+
id: string;
|
|
2224
|
+
name: string;
|
|
2225
|
+
organizationId: string;
|
|
2226
|
+
projectId: string;
|
|
2227
|
+
rowCount: number | null;
|
|
2228
|
+
schemaVersion: number;
|
|
2229
|
+
slug: string;
|
|
2230
|
+
status: string;
|
|
2231
|
+
timezone: string;
|
|
2232
|
+
updatedAt: string;
|
|
2233
|
+
version: number;
|
|
2234
|
+
};
|
|
2235
|
+
consoleUrl: string;
|
|
2236
|
+
projectRef: string;
|
|
2237
|
+
property: {
|
|
2238
|
+
config: {
|
|
2239
|
+
currency?: string;
|
|
2240
|
+
format?: string;
|
|
2241
|
+
includeTime?: boolean;
|
|
2242
|
+
options?: Array<{
|
|
2243
|
+
archived?: boolean;
|
|
2244
|
+
color: string;
|
|
2245
|
+
group?: string;
|
|
2246
|
+
id: string;
|
|
2247
|
+
name: string;
|
|
2248
|
+
}>;
|
|
2249
|
+
precision?: number;
|
|
2250
|
+
};
|
|
2251
|
+
deletedAt: string | null;
|
|
2252
|
+
description: string | null;
|
|
2253
|
+
id: string;
|
|
2254
|
+
key: string;
|
|
2255
|
+
name: string;
|
|
2256
|
+
position: number;
|
|
2257
|
+
required: boolean;
|
|
2258
|
+
type: string;
|
|
2259
|
+
};
|
|
2260
|
+
report: ({
|
|
2261
|
+
activeRows: number;
|
|
2262
|
+
cleared: number;
|
|
2263
|
+
converted: number;
|
|
2264
|
+
dependents: {
|
|
2265
|
+
charts: Array<{
|
|
2266
|
+
id: string;
|
|
2267
|
+
name: string;
|
|
2268
|
+
}>;
|
|
2269
|
+
views: Array<{
|
|
2270
|
+
id: string;
|
|
2271
|
+
name: string;
|
|
2272
|
+
}>;
|
|
2273
|
+
};
|
|
2274
|
+
dryRun: boolean;
|
|
2275
|
+
missing: number;
|
|
2276
|
+
}) | null;
|
|
2277
|
+
success: true;
|
|
2278
|
+
};
|
|
2279
|
+
/** Input shape for `bases.props.delete`. */
|
|
2280
|
+
export type BasesPropsDeleteInput = {
|
|
2281
|
+
base: string;
|
|
2282
|
+
console?: string;
|
|
2283
|
+
execute?: boolean;
|
|
2284
|
+
expectedSchemaVersion?: string;
|
|
2285
|
+
project?: string;
|
|
2286
|
+
prop: string;
|
|
2287
|
+
};
|
|
2288
|
+
/** Return shape for `bases.props.delete`. */
|
|
2289
|
+
export type BasesPropsDeleteReturn = {
|
|
2290
|
+
base: {
|
|
2291
|
+
capabilities: {
|
|
2292
|
+
manage: boolean;
|
|
2293
|
+
readDirect: boolean;
|
|
2294
|
+
writeDirect: boolean;
|
|
2295
|
+
};
|
|
2296
|
+
createdAt: string;
|
|
2297
|
+
description: string | null;
|
|
2298
|
+
icon: string | null;
|
|
2299
|
+
id: string;
|
|
2300
|
+
name: string;
|
|
2301
|
+
organizationId: string;
|
|
2302
|
+
projectId: string;
|
|
2303
|
+
rowCount: number | null;
|
|
2304
|
+
schemaVersion: number;
|
|
2305
|
+
slug: string;
|
|
2306
|
+
status: string;
|
|
2307
|
+
timezone: string;
|
|
2308
|
+
updatedAt: string;
|
|
2309
|
+
version: number;
|
|
2310
|
+
};
|
|
2311
|
+
consoleUrl: string;
|
|
2312
|
+
projectRef: string;
|
|
2313
|
+
property: {
|
|
2314
|
+
config: {
|
|
2315
|
+
currency?: string;
|
|
2316
|
+
format?: string;
|
|
2317
|
+
includeTime?: boolean;
|
|
2318
|
+
options?: Array<{
|
|
2319
|
+
archived?: boolean;
|
|
2320
|
+
color: string;
|
|
2321
|
+
group?: string;
|
|
2322
|
+
id: string;
|
|
2323
|
+
name: string;
|
|
2324
|
+
}>;
|
|
2325
|
+
precision?: number;
|
|
2326
|
+
};
|
|
2327
|
+
deletedAt: string | null;
|
|
2328
|
+
description: string | null;
|
|
2329
|
+
id: string;
|
|
2330
|
+
key: string;
|
|
2331
|
+
name: string;
|
|
2332
|
+
position: number;
|
|
2333
|
+
required: boolean;
|
|
2334
|
+
type: string;
|
|
2335
|
+
};
|
|
2336
|
+
report: ({
|
|
2337
|
+
activeRows: number;
|
|
2338
|
+
cleared: number;
|
|
2339
|
+
converted: number;
|
|
2340
|
+
dependents: {
|
|
2341
|
+
charts: Array<{
|
|
2342
|
+
id: string;
|
|
2343
|
+
name: string;
|
|
2344
|
+
}>;
|
|
2345
|
+
views: Array<{
|
|
2346
|
+
id: string;
|
|
2347
|
+
name: string;
|
|
2348
|
+
}>;
|
|
2349
|
+
};
|
|
2350
|
+
dryRun: boolean;
|
|
2351
|
+
missing: number;
|
|
2352
|
+
}) | null;
|
|
2353
|
+
success: true;
|
|
2354
|
+
};
|
|
2355
|
+
/** Input shape for `bases.props.list`. */
|
|
2356
|
+
export type BasesPropsListInput = {
|
|
2357
|
+
base: string;
|
|
2358
|
+
console?: string;
|
|
2359
|
+
fields?: string;
|
|
2360
|
+
includeDeleted?: boolean;
|
|
2361
|
+
limit?: string;
|
|
2362
|
+
offset?: string;
|
|
2363
|
+
project?: string;
|
|
2364
|
+
};
|
|
2365
|
+
/** Return shape for `bases.props.list`. */
|
|
2366
|
+
export type BasesPropsListReturn = {
|
|
2367
|
+
baseRef: string;
|
|
2368
|
+
consoleUrl: string;
|
|
2369
|
+
items: Array<{
|
|
2370
|
+
config?: {
|
|
2371
|
+
currency?: string;
|
|
2372
|
+
format?: string;
|
|
2373
|
+
includeTime?: boolean;
|
|
2374
|
+
options?: Array<{
|
|
2375
|
+
archived?: boolean;
|
|
2376
|
+
color: string;
|
|
2377
|
+
group?: string;
|
|
2378
|
+
id: string;
|
|
2379
|
+
name: string;
|
|
2380
|
+
}>;
|
|
2381
|
+
precision?: number;
|
|
2382
|
+
};
|
|
2383
|
+
deletedAt?: string | null;
|
|
2384
|
+
description?: string | null;
|
|
2385
|
+
id?: string;
|
|
2386
|
+
key?: string;
|
|
2387
|
+
name?: string;
|
|
2388
|
+
position?: number;
|
|
2389
|
+
required?: boolean;
|
|
2390
|
+
type?: string;
|
|
2391
|
+
}>;
|
|
2392
|
+
pagination: {
|
|
2393
|
+
hasMore?: boolean;
|
|
2394
|
+
limit: number;
|
|
2395
|
+
nextCommand?: string | null;
|
|
2396
|
+
nextOffset?: number | null;
|
|
2397
|
+
offset: number;
|
|
2398
|
+
returned: number;
|
|
2399
|
+
total: number;
|
|
2400
|
+
};
|
|
2401
|
+
projectRef: string;
|
|
2402
|
+
properties: Array<{
|
|
2403
|
+
config?: {
|
|
2404
|
+
currency?: string;
|
|
2405
|
+
format?: string;
|
|
2406
|
+
includeTime?: boolean;
|
|
2407
|
+
options?: Array<{
|
|
2408
|
+
archived?: boolean;
|
|
2409
|
+
color: string;
|
|
2410
|
+
group?: string;
|
|
2411
|
+
id: string;
|
|
2412
|
+
name: string;
|
|
2413
|
+
}>;
|
|
2414
|
+
precision?: number;
|
|
2415
|
+
};
|
|
2416
|
+
deletedAt?: string | null;
|
|
2417
|
+
description?: string | null;
|
|
2418
|
+
id?: string;
|
|
2419
|
+
key?: string;
|
|
2420
|
+
name?: string;
|
|
2421
|
+
position?: number;
|
|
2422
|
+
required?: boolean;
|
|
2423
|
+
type?: string;
|
|
2424
|
+
}>;
|
|
2425
|
+
schemaVersion: number;
|
|
2426
|
+
success: true;
|
|
2427
|
+
total: number;
|
|
2428
|
+
};
|
|
2429
|
+
/** Input shape for `bases.props.restore`. */
|
|
2430
|
+
export type BasesPropsRestoreInput = {
|
|
2431
|
+
base: string;
|
|
2432
|
+
console?: string;
|
|
2433
|
+
expectedSchemaVersion?: string;
|
|
2434
|
+
project?: string;
|
|
2435
|
+
prop: string;
|
|
2436
|
+
};
|
|
2437
|
+
/** Return shape for `bases.props.restore`. */
|
|
2438
|
+
export type BasesPropsRestoreReturn = {
|
|
2439
|
+
base: {
|
|
2440
|
+
capabilities: {
|
|
2441
|
+
manage: boolean;
|
|
2442
|
+
readDirect: boolean;
|
|
2443
|
+
writeDirect: boolean;
|
|
2444
|
+
};
|
|
2445
|
+
createdAt: string;
|
|
2446
|
+
description: string | null;
|
|
2447
|
+
icon: string | null;
|
|
2448
|
+
id: string;
|
|
2449
|
+
name: string;
|
|
2450
|
+
organizationId: string;
|
|
2451
|
+
projectId: string;
|
|
2452
|
+
rowCount: number | null;
|
|
2453
|
+
schemaVersion: number;
|
|
2454
|
+
slug: string;
|
|
2455
|
+
status: string;
|
|
2456
|
+
timezone: string;
|
|
2457
|
+
updatedAt: string;
|
|
2458
|
+
version: number;
|
|
2459
|
+
};
|
|
2460
|
+
consoleUrl: string;
|
|
2461
|
+
projectRef: string;
|
|
2462
|
+
property: {
|
|
2463
|
+
config: {
|
|
2464
|
+
currency?: string;
|
|
2465
|
+
format?: string;
|
|
2466
|
+
includeTime?: boolean;
|
|
2467
|
+
options?: Array<{
|
|
2468
|
+
archived?: boolean;
|
|
2469
|
+
color: string;
|
|
2470
|
+
group?: string;
|
|
2471
|
+
id: string;
|
|
2472
|
+
name: string;
|
|
2473
|
+
}>;
|
|
2474
|
+
precision?: number;
|
|
2475
|
+
};
|
|
2476
|
+
deletedAt: string | null;
|
|
2477
|
+
description: string | null;
|
|
2478
|
+
id: string;
|
|
2479
|
+
key: string;
|
|
2480
|
+
name: string;
|
|
2481
|
+
position: number;
|
|
2482
|
+
required: boolean;
|
|
2483
|
+
type: string;
|
|
2484
|
+
};
|
|
2485
|
+
report: ({
|
|
2486
|
+
activeRows: number;
|
|
2487
|
+
cleared: number;
|
|
2488
|
+
converted: number;
|
|
2489
|
+
dependents: {
|
|
2490
|
+
charts: Array<{
|
|
2491
|
+
id: string;
|
|
2492
|
+
name: string;
|
|
2493
|
+
}>;
|
|
2494
|
+
views: Array<{
|
|
2495
|
+
id: string;
|
|
2496
|
+
name: string;
|
|
2497
|
+
}>;
|
|
2498
|
+
};
|
|
2499
|
+
dryRun: boolean;
|
|
2500
|
+
missing: number;
|
|
2501
|
+
}) | null;
|
|
2502
|
+
success: true;
|
|
2503
|
+
};
|
|
2504
|
+
/** Input shape for `bases.props.update`. */
|
|
2505
|
+
export type BasesPropsUpdateInput = {
|
|
2506
|
+
base: string;
|
|
2507
|
+
config?: string;
|
|
2508
|
+
console?: string;
|
|
2509
|
+
description?: string;
|
|
2510
|
+
execute?: boolean;
|
|
2511
|
+
expectedSchemaVersion?: string;
|
|
2512
|
+
key?: string;
|
|
2513
|
+
name?: string;
|
|
2514
|
+
options?: string;
|
|
2515
|
+
position?: string;
|
|
2516
|
+
project?: string;
|
|
2517
|
+
prop: string;
|
|
2518
|
+
required?: string;
|
|
2519
|
+
type?: string;
|
|
2520
|
+
};
|
|
2521
|
+
/** Return shape for `bases.props.update`. */
|
|
2522
|
+
export type BasesPropsUpdateReturn = {
|
|
2523
|
+
base: {
|
|
2524
|
+
capabilities: {
|
|
2525
|
+
manage: boolean;
|
|
2526
|
+
readDirect: boolean;
|
|
2527
|
+
writeDirect: boolean;
|
|
2528
|
+
};
|
|
2529
|
+
createdAt: string;
|
|
2530
|
+
description: string | null;
|
|
2531
|
+
icon: string | null;
|
|
2532
|
+
id: string;
|
|
2533
|
+
name: string;
|
|
2534
|
+
organizationId: string;
|
|
2535
|
+
projectId: string;
|
|
2536
|
+
rowCount: number | null;
|
|
2537
|
+
schemaVersion: number;
|
|
2538
|
+
slug: string;
|
|
2539
|
+
status: string;
|
|
2540
|
+
timezone: string;
|
|
2541
|
+
updatedAt: string;
|
|
2542
|
+
version: number;
|
|
2543
|
+
};
|
|
2544
|
+
consoleUrl: string;
|
|
2545
|
+
projectRef: string;
|
|
2546
|
+
property: {
|
|
2547
|
+
config: {
|
|
2548
|
+
currency?: string;
|
|
2549
|
+
format?: string;
|
|
2550
|
+
includeTime?: boolean;
|
|
2551
|
+
options?: Array<{
|
|
2552
|
+
archived?: boolean;
|
|
2553
|
+
color: string;
|
|
2554
|
+
group?: string;
|
|
2555
|
+
id: string;
|
|
2556
|
+
name: string;
|
|
2557
|
+
}>;
|
|
2558
|
+
precision?: number;
|
|
2559
|
+
};
|
|
2560
|
+
deletedAt: string | null;
|
|
2561
|
+
description: string | null;
|
|
2562
|
+
id: string;
|
|
2563
|
+
key: string;
|
|
2564
|
+
name: string;
|
|
2565
|
+
position: number;
|
|
2566
|
+
required: boolean;
|
|
2567
|
+
type: string;
|
|
2568
|
+
};
|
|
2569
|
+
report: ({
|
|
2570
|
+
activeRows: number;
|
|
2571
|
+
cleared: number;
|
|
2572
|
+
converted: number;
|
|
2573
|
+
dependents: {
|
|
2574
|
+
charts: Array<{
|
|
2575
|
+
id: string;
|
|
2576
|
+
name: string;
|
|
2577
|
+
}>;
|
|
2578
|
+
views: Array<{
|
|
2579
|
+
id: string;
|
|
2580
|
+
name: string;
|
|
2581
|
+
}>;
|
|
2582
|
+
};
|
|
2583
|
+
dryRun: boolean;
|
|
2584
|
+
missing: number;
|
|
2585
|
+
}) | null;
|
|
2586
|
+
success: true;
|
|
2587
|
+
};
|
|
2588
|
+
/** Input shape for `bases.restore`. */
|
|
2589
|
+
export type BasesRestoreInput = {
|
|
2590
|
+
base: string;
|
|
2591
|
+
console?: string;
|
|
2592
|
+
execute?: boolean;
|
|
2593
|
+
expectedVersion?: string;
|
|
2594
|
+
project?: string;
|
|
2595
|
+
};
|
|
2596
|
+
/** Return shape for `bases.restore`. */
|
|
2597
|
+
export type BasesRestoreReturn = {
|
|
2598
|
+
base: {
|
|
2599
|
+
capabilities: {
|
|
2600
|
+
manage: boolean;
|
|
2601
|
+
readDirect: boolean;
|
|
2602
|
+
writeDirect: boolean;
|
|
2603
|
+
};
|
|
2604
|
+
createdAt: string;
|
|
2605
|
+
description: string | null;
|
|
2606
|
+
icon: string | null;
|
|
2607
|
+
id: string;
|
|
2608
|
+
name: string;
|
|
2609
|
+
organizationId: string;
|
|
2610
|
+
projectId: string;
|
|
2611
|
+
rowCount: number | null;
|
|
2612
|
+
schemaVersion: number;
|
|
2613
|
+
slug: string;
|
|
2614
|
+
status: string;
|
|
2615
|
+
timezone: string;
|
|
2616
|
+
updatedAt: string;
|
|
2617
|
+
version: number;
|
|
2618
|
+
};
|
|
2619
|
+
consoleUrl: string;
|
|
2620
|
+
projectRef: string;
|
|
2621
|
+
success: true;
|
|
2622
|
+
};
|
|
2623
|
+
/** Input shape for `bases.rows.add`. */
|
|
2624
|
+
export type BasesRowsAddInput = {
|
|
2625
|
+
base: string;
|
|
2626
|
+
body?: string;
|
|
2627
|
+
bodyFile?: string;
|
|
2628
|
+
console?: string;
|
|
2629
|
+
idempotencyKey?: string;
|
|
2630
|
+
project?: string;
|
|
2631
|
+
set?: string[];
|
|
2632
|
+
values?: string;
|
|
2633
|
+
view?: string;
|
|
2634
|
+
};
|
|
2635
|
+
/** Return shape for `bases.rows.add`. */
|
|
2636
|
+
export type BasesRowsAddReturn = {
|
|
2637
|
+
baseRef: string;
|
|
2638
|
+
consoleUrl: string;
|
|
2639
|
+
idempotencyKey: string;
|
|
2640
|
+
idempotentReplay: boolean;
|
|
2641
|
+
projectRef: string;
|
|
2642
|
+
row: {
|
|
2643
|
+
archivedAt?: string | null;
|
|
2644
|
+
body?: string | null;
|
|
2645
|
+
rowId: string;
|
|
2646
|
+
values: Record<string, unknown>;
|
|
2647
|
+
version: number;
|
|
2648
|
+
};
|
|
2649
|
+
success: true;
|
|
2650
|
+
users: Record<string, {
|
|
2651
|
+
avatarUrl: string | null;
|
|
2652
|
+
displayName: string | null;
|
|
2653
|
+
id: string;
|
|
2654
|
+
}>;
|
|
2655
|
+
viewId: string | null;
|
|
2656
|
+
warnings?: string[];
|
|
2657
|
+
};
|
|
2658
|
+
/** Input shape for `bases.rows.archive`. */
|
|
2659
|
+
export type BasesRowsArchiveInput = {
|
|
2660
|
+
base: string;
|
|
2661
|
+
console?: string;
|
|
2662
|
+
expectedVersion?: string;
|
|
2663
|
+
lastWriteWins?: boolean;
|
|
2664
|
+
project?: string;
|
|
2665
|
+
row: string;
|
|
2666
|
+
view?: string;
|
|
2667
|
+
};
|
|
2668
|
+
/** Return shape for `bases.rows.archive`. */
|
|
2669
|
+
export type BasesRowsArchiveReturn = {
|
|
2670
|
+
baseRef: string;
|
|
2671
|
+
consoleUrl: string;
|
|
2672
|
+
idempotentReplay: boolean;
|
|
2673
|
+
projectRef: string;
|
|
2674
|
+
row: {
|
|
2675
|
+
archivedAt?: string | null;
|
|
2676
|
+
body?: string | null;
|
|
2677
|
+
rowId: string;
|
|
2678
|
+
values: Record<string, unknown>;
|
|
2679
|
+
version: number;
|
|
2680
|
+
};
|
|
2681
|
+
success: true;
|
|
2682
|
+
users: Record<string, {
|
|
2683
|
+
avatarUrl: string | null;
|
|
2684
|
+
displayName: string | null;
|
|
2685
|
+
id: string;
|
|
2686
|
+
}>;
|
|
2687
|
+
viewId: string | null;
|
|
2688
|
+
};
|
|
2689
|
+
/** Input shape for `bases.rows.export`. */
|
|
2690
|
+
export type BasesRowsExportInput = {
|
|
2691
|
+
base: string;
|
|
2692
|
+
console?: string;
|
|
2693
|
+
filter?: string;
|
|
2694
|
+
format?: string;
|
|
2695
|
+
includeBody?: boolean;
|
|
2696
|
+
maxRows?: string;
|
|
2697
|
+
out?: string;
|
|
2698
|
+
project?: string;
|
|
2699
|
+
sort?: string;
|
|
2700
|
+
view?: string;
|
|
2701
|
+
};
|
|
2702
|
+
/** Return shape for `bases.rows.export`. */
|
|
2703
|
+
export type BasesRowsExportReturn = {
|
|
2704
|
+
baseRef: string;
|
|
2705
|
+
columns: string[];
|
|
2706
|
+
consoleUrl: string;
|
|
2707
|
+
content: string | null;
|
|
2708
|
+
format: string;
|
|
2709
|
+
outFile: string | null;
|
|
2710
|
+
projectRef: string;
|
|
2711
|
+
rowCount: number;
|
|
2712
|
+
success: true;
|
|
2713
|
+
truncated: boolean;
|
|
2714
|
+
viewId: string | null;
|
|
2715
|
+
};
|
|
2716
|
+
/** Input shape for `bases.rows.get`. */
|
|
2717
|
+
export type BasesRowsGetInput = {
|
|
2718
|
+
base: string;
|
|
2719
|
+
console?: string;
|
|
2720
|
+
includeArchived?: boolean;
|
|
2721
|
+
project?: string;
|
|
2722
|
+
row: string;
|
|
2723
|
+
view?: string;
|
|
2724
|
+
};
|
|
2725
|
+
/** Return shape for `bases.rows.get`. */
|
|
2726
|
+
export type BasesRowsGetReturn = {
|
|
2727
|
+
baseRef: string;
|
|
2728
|
+
consoleUrl: string;
|
|
2729
|
+
projectRef: string;
|
|
2730
|
+
row: {
|
|
2731
|
+
archivedAt?: string | null;
|
|
2732
|
+
body?: string | null;
|
|
2733
|
+
rowId: string;
|
|
2734
|
+
values: Record<string, unknown>;
|
|
2735
|
+
version: number;
|
|
2736
|
+
};
|
|
2737
|
+
success: true;
|
|
2738
|
+
users: Record<string, {
|
|
2739
|
+
avatarUrl: string | null;
|
|
2740
|
+
displayName: string | null;
|
|
2741
|
+
id: string;
|
|
2742
|
+
}>;
|
|
2743
|
+
viewId: string | null;
|
|
2744
|
+
};
|
|
2745
|
+
/** Input shape for `bases.rows.history`. */
|
|
2746
|
+
export type BasesRowsHistoryInput = {
|
|
2747
|
+
base: string;
|
|
2748
|
+
console?: string;
|
|
2749
|
+
cursor?: string;
|
|
2750
|
+
limit?: string;
|
|
2751
|
+
project?: string;
|
|
2752
|
+
row: string;
|
|
2753
|
+
view?: string;
|
|
2754
|
+
};
|
|
2755
|
+
/** Return shape for `bases.rows.history`. */
|
|
2756
|
+
export type BasesRowsHistoryReturn = {
|
|
2757
|
+
baseRef: string;
|
|
2758
|
+
consoleUrl: string;
|
|
2759
|
+
entries: Array<{
|
|
2760
|
+
action: string;
|
|
2761
|
+
actorId: string | null;
|
|
2762
|
+
actorType: string | null;
|
|
2763
|
+
after: Record<string, unknown>;
|
|
2764
|
+
before: Record<string, unknown>;
|
|
2765
|
+
bodyChanged: boolean;
|
|
2766
|
+
changedKeys: string[];
|
|
2767
|
+
createdAt: string | null;
|
|
2768
|
+
id: string;
|
|
2769
|
+
lastWriteWins: boolean;
|
|
2770
|
+
rowId: string;
|
|
2771
|
+
sequence: number;
|
|
2772
|
+
surface: string | null;
|
|
2773
|
+
version: number;
|
|
2774
|
+
viewId: string | null;
|
|
2775
|
+
}>;
|
|
2776
|
+
nextCursor: string | null;
|
|
2777
|
+
pagination: {
|
|
2778
|
+
count: number;
|
|
2779
|
+
hasMore: boolean;
|
|
2780
|
+
limit: number;
|
|
2781
|
+
nextCommand: string | null;
|
|
2782
|
+
nextCursor: string | null;
|
|
2783
|
+
};
|
|
2784
|
+
projectRef: string;
|
|
2785
|
+
success: true;
|
|
2786
|
+
users: Record<string, {
|
|
2787
|
+
avatarUrl: string | null;
|
|
2788
|
+
displayName: string | null;
|
|
2789
|
+
id: string;
|
|
2790
|
+
}>;
|
|
2791
|
+
viewId: string | null;
|
|
2792
|
+
};
|
|
2793
|
+
/** Input shape for `bases.rows.import`. */
|
|
2794
|
+
export type BasesRowsImportInput = {
|
|
2795
|
+
base: string;
|
|
2796
|
+
batch?: string;
|
|
2797
|
+
console?: string;
|
|
2798
|
+
execute?: boolean;
|
|
2799
|
+
file: string;
|
|
2800
|
+
map?: string[];
|
|
2801
|
+
project?: string;
|
|
2802
|
+
};
|
|
2803
|
+
/** Return shape for `bases.rows.import`. */
|
|
2804
|
+
export type BasesRowsImportReturn = {
|
|
2805
|
+
baseRef: string;
|
|
2806
|
+
batchCount: number;
|
|
2807
|
+
batches: Array<{
|
|
2808
|
+
firstRowId: string | null;
|
|
2809
|
+
idempotencyKey: string;
|
|
2810
|
+
idempotentReplay: boolean;
|
|
2811
|
+
index: number;
|
|
2812
|
+
lastRowId: string | null;
|
|
2813
|
+
rowCount: number;
|
|
2814
|
+
}>;
|
|
2815
|
+
columns: Array<{
|
|
2816
|
+
column: string;
|
|
2817
|
+
key: string | null;
|
|
2818
|
+
reason?: string;
|
|
2819
|
+
skipped: boolean;
|
|
2820
|
+
type: string | null;
|
|
2821
|
+
}>;
|
|
2822
|
+
consoleUrl: string;
|
|
2823
|
+
created: number;
|
|
2824
|
+
emptyRowsSkipped: number;
|
|
2825
|
+
file: string;
|
|
2826
|
+
projectRef: string;
|
|
2827
|
+
rowCount: number;
|
|
2828
|
+
success: true;
|
|
2829
|
+
};
|
|
2830
|
+
/** Input shape for `bases.rows.purge`. */
|
|
2831
|
+
export type BasesRowsPurgeInput = {
|
|
2832
|
+
base: string;
|
|
2833
|
+
console?: string;
|
|
2834
|
+
execute?: boolean;
|
|
2835
|
+
project?: string;
|
|
2836
|
+
row: string;
|
|
2837
|
+
};
|
|
2838
|
+
/** Return shape for `bases.rows.purge`. */
|
|
2839
|
+
export type BasesRowsPurgeReturn = {
|
|
2840
|
+
baseRef: string;
|
|
2841
|
+
consoleUrl: string;
|
|
2842
|
+
projectRef: string;
|
|
2843
|
+
purged: boolean;
|
|
2844
|
+
rowId: string;
|
|
2845
|
+
success: true;
|
|
2846
|
+
};
|
|
2847
|
+
/** Input shape for `bases.rows.query`. */
|
|
2848
|
+
export type BasesRowsQueryInput = {
|
|
2849
|
+
all?: boolean;
|
|
2850
|
+
base: string;
|
|
2851
|
+
console?: string;
|
|
2852
|
+
cursor?: string;
|
|
2853
|
+
filter?: string;
|
|
2854
|
+
format?: string;
|
|
2855
|
+
includeArchived?: boolean;
|
|
2856
|
+
includeBody?: boolean;
|
|
2857
|
+
limit?: string;
|
|
2858
|
+
maxRows?: string;
|
|
2859
|
+
project?: string;
|
|
2860
|
+
sort?: string;
|
|
2861
|
+
view?: string;
|
|
2862
|
+
};
|
|
2863
|
+
/** Return shape for `bases.rows.query`. */
|
|
2864
|
+
export type BasesRowsQueryReturn = {
|
|
2865
|
+
baseRef: string;
|
|
2866
|
+
columns: string[];
|
|
2867
|
+
consoleUrl: string;
|
|
2868
|
+
nextCursor: string | null;
|
|
2869
|
+
pagination: {
|
|
2870
|
+
count: number;
|
|
2871
|
+
hasMore: boolean;
|
|
2872
|
+
limit: number;
|
|
2873
|
+
nextCommand: string | null;
|
|
2874
|
+
nextCursor: string | null;
|
|
2875
|
+
};
|
|
2876
|
+
projectRef: string;
|
|
2877
|
+
rows: Array<{
|
|
2878
|
+
archivedAt?: string | null;
|
|
2879
|
+
body?: string | null;
|
|
2880
|
+
rowId: string;
|
|
2881
|
+
values: Record<string, unknown>;
|
|
2882
|
+
version: number;
|
|
2883
|
+
}>;
|
|
2884
|
+
success: true;
|
|
2885
|
+
truncated: boolean;
|
|
2886
|
+
users: Record<string, {
|
|
2887
|
+
avatarUrl: string | null;
|
|
2888
|
+
displayName: string | null;
|
|
2889
|
+
id: string;
|
|
2890
|
+
}>;
|
|
2891
|
+
viewId: string | null;
|
|
2892
|
+
};
|
|
2893
|
+
/** Input shape for `bases.rows.restore`. */
|
|
2894
|
+
export type BasesRowsRestoreInput = {
|
|
2895
|
+
base: string;
|
|
2896
|
+
console?: string;
|
|
2897
|
+
expectedVersion?: string;
|
|
2898
|
+
lastWriteWins?: boolean;
|
|
2899
|
+
project?: string;
|
|
2900
|
+
row: string;
|
|
2901
|
+
};
|
|
2902
|
+
/** Return shape for `bases.rows.restore`. */
|
|
2903
|
+
export type BasesRowsRestoreReturn = {
|
|
2904
|
+
baseRef: string;
|
|
2905
|
+
consoleUrl: string;
|
|
2906
|
+
idempotentReplay: boolean;
|
|
2907
|
+
projectRef: string;
|
|
2908
|
+
row: {
|
|
2909
|
+
archivedAt?: string | null;
|
|
2910
|
+
body?: string | null;
|
|
2911
|
+
rowId: string;
|
|
2912
|
+
values: Record<string, unknown>;
|
|
2913
|
+
version: number;
|
|
2914
|
+
};
|
|
2915
|
+
success: true;
|
|
2916
|
+
users: Record<string, {
|
|
2917
|
+
avatarUrl: string | null;
|
|
2918
|
+
displayName: string | null;
|
|
2919
|
+
id: string;
|
|
2920
|
+
}>;
|
|
2921
|
+
viewId: string | null;
|
|
2922
|
+
};
|
|
2923
|
+
/** Input shape for `bases.rows.update`. */
|
|
2924
|
+
export type BasesRowsUpdateInput = {
|
|
2925
|
+
base: string;
|
|
2926
|
+
body?: string;
|
|
2927
|
+
bodyFile?: string;
|
|
2928
|
+
console?: string;
|
|
2929
|
+
expectedVersion?: string;
|
|
2930
|
+
idempotencyKey?: string;
|
|
2931
|
+
lastWriteWins?: boolean;
|
|
2932
|
+
project?: string;
|
|
2933
|
+
row: string;
|
|
2934
|
+
set?: string[];
|
|
2935
|
+
values?: string;
|
|
2936
|
+
view?: string;
|
|
2937
|
+
};
|
|
2938
|
+
/** Return shape for `bases.rows.update`. */
|
|
2939
|
+
export type BasesRowsUpdateReturn = {
|
|
2940
|
+
baseRef: string;
|
|
2941
|
+
consoleUrl: string;
|
|
2942
|
+
idempotencyKey: string;
|
|
2943
|
+
idempotentReplay: boolean;
|
|
2944
|
+
projectRef: string;
|
|
2945
|
+
row: {
|
|
2946
|
+
archivedAt?: string | null;
|
|
2947
|
+
body?: string | null;
|
|
2948
|
+
rowId: string;
|
|
2949
|
+
values: Record<string, unknown>;
|
|
2950
|
+
version: number;
|
|
2951
|
+
};
|
|
2952
|
+
success: true;
|
|
2953
|
+
users: Record<string, {
|
|
2954
|
+
avatarUrl: string | null;
|
|
2955
|
+
displayName: string | null;
|
|
2956
|
+
id: string;
|
|
2957
|
+
}>;
|
|
2958
|
+
viewId: string | null;
|
|
2959
|
+
warnings?: string[];
|
|
2960
|
+
};
|
|
2961
|
+
/** Input shape for `bases.show`. */
|
|
2962
|
+
export type BasesShowInput = {
|
|
2963
|
+
base: string;
|
|
2964
|
+
console?: string;
|
|
2965
|
+
project?: string;
|
|
2966
|
+
};
|
|
2967
|
+
/** Return shape for `bases.show`. */
|
|
2968
|
+
export type BasesShowReturn = {
|
|
2969
|
+
base: {
|
|
2970
|
+
capabilities: {
|
|
2971
|
+
manage: boolean;
|
|
2972
|
+
readDirect: boolean;
|
|
2973
|
+
writeDirect: boolean;
|
|
2974
|
+
};
|
|
2975
|
+
charts: Array<{
|
|
2976
|
+
baseId: string;
|
|
2977
|
+
createdAt?: string;
|
|
2978
|
+
description: string | null;
|
|
2979
|
+
id: string;
|
|
2980
|
+
name: string;
|
|
2981
|
+
position?: number;
|
|
2982
|
+
spec: Record<string, unknown>;
|
|
2983
|
+
status?: string;
|
|
2984
|
+
updatedAt?: string;
|
|
2985
|
+
version: number;
|
|
2986
|
+
viewId: string;
|
|
2987
|
+
}>;
|
|
2988
|
+
createdAt: string;
|
|
2989
|
+
description: string | null;
|
|
2990
|
+
icon: string | null;
|
|
2991
|
+
id: string;
|
|
2992
|
+
members: Array<{
|
|
2993
|
+
avatarUrl: string | null;
|
|
2994
|
+
displayName: string | null;
|
|
2995
|
+
id: string;
|
|
2996
|
+
}>;
|
|
2997
|
+
name: string;
|
|
2998
|
+
organizationId: string;
|
|
2999
|
+
projectId: string;
|
|
3000
|
+
properties: Array<{
|
|
3001
|
+
config: {
|
|
3002
|
+
currency?: string;
|
|
3003
|
+
format?: string;
|
|
3004
|
+
includeTime?: boolean;
|
|
3005
|
+
options?: Array<{
|
|
3006
|
+
archived?: boolean;
|
|
3007
|
+
color: string;
|
|
3008
|
+
group?: string;
|
|
3009
|
+
id: string;
|
|
3010
|
+
name: string;
|
|
3011
|
+
}>;
|
|
3012
|
+
precision?: number;
|
|
3013
|
+
};
|
|
3014
|
+
deletedAt: string | null;
|
|
3015
|
+
description: string | null;
|
|
3016
|
+
id: string;
|
|
3017
|
+
key: string;
|
|
3018
|
+
name: string;
|
|
3019
|
+
position: number;
|
|
3020
|
+
required: boolean;
|
|
3021
|
+
type: string;
|
|
3022
|
+
}>;
|
|
3023
|
+
rowCount: number | null;
|
|
3024
|
+
schemaVersion: number;
|
|
3025
|
+
slug: string;
|
|
3026
|
+
status: string;
|
|
3027
|
+
timezone: string;
|
|
3028
|
+
updatedAt: string;
|
|
3029
|
+
version: number;
|
|
3030
|
+
views: Array<({
|
|
3031
|
+
access: Record<string, unknown>;
|
|
3032
|
+
baseId: string;
|
|
3033
|
+
capabilities: {
|
|
3034
|
+
aggregateOnly: boolean;
|
|
3035
|
+
archive: boolean;
|
|
3036
|
+
create: boolean;
|
|
3037
|
+
manage: boolean;
|
|
3038
|
+
read: boolean;
|
|
3039
|
+
writeColumns: string[];
|
|
3040
|
+
};
|
|
3041
|
+
columns: string[];
|
|
3042
|
+
createdAt: string;
|
|
3043
|
+
description: string | null;
|
|
3044
|
+
id: string;
|
|
3045
|
+
invalidReason: string | null;
|
|
3046
|
+
layout: Record<string, unknown>;
|
|
3047
|
+
name: string;
|
|
3048
|
+
position: number;
|
|
3049
|
+
query: {
|
|
3050
|
+
filter: unknown | null;
|
|
3051
|
+
sort: Array<{
|
|
3052
|
+
dir: string;
|
|
3053
|
+
prop: string;
|
|
3054
|
+
}>;
|
|
3055
|
+
};
|
|
3056
|
+
status: string;
|
|
3057
|
+
updatedAt: string;
|
|
3058
|
+
valid: boolean;
|
|
3059
|
+
version: number;
|
|
3060
|
+
}) | ({
|
|
3061
|
+
baseId: string;
|
|
3062
|
+
capabilities: {
|
|
3063
|
+
aggregateOnly: boolean;
|
|
3064
|
+
archive: boolean;
|
|
3065
|
+
create: boolean;
|
|
3066
|
+
manage: boolean;
|
|
3067
|
+
read: boolean;
|
|
3068
|
+
writeColumns: string[];
|
|
3069
|
+
};
|
|
3070
|
+
columns: Array<{
|
|
3071
|
+
config: {
|
|
3072
|
+
currency?: string;
|
|
3073
|
+
format?: string;
|
|
3074
|
+
includeTime?: boolean;
|
|
3075
|
+
options?: Array<{
|
|
3076
|
+
archived?: boolean;
|
|
3077
|
+
color: string;
|
|
3078
|
+
group?: string;
|
|
3079
|
+
id: string;
|
|
3080
|
+
name: string;
|
|
3081
|
+
}>;
|
|
3082
|
+
precision?: number;
|
|
3083
|
+
};
|
|
3084
|
+
key: string;
|
|
3085
|
+
name: string;
|
|
3086
|
+
required: boolean;
|
|
3087
|
+
type: string;
|
|
3088
|
+
}>;
|
|
3089
|
+
description: string | null;
|
|
3090
|
+
id: string;
|
|
3091
|
+
layout: Record<string, unknown>;
|
|
3092
|
+
name: string;
|
|
3093
|
+
valid: boolean;
|
|
3094
|
+
version: number;
|
|
3095
|
+
})>;
|
|
3096
|
+
};
|
|
3097
|
+
consoleUrl: string;
|
|
3098
|
+
projectRef: string;
|
|
3099
|
+
success: true;
|
|
3100
|
+
};
|
|
3101
|
+
/** Input shape for `bases.subscribe`. */
|
|
3102
|
+
export type BasesSubscribeInput = {
|
|
3103
|
+
base: string;
|
|
3104
|
+
console?: string;
|
|
3105
|
+
project?: string;
|
|
3106
|
+
};
|
|
3107
|
+
/** Return shape for `bases.subscribe`. */
|
|
3108
|
+
export type BasesSubscribeReturn = {
|
|
3109
|
+
consoleUrl: string;
|
|
3110
|
+
delivery: {
|
|
3111
|
+
category: string;
|
|
3112
|
+
natsSubject: string;
|
|
3113
|
+
};
|
|
3114
|
+
projectRef: string;
|
|
3115
|
+
subscription: {
|
|
3116
|
+
baseId: string;
|
|
3117
|
+
createdAt: string;
|
|
3118
|
+
id: string;
|
|
3119
|
+
installationName: string | null;
|
|
3120
|
+
localInstallationId: string;
|
|
3121
|
+
revokedAt: string | null;
|
|
3122
|
+
status: string;
|
|
3123
|
+
userId: string;
|
|
3124
|
+
};
|
|
3125
|
+
success: true;
|
|
3126
|
+
};
|
|
3127
|
+
/** Input shape for `bases.subscriptions`. */
|
|
3128
|
+
export type BasesSubscriptionsInput = {
|
|
3129
|
+
base: string;
|
|
3130
|
+
console?: string;
|
|
3131
|
+
project?: string;
|
|
3132
|
+
};
|
|
3133
|
+
/** Return shape for `bases.subscriptions`. */
|
|
3134
|
+
export type BasesSubscriptionsReturn = {
|
|
3135
|
+
baseRef: string;
|
|
3136
|
+
consoleUrl: string;
|
|
3137
|
+
projectRef: string;
|
|
3138
|
+
subscriptions: Array<{
|
|
3139
|
+
baseId: string;
|
|
3140
|
+
createdAt: string;
|
|
3141
|
+
id: string;
|
|
3142
|
+
installationName: string | null;
|
|
3143
|
+
localInstallationId: string;
|
|
3144
|
+
revokedAt: string | null;
|
|
3145
|
+
status: string;
|
|
3146
|
+
userId: string;
|
|
3147
|
+
}>;
|
|
3148
|
+
success: true;
|
|
3149
|
+
};
|
|
3150
|
+
/** Input shape for `bases.unsubscribe`. */
|
|
3151
|
+
export type BasesUnsubscribeInput = {
|
|
3152
|
+
base: string;
|
|
3153
|
+
console?: string;
|
|
3154
|
+
project?: string;
|
|
3155
|
+
subscription: string;
|
|
3156
|
+
};
|
|
3157
|
+
/** Return shape for `bases.unsubscribe`. */
|
|
3158
|
+
export type BasesUnsubscribeReturn = {
|
|
3159
|
+
consoleUrl: string;
|
|
3160
|
+
projectRef: string;
|
|
3161
|
+
subscription: {
|
|
3162
|
+
baseId: string;
|
|
3163
|
+
createdAt: string;
|
|
3164
|
+
id: string;
|
|
3165
|
+
installationName: string | null;
|
|
3166
|
+
localInstallationId: string;
|
|
3167
|
+
revokedAt: string | null;
|
|
3168
|
+
status: string;
|
|
3169
|
+
userId: string;
|
|
3170
|
+
};
|
|
3171
|
+
success: true;
|
|
3172
|
+
};
|
|
3173
|
+
/** Input shape for `bases.update`. */
|
|
3174
|
+
export type BasesUpdateInput = {
|
|
3175
|
+
base: string;
|
|
3176
|
+
console?: string;
|
|
3177
|
+
description?: string;
|
|
3178
|
+
expectedVersion?: string;
|
|
3179
|
+
icon?: string;
|
|
3180
|
+
name?: string;
|
|
3181
|
+
project?: string;
|
|
3182
|
+
slug?: string;
|
|
3183
|
+
timezone?: string;
|
|
3184
|
+
};
|
|
3185
|
+
/** Return shape for `bases.update`. */
|
|
3186
|
+
export type BasesUpdateReturn = {
|
|
3187
|
+
base: {
|
|
3188
|
+
capabilities: {
|
|
3189
|
+
manage: boolean;
|
|
3190
|
+
readDirect: boolean;
|
|
3191
|
+
writeDirect: boolean;
|
|
3192
|
+
};
|
|
3193
|
+
createdAt: string;
|
|
3194
|
+
description: string | null;
|
|
3195
|
+
icon: string | null;
|
|
3196
|
+
id: string;
|
|
3197
|
+
name: string;
|
|
3198
|
+
organizationId: string;
|
|
3199
|
+
projectId: string;
|
|
3200
|
+
rowCount: number | null;
|
|
3201
|
+
schemaVersion: number;
|
|
3202
|
+
slug: string;
|
|
3203
|
+
status: string;
|
|
3204
|
+
timezone: string;
|
|
3205
|
+
updatedAt: string;
|
|
3206
|
+
version: number;
|
|
3207
|
+
};
|
|
3208
|
+
consoleUrl: string;
|
|
3209
|
+
projectRef: string;
|
|
3210
|
+
success: true;
|
|
3211
|
+
};
|
|
3212
|
+
/** Input shape for `bases.views.archive`. */
|
|
3213
|
+
export type BasesViewsArchiveInput = {
|
|
3214
|
+
base: string;
|
|
3215
|
+
console?: string;
|
|
3216
|
+
execute?: boolean;
|
|
3217
|
+
expectedVersion?: string;
|
|
3218
|
+
project?: string;
|
|
3219
|
+
view: string;
|
|
3220
|
+
};
|
|
3221
|
+
/** Return shape for `bases.views.archive`. */
|
|
3222
|
+
export type BasesViewsArchiveReturn = {
|
|
3223
|
+
baseRef: string;
|
|
3224
|
+
consoleUrl: string;
|
|
3225
|
+
projectRef: string;
|
|
3226
|
+
success: true;
|
|
3227
|
+
view: {
|
|
3228
|
+
access: Record<string, unknown>;
|
|
3229
|
+
baseId: string;
|
|
3230
|
+
capabilities: {
|
|
3231
|
+
aggregateOnly: boolean;
|
|
3232
|
+
archive: boolean;
|
|
3233
|
+
create: boolean;
|
|
3234
|
+
manage: boolean;
|
|
3235
|
+
read: boolean;
|
|
3236
|
+
writeColumns: string[];
|
|
3237
|
+
};
|
|
3238
|
+
columns: string[];
|
|
3239
|
+
createdAt: string;
|
|
3240
|
+
description: string | null;
|
|
3241
|
+
id: string;
|
|
3242
|
+
invalidReason: string | null;
|
|
3243
|
+
layout: Record<string, unknown>;
|
|
3244
|
+
name: string;
|
|
3245
|
+
position: number;
|
|
3246
|
+
query: {
|
|
3247
|
+
filter: unknown | null;
|
|
3248
|
+
sort: Array<{
|
|
3249
|
+
dir: string;
|
|
3250
|
+
prop: string;
|
|
3251
|
+
}>;
|
|
3252
|
+
};
|
|
3253
|
+
status: string;
|
|
3254
|
+
updatedAt: string;
|
|
3255
|
+
valid: boolean;
|
|
3256
|
+
version: number;
|
|
3257
|
+
};
|
|
3258
|
+
};
|
|
3259
|
+
/** Input shape for `bases.views.create`. */
|
|
3260
|
+
export type BasesViewsCreateInput = {
|
|
3261
|
+
base: string;
|
|
3262
|
+
console?: string;
|
|
3263
|
+
name?: string;
|
|
3264
|
+
project?: string;
|
|
3265
|
+
spec?: string;
|
|
3266
|
+
};
|
|
3267
|
+
/** Return shape for `bases.views.create`. */
|
|
3268
|
+
export type BasesViewsCreateReturn = {
|
|
3269
|
+
baseRef: string;
|
|
3270
|
+
consoleUrl: string;
|
|
3271
|
+
projectRef: string;
|
|
3272
|
+
success: true;
|
|
3273
|
+
view: {
|
|
3274
|
+
access: Record<string, unknown>;
|
|
3275
|
+
baseId: string;
|
|
3276
|
+
capabilities: {
|
|
3277
|
+
aggregateOnly: boolean;
|
|
3278
|
+
archive: boolean;
|
|
3279
|
+
create: boolean;
|
|
3280
|
+
manage: boolean;
|
|
3281
|
+
read: boolean;
|
|
3282
|
+
writeColumns: string[];
|
|
3283
|
+
};
|
|
3284
|
+
columns: string[];
|
|
3285
|
+
createdAt: string;
|
|
3286
|
+
description: string | null;
|
|
3287
|
+
id: string;
|
|
3288
|
+
invalidReason: string | null;
|
|
3289
|
+
layout: Record<string, unknown>;
|
|
3290
|
+
name: string;
|
|
3291
|
+
position: number;
|
|
3292
|
+
query: {
|
|
3293
|
+
filter: unknown | null;
|
|
3294
|
+
sort: Array<{
|
|
3295
|
+
dir: string;
|
|
3296
|
+
prop: string;
|
|
3297
|
+
}>;
|
|
3298
|
+
};
|
|
3299
|
+
status: string;
|
|
3300
|
+
updatedAt: string;
|
|
3301
|
+
valid: boolean;
|
|
3302
|
+
version: number;
|
|
3303
|
+
};
|
|
3304
|
+
};
|
|
3305
|
+
/** Input shape for `bases.views.list`. */
|
|
3306
|
+
export type BasesViewsListInput = {
|
|
3307
|
+
base: string;
|
|
3308
|
+
console?: string;
|
|
3309
|
+
fields?: string;
|
|
3310
|
+
limit?: string;
|
|
3311
|
+
offset?: string;
|
|
3312
|
+
project?: string;
|
|
3313
|
+
};
|
|
3314
|
+
/** Return shape for `bases.views.list`. */
|
|
3315
|
+
export type BasesViewsListReturn = {
|
|
3316
|
+
baseRef: string;
|
|
3317
|
+
consoleUrl: string;
|
|
3318
|
+
items: Array<({
|
|
3319
|
+
access?: Record<string, unknown>;
|
|
3320
|
+
baseId?: string;
|
|
3321
|
+
capabilities?: {
|
|
3322
|
+
aggregateOnly: boolean;
|
|
3323
|
+
archive: boolean;
|
|
3324
|
+
create: boolean;
|
|
3325
|
+
manage: boolean;
|
|
3326
|
+
read: boolean;
|
|
3327
|
+
writeColumns: string[];
|
|
3328
|
+
};
|
|
3329
|
+
columns?: string[];
|
|
3330
|
+
createdAt?: string;
|
|
3331
|
+
description?: string | null;
|
|
3332
|
+
id?: string;
|
|
3333
|
+
invalidReason?: string | null;
|
|
3334
|
+
layout?: Record<string, unknown>;
|
|
3335
|
+
name?: string;
|
|
3336
|
+
position?: number;
|
|
3337
|
+
query?: {
|
|
3338
|
+
filter: unknown | null;
|
|
3339
|
+
sort: Array<{
|
|
3340
|
+
dir: string;
|
|
3341
|
+
prop: string;
|
|
3342
|
+
}>;
|
|
3343
|
+
};
|
|
3344
|
+
status?: string;
|
|
3345
|
+
updatedAt?: string;
|
|
3346
|
+
valid?: boolean;
|
|
3347
|
+
version?: number;
|
|
3348
|
+
}) | ({
|
|
3349
|
+
baseId?: string;
|
|
3350
|
+
capabilities?: {
|
|
3351
|
+
aggregateOnly: boolean;
|
|
3352
|
+
archive: boolean;
|
|
3353
|
+
create: boolean;
|
|
3354
|
+
manage: boolean;
|
|
3355
|
+
read: boolean;
|
|
3356
|
+
writeColumns: string[];
|
|
3357
|
+
};
|
|
3358
|
+
columns?: Array<{
|
|
3359
|
+
config: {
|
|
3360
|
+
currency?: string;
|
|
3361
|
+
format?: string;
|
|
3362
|
+
includeTime?: boolean;
|
|
3363
|
+
options?: Array<{
|
|
3364
|
+
archived?: boolean;
|
|
3365
|
+
color: string;
|
|
3366
|
+
group?: string;
|
|
3367
|
+
id: string;
|
|
3368
|
+
name: string;
|
|
3369
|
+
}>;
|
|
3370
|
+
precision?: number;
|
|
3371
|
+
};
|
|
3372
|
+
key: string;
|
|
3373
|
+
name: string;
|
|
3374
|
+
required: boolean;
|
|
3375
|
+
type: string;
|
|
3376
|
+
}>;
|
|
3377
|
+
description?: string | null;
|
|
3378
|
+
id?: string;
|
|
3379
|
+
layout?: Record<string, unknown>;
|
|
3380
|
+
name?: string;
|
|
3381
|
+
valid?: boolean;
|
|
3382
|
+
version?: number;
|
|
3383
|
+
})>;
|
|
3384
|
+
pagination: {
|
|
3385
|
+
hasMore?: boolean;
|
|
3386
|
+
limit: number;
|
|
3387
|
+
nextCommand?: string | null;
|
|
3388
|
+
nextOffset?: number | null;
|
|
3389
|
+
offset: number;
|
|
3390
|
+
returned: number;
|
|
3391
|
+
total: number;
|
|
3392
|
+
};
|
|
3393
|
+
projectRef: string;
|
|
3394
|
+
success: true;
|
|
3395
|
+
total: number;
|
|
3396
|
+
views: Array<({
|
|
3397
|
+
access?: Record<string, unknown>;
|
|
3398
|
+
baseId?: string;
|
|
3399
|
+
capabilities?: {
|
|
3400
|
+
aggregateOnly: boolean;
|
|
3401
|
+
archive: boolean;
|
|
3402
|
+
create: boolean;
|
|
3403
|
+
manage: boolean;
|
|
3404
|
+
read: boolean;
|
|
3405
|
+
writeColumns: string[];
|
|
3406
|
+
};
|
|
3407
|
+
columns?: string[];
|
|
3408
|
+
createdAt?: string;
|
|
3409
|
+
description?: string | null;
|
|
3410
|
+
id?: string;
|
|
3411
|
+
invalidReason?: string | null;
|
|
3412
|
+
layout?: Record<string, unknown>;
|
|
3413
|
+
name?: string;
|
|
3414
|
+
position?: number;
|
|
3415
|
+
query?: {
|
|
3416
|
+
filter: unknown | null;
|
|
3417
|
+
sort: Array<{
|
|
3418
|
+
dir: string;
|
|
3419
|
+
prop: string;
|
|
3420
|
+
}>;
|
|
3421
|
+
};
|
|
3422
|
+
status?: string;
|
|
3423
|
+
updatedAt?: string;
|
|
3424
|
+
valid?: boolean;
|
|
3425
|
+
version?: number;
|
|
3426
|
+
}) | ({
|
|
3427
|
+
baseId?: string;
|
|
3428
|
+
capabilities?: {
|
|
3429
|
+
aggregateOnly: boolean;
|
|
3430
|
+
archive: boolean;
|
|
3431
|
+
create: boolean;
|
|
3432
|
+
manage: boolean;
|
|
3433
|
+
read: boolean;
|
|
3434
|
+
writeColumns: string[];
|
|
3435
|
+
};
|
|
3436
|
+
columns?: Array<{
|
|
3437
|
+
config: {
|
|
3438
|
+
currency?: string;
|
|
3439
|
+
format?: string;
|
|
3440
|
+
includeTime?: boolean;
|
|
3441
|
+
options?: Array<{
|
|
3442
|
+
archived?: boolean;
|
|
3443
|
+
color: string;
|
|
3444
|
+
group?: string;
|
|
3445
|
+
id: string;
|
|
3446
|
+
name: string;
|
|
3447
|
+
}>;
|
|
3448
|
+
precision?: number;
|
|
3449
|
+
};
|
|
3450
|
+
key: string;
|
|
3451
|
+
name: string;
|
|
3452
|
+
required: boolean;
|
|
3453
|
+
type: string;
|
|
3454
|
+
}>;
|
|
3455
|
+
description?: string | null;
|
|
3456
|
+
id?: string;
|
|
3457
|
+
layout?: Record<string, unknown>;
|
|
3458
|
+
name?: string;
|
|
3459
|
+
valid?: boolean;
|
|
3460
|
+
version?: number;
|
|
3461
|
+
})>;
|
|
3462
|
+
};
|
|
3463
|
+
/** Input shape for `bases.views.query`. */
|
|
3464
|
+
export type BasesViewsQueryInput = {
|
|
3465
|
+
all?: boolean;
|
|
3466
|
+
base: string;
|
|
3467
|
+
console?: string;
|
|
3468
|
+
cursor?: string;
|
|
3469
|
+
filter?: string;
|
|
1574
3470
|
format?: string;
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
speed?: string;
|
|
1582
|
-
text: string;
|
|
1583
|
-
voice?: string;
|
|
1584
|
-
voiceSettings?: string;
|
|
3471
|
+
includeBody?: boolean;
|
|
3472
|
+
limit?: string;
|
|
3473
|
+
maxRows?: string;
|
|
3474
|
+
project?: string;
|
|
3475
|
+
sort?: string;
|
|
3476
|
+
view: string;
|
|
1585
3477
|
};
|
|
1586
|
-
/** Return shape for `
|
|
1587
|
-
export type
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
3478
|
+
/** Return shape for `bases.views.query`. */
|
|
3479
|
+
export type BasesViewsQueryReturn = {
|
|
3480
|
+
baseRef: string;
|
|
3481
|
+
columns: string[];
|
|
3482
|
+
consoleUrl: string;
|
|
3483
|
+
nextCursor: string | null;
|
|
3484
|
+
pagination: {
|
|
3485
|
+
count: number;
|
|
3486
|
+
hasMore: boolean;
|
|
3487
|
+
limit: number;
|
|
3488
|
+
nextCommand: string | null;
|
|
3489
|
+
nextCursor: string | null;
|
|
3490
|
+
};
|
|
3491
|
+
projectRef: string;
|
|
3492
|
+
rows: Array<{
|
|
3493
|
+
archivedAt?: string | null;
|
|
3494
|
+
body?: string | null;
|
|
3495
|
+
rowId: string;
|
|
3496
|
+
values: Record<string, unknown>;
|
|
3497
|
+
version: number;
|
|
3498
|
+
}>;
|
|
3499
|
+
success: true;
|
|
3500
|
+
truncated: boolean;
|
|
3501
|
+
users: Record<string, {
|
|
3502
|
+
avatarUrl: string | null;
|
|
3503
|
+
displayName: string | null;
|
|
3504
|
+
id: string;
|
|
3505
|
+
}>;
|
|
3506
|
+
viewId: string | null;
|
|
3507
|
+
};
|
|
3508
|
+
/** Input shape for `bases.views.show`. */
|
|
3509
|
+
export type BasesViewsShowInput = {
|
|
3510
|
+
base: string;
|
|
3511
|
+
console?: string;
|
|
3512
|
+
project?: string;
|
|
3513
|
+
view: string;
|
|
3514
|
+
};
|
|
3515
|
+
/** Return shape for `bases.views.show`. */
|
|
3516
|
+
export type BasesViewsShowReturn = {
|
|
3517
|
+
baseRef: string;
|
|
3518
|
+
consoleUrl: string;
|
|
3519
|
+
projectRef: string;
|
|
3520
|
+
success: true;
|
|
3521
|
+
view: {
|
|
3522
|
+
baseId: string;
|
|
3523
|
+
capabilities: {
|
|
3524
|
+
aggregateOnly: boolean;
|
|
3525
|
+
archive: boolean;
|
|
3526
|
+
create: boolean;
|
|
3527
|
+
manage: boolean;
|
|
3528
|
+
read: boolean;
|
|
3529
|
+
writeColumns: string[];
|
|
1611
3530
|
};
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
usePvcAsIvc?: boolean;
|
|
3531
|
+
columns: Array<{
|
|
3532
|
+
config: {
|
|
3533
|
+
currency?: string;
|
|
3534
|
+
format?: string;
|
|
3535
|
+
includeTime?: boolean;
|
|
3536
|
+
options?: Array<{
|
|
3537
|
+
archived?: boolean;
|
|
3538
|
+
color: string;
|
|
3539
|
+
group?: string;
|
|
3540
|
+
id: string;
|
|
3541
|
+
name: string;
|
|
3542
|
+
}>;
|
|
3543
|
+
precision?: number;
|
|
1626
3544
|
};
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
3545
|
+
key: string;
|
|
3546
|
+
name: string;
|
|
3547
|
+
required: boolean;
|
|
3548
|
+
type: string;
|
|
3549
|
+
}>;
|
|
3550
|
+
description: string | null;
|
|
3551
|
+
id: string;
|
|
3552
|
+
layout: Record<string, unknown>;
|
|
3553
|
+
name: string;
|
|
3554
|
+
valid: boolean;
|
|
3555
|
+
version: number;
|
|
3556
|
+
view?: {
|
|
3557
|
+
access: Record<string, unknown>;
|
|
3558
|
+
baseId: string;
|
|
3559
|
+
capabilities: {
|
|
3560
|
+
aggregateOnly: boolean;
|
|
3561
|
+
archive: boolean;
|
|
3562
|
+
create: boolean;
|
|
3563
|
+
manage: boolean;
|
|
3564
|
+
read: boolean;
|
|
3565
|
+
writeColumns: string[];
|
|
3566
|
+
};
|
|
3567
|
+
columns: string[];
|
|
3568
|
+
createdAt: string;
|
|
3569
|
+
description: string | null;
|
|
3570
|
+
id: string;
|
|
3571
|
+
invalidReason: string | null;
|
|
3572
|
+
layout: Record<string, unknown>;
|
|
3573
|
+
name: string;
|
|
3574
|
+
position: number;
|
|
3575
|
+
query: {
|
|
3576
|
+
filter: unknown | null;
|
|
3577
|
+
sort: Array<{
|
|
3578
|
+
dir: string;
|
|
3579
|
+
prop: string;
|
|
3580
|
+
}>;
|
|
1638
3581
|
};
|
|
3582
|
+
status: string;
|
|
3583
|
+
updatedAt: string;
|
|
3584
|
+
valid: boolean;
|
|
3585
|
+
version: number;
|
|
1639
3586
|
};
|
|
1640
3587
|
};
|
|
1641
|
-
topic: "ravi.tts";
|
|
1642
3588
|
};
|
|
1643
|
-
/** Input shape for `
|
|
1644
|
-
export type
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
3589
|
+
/** Input shape for `bases.views.update`. */
|
|
3590
|
+
export type BasesViewsUpdateInput = {
|
|
3591
|
+
base: string;
|
|
3592
|
+
console?: string;
|
|
3593
|
+
expectedVersion?: string;
|
|
3594
|
+
name?: string;
|
|
3595
|
+
project?: string;
|
|
3596
|
+
spec?: string;
|
|
3597
|
+
view: string;
|
|
1650
3598
|
};
|
|
1651
|
-
/** Return shape for `
|
|
1652
|
-
export type
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
3599
|
+
/** Return shape for `bases.views.update`. */
|
|
3600
|
+
export type BasesViewsUpdateReturn = {
|
|
3601
|
+
baseRef: string;
|
|
3602
|
+
consoleUrl: string;
|
|
3603
|
+
projectRef: string;
|
|
3604
|
+
success: true;
|
|
3605
|
+
view: {
|
|
3606
|
+
access: Record<string, unknown>;
|
|
3607
|
+
baseId: string;
|
|
3608
|
+
capabilities: {
|
|
3609
|
+
aggregateOnly: boolean;
|
|
3610
|
+
archive: boolean;
|
|
3611
|
+
create: boolean;
|
|
3612
|
+
manage: boolean;
|
|
3613
|
+
read: boolean;
|
|
3614
|
+
writeColumns: string[];
|
|
3615
|
+
};
|
|
3616
|
+
columns: string[];
|
|
3617
|
+
createdAt: string;
|
|
3618
|
+
description: string | null;
|
|
3619
|
+
id: string;
|
|
3620
|
+
invalidReason: string | null;
|
|
3621
|
+
layout: Record<string, unknown>;
|
|
1666
3622
|
name: string;
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
3623
|
+
position: number;
|
|
3624
|
+
query: {
|
|
3625
|
+
filter: unknown | null;
|
|
3626
|
+
sort: Array<{
|
|
3627
|
+
dir: string;
|
|
3628
|
+
prop: string;
|
|
3629
|
+
}>;
|
|
3630
|
+
};
|
|
3631
|
+
status: string;
|
|
3632
|
+
updatedAt: string;
|
|
3633
|
+
valid: boolean;
|
|
3634
|
+
version: number;
|
|
3635
|
+
};
|
|
1676
3636
|
};
|
|
1677
3637
|
/** Input shape for `bridges.create`. */
|
|
1678
3638
|
export type BridgesCreateInput = {
|
|
@@ -1732,6 +3692,29 @@ export type BridgesRevokeReturn = {
|
|
|
1732
3692
|
revoked: boolean;
|
|
1733
3693
|
success: true;
|
|
1734
3694
|
};
|
|
3695
|
+
/** Input shape for `bug.comment`. */
|
|
3696
|
+
export type BugCommentInput = {
|
|
3697
|
+
console?: string;
|
|
3698
|
+
dossierFile?: string;
|
|
3699
|
+
dossierJson?: string;
|
|
3700
|
+
evidenceFile?: string;
|
|
3701
|
+
execute?: boolean;
|
|
3702
|
+
id: string;
|
|
3703
|
+
idempotencyKey?: string;
|
|
3704
|
+
text?: string;
|
|
3705
|
+
};
|
|
3706
|
+
/** Return shape for `bug.comment`. */
|
|
3707
|
+
export type BugCommentReturn = {
|
|
3708
|
+
bug: Record<string, unknown>;
|
|
3709
|
+
bugId: string;
|
|
3710
|
+
comment: Record<string, unknown>;
|
|
3711
|
+
consoleUrl: string;
|
|
3712
|
+
id: string;
|
|
3713
|
+
idempotencyKey: string;
|
|
3714
|
+
reused: boolean;
|
|
3715
|
+
success: true;
|
|
3716
|
+
url: string;
|
|
3717
|
+
};
|
|
1735
3718
|
/** Input shape for `bug.list`. */
|
|
1736
3719
|
export type BugListInput = {
|
|
1737
3720
|
console?: string;
|
|
@@ -2769,6 +4752,7 @@ export type ChannelsRestartReturn = {
|
|
|
2769
4752
|
action: string;
|
|
2770
4753
|
changed: boolean;
|
|
2771
4754
|
pm2Status?: number | null;
|
|
4755
|
+
previousPid?: number;
|
|
2772
4756
|
reason?: string;
|
|
2773
4757
|
runnerEnv?: {
|
|
2774
4758
|
consumeOutbound: string;
|
|
@@ -2896,6 +4880,7 @@ export type ChannelsStartReturn = {
|
|
|
2896
4880
|
action: string;
|
|
2897
4881
|
changed: boolean;
|
|
2898
4882
|
pm2Status?: number | null;
|
|
4883
|
+
previousPid?: number;
|
|
2899
4884
|
reason?: string;
|
|
2900
4885
|
runnerEnv?: {
|
|
2901
4886
|
consumeOutbound: string;
|
|
@@ -3059,6 +5044,7 @@ export type ChannelsStopReturn = {
|
|
|
3059
5044
|
action: string;
|
|
3060
5045
|
changed: boolean;
|
|
3061
5046
|
pm2Status?: number | null;
|
|
5047
|
+
previousPid?: number;
|
|
3062
5048
|
reason?: string;
|
|
3063
5049
|
runnerEnv?: {
|
|
3064
5050
|
consumeOutbound: string;
|
|
@@ -4038,7 +6024,9 @@ export type ContactsActivityReturn = Record<string, unknown>;
|
|
|
4038
6024
|
/** Input shape for `contacts.add`. */
|
|
4039
6025
|
export type ContactsAddInput = {
|
|
4040
6026
|
agent?: string;
|
|
6027
|
+
channel?: string;
|
|
4041
6028
|
identity: string;
|
|
6029
|
+
instance?: string;
|
|
4042
6030
|
kind?: string;
|
|
4043
6031
|
name?: string;
|
|
4044
6032
|
};
|
|
@@ -4384,8 +6372,10 @@ export type ContextCleanupAgentRuntimeReturn = {
|
|
|
4384
6372
|
sessionName: string | null;
|
|
4385
6373
|
source: ({
|
|
4386
6374
|
accountId: string;
|
|
6375
|
+
canonicalChatId?: string;
|
|
4387
6376
|
channel: string;
|
|
4388
6377
|
chatId: string;
|
|
6378
|
+
instanceId?: string;
|
|
4389
6379
|
threadId?: string;
|
|
4390
6380
|
}) | null;
|
|
4391
6381
|
status: "active" | "expired" | "revoked";
|
|
@@ -4400,7 +6390,9 @@ export type ContextCleanupAgentRuntimeReturn = {
|
|
|
4400
6390
|
};
|
|
4401
6391
|
};
|
|
4402
6392
|
/** Input shape for `context.codex-bash-hook`. */
|
|
4403
|
-
export type ContextCodexBashHookInput =
|
|
6393
|
+
export type ContextCodexBashHookInput = {
|
|
6394
|
+
payload?: string;
|
|
6395
|
+
};
|
|
4404
6396
|
/** Return shape for `context.codex-bash-hook`. */
|
|
4405
6397
|
export type ContextCodexBashHookReturn = {
|
|
4406
6398
|
hookSpecificOutput?: {
|
|
@@ -4519,8 +6511,10 @@ export type ContextInfoReturn = {
|
|
|
4519
6511
|
sessionName: string | null;
|
|
4520
6512
|
source: ({
|
|
4521
6513
|
accountId: string;
|
|
6514
|
+
canonicalChatId?: string;
|
|
4522
6515
|
channel: string;
|
|
4523
6516
|
chatId: string;
|
|
6517
|
+
instanceId?: string;
|
|
4524
6518
|
threadId?: string;
|
|
4525
6519
|
}) | null;
|
|
4526
6520
|
status: "active" | "expired" | "revoked";
|
|
@@ -4534,6 +6528,7 @@ export type ContextIssueInput = {
|
|
|
4534
6528
|
cliName: string;
|
|
4535
6529
|
inherit?: boolean;
|
|
4536
6530
|
ttl?: string;
|
|
6531
|
+
withSessionActor?: boolean;
|
|
4537
6532
|
};
|
|
4538
6533
|
/** Return shape for `context.issue`. */
|
|
4539
6534
|
export type ContextIssueReturn = {
|
|
@@ -4558,10 +6553,13 @@ export type ContextIssueReturn = {
|
|
|
4558
6553
|
sessionName: string | null;
|
|
4559
6554
|
source: ({
|
|
4560
6555
|
accountId: string;
|
|
6556
|
+
canonicalChatId?: string;
|
|
4561
6557
|
channel: string;
|
|
4562
6558
|
chatId: string;
|
|
6559
|
+
instanceId?: string;
|
|
4563
6560
|
threadId?: string;
|
|
4564
6561
|
}) | null;
|
|
6562
|
+
warnings?: string[];
|
|
4565
6563
|
};
|
|
4566
6564
|
/** Input shape for `context.lineage`. */
|
|
4567
6565
|
export type ContextLineageInput = {
|
|
@@ -4616,8 +6614,10 @@ export type ContextLineageReturn = {
|
|
|
4616
6614
|
sessionName: string | null;
|
|
4617
6615
|
source: ({
|
|
4618
6616
|
accountId: string;
|
|
6617
|
+
canonicalChatId?: string;
|
|
4619
6618
|
channel: string;
|
|
4620
6619
|
chatId: string;
|
|
6620
|
+
instanceId?: string;
|
|
4621
6621
|
threadId?: string;
|
|
4622
6622
|
}) | null;
|
|
4623
6623
|
status: "active" | "expired" | "revoked";
|
|
@@ -4764,8 +6764,10 @@ export type ContextRevokeReturn = {
|
|
|
4764
6764
|
sessionName: string | null;
|
|
4765
6765
|
source: ({
|
|
4766
6766
|
accountId: string;
|
|
6767
|
+
canonicalChatId?: string;
|
|
4767
6768
|
channel: string;
|
|
4768
6769
|
chatId: string;
|
|
6770
|
+
instanceId?: string;
|
|
4769
6771
|
threadId?: string;
|
|
4770
6772
|
}) | null;
|
|
4771
6773
|
status: "active" | "expired" | "revoked";
|
|
@@ -4791,8 +6793,13 @@ export type ContextVisibilityReturn = {
|
|
|
4791
6793
|
confidence: string;
|
|
4792
6794
|
evidence?: Array<{
|
|
4793
6795
|
detail?: string;
|
|
6796
|
+
eventId?: string;
|
|
6797
|
+
eventType?: string;
|
|
4794
6798
|
itemId?: string;
|
|
4795
6799
|
kind: string;
|
|
6800
|
+
observedAt?: number;
|
|
6801
|
+
path?: string;
|
|
6802
|
+
turnId?: string;
|
|
4796
6803
|
}>;
|
|
4797
6804
|
id: string;
|
|
4798
6805
|
lastSeenAt: number;
|
|
@@ -4841,8 +6848,10 @@ export type ContextWhoamiReturn = {
|
|
|
4841
6848
|
sessionName: string | null;
|
|
4842
6849
|
source: ({
|
|
4843
6850
|
accountId: string;
|
|
6851
|
+
canonicalChatId?: string;
|
|
4844
6852
|
channel: string;
|
|
4845
6853
|
chatId: string;
|
|
6854
|
+
instanceId?: string;
|
|
4846
6855
|
threadId?: string;
|
|
4847
6856
|
}) | null;
|
|
4848
6857
|
status: "active" | "expired" | "revoked";
|
|
@@ -7377,8 +9386,117 @@ export type InstancesTargetInput = {
|
|
|
7377
9386
|
name: string;
|
|
7378
9387
|
pattern?: string;
|
|
7379
9388
|
};
|
|
7380
|
-
/** Return shape for `instances.target`. */
|
|
7381
|
-
export type InstancesTargetReturn = Record<string, unknown>;
|
|
9389
|
+
/** Return shape for `instances.target`. */
|
|
9390
|
+
export type InstancesTargetReturn = Record<string, unknown>;
|
|
9391
|
+
/** Input shape for `jobs.kill`. */
|
|
9392
|
+
export type JobsKillInput = {
|
|
9393
|
+
id: string;
|
|
9394
|
+
};
|
|
9395
|
+
/** Return shape for `jobs.kill`. */
|
|
9396
|
+
export type JobsKillReturn = {
|
|
9397
|
+
id: string;
|
|
9398
|
+
killed: boolean;
|
|
9399
|
+
status: string;
|
|
9400
|
+
};
|
|
9401
|
+
/** Input shape for `jobs.list`. */
|
|
9402
|
+
export type JobsListInput = {
|
|
9403
|
+
all?: boolean;
|
|
9404
|
+
limit?: string;
|
|
9405
|
+
offset?: string;
|
|
9406
|
+
session?: string;
|
|
9407
|
+
};
|
|
9408
|
+
/** Return shape for `jobs.list`. */
|
|
9409
|
+
export type JobsListReturn = {
|
|
9410
|
+
items: Array<{
|
|
9411
|
+
agentId: string | null;
|
|
9412
|
+
command: string;
|
|
9413
|
+
cwd: string | null;
|
|
9414
|
+
exitCode: number | null;
|
|
9415
|
+
finishedAt: number | null;
|
|
9416
|
+
id: string;
|
|
9417
|
+
logPath: string;
|
|
9418
|
+
origin: string;
|
|
9419
|
+
pid: number | null;
|
|
9420
|
+
sessionName: string | null;
|
|
9421
|
+
signal: string | null;
|
|
9422
|
+
startedAt: number | null;
|
|
9423
|
+
status: string;
|
|
9424
|
+
}>;
|
|
9425
|
+
pagination: {
|
|
9426
|
+
hasMore: boolean;
|
|
9427
|
+
limit: number;
|
|
9428
|
+
nextCommand: string | null;
|
|
9429
|
+
nextOffset: number | null;
|
|
9430
|
+
offset: number;
|
|
9431
|
+
returned: number;
|
|
9432
|
+
total: number;
|
|
9433
|
+
};
|
|
9434
|
+
total: number;
|
|
9435
|
+
};
|
|
9436
|
+
/** Input shape for `jobs.run`. */
|
|
9437
|
+
export type JobsRunInput = {
|
|
9438
|
+
agent?: string;
|
|
9439
|
+
command: string[];
|
|
9440
|
+
cwd?: string;
|
|
9441
|
+
session?: string;
|
|
9442
|
+
wait?: boolean;
|
|
9443
|
+
};
|
|
9444
|
+
/** Return shape for `jobs.run`. */
|
|
9445
|
+
export type JobsRunReturn = {
|
|
9446
|
+
command: string;
|
|
9447
|
+
hint: string;
|
|
9448
|
+
id: string;
|
|
9449
|
+
logPath: string;
|
|
9450
|
+
sessionName: string | null;
|
|
9451
|
+
status: string;
|
|
9452
|
+
};
|
|
9453
|
+
/** Input shape for `jobs.show`. */
|
|
9454
|
+
export type JobsShowInput = {
|
|
9455
|
+
id: string;
|
|
9456
|
+
};
|
|
9457
|
+
/** Return shape for `jobs.show`. */
|
|
9458
|
+
export type JobsShowReturn = {
|
|
9459
|
+
job: {
|
|
9460
|
+
agentId: string | null;
|
|
9461
|
+
command: string;
|
|
9462
|
+
cwd: string | null;
|
|
9463
|
+
exitCode: number | null;
|
|
9464
|
+
finishedAt: number | null;
|
|
9465
|
+
id: string;
|
|
9466
|
+
logPath: string;
|
|
9467
|
+
origin: string;
|
|
9468
|
+
pid: number | null;
|
|
9469
|
+
sessionName: string | null;
|
|
9470
|
+
signal: string | null;
|
|
9471
|
+
startedAt: number | null;
|
|
9472
|
+
status: string;
|
|
9473
|
+
};
|
|
9474
|
+
};
|
|
9475
|
+
/** Input shape for `jobs.tail`. */
|
|
9476
|
+
export type JobsTailInput = {
|
|
9477
|
+
id: string;
|
|
9478
|
+
lines?: string;
|
|
9479
|
+
};
|
|
9480
|
+
/** Return shape for `jobs.tail`. */
|
|
9481
|
+
export type JobsTailReturn = {
|
|
9482
|
+
id: string;
|
|
9483
|
+
logPath: string;
|
|
9484
|
+
status: string;
|
|
9485
|
+
tail: string;
|
|
9486
|
+
};
|
|
9487
|
+
/** Input shape for `jobs.wait`. */
|
|
9488
|
+
export type JobsWaitInput = {
|
|
9489
|
+
id: string;
|
|
9490
|
+
timeout?: string;
|
|
9491
|
+
};
|
|
9492
|
+
/** Return shape for `jobs.wait`. */
|
|
9493
|
+
export type JobsWaitReturn = {
|
|
9494
|
+
exitCode: number | null;
|
|
9495
|
+
id: string;
|
|
9496
|
+
logPath: string;
|
|
9497
|
+
signal: string | null;
|
|
9498
|
+
status: string;
|
|
9499
|
+
};
|
|
7382
9500
|
/** Input shape for `mail.accounts.create`. */
|
|
7383
9501
|
export type MailAccountsCreateInput = {
|
|
7384
9502
|
credentialsRef?: string;
|
|
@@ -8854,6 +10972,83 @@ export type ObserversShowReturn = {
|
|
|
8854
10972
|
binding: Record<string, unknown>;
|
|
8855
10973
|
[k: string]: unknown;
|
|
8856
10974
|
};
|
|
10975
|
+
/** Input shape for `pages.assertion.audiences.list`. */
|
|
10976
|
+
export type PagesAssertionAudiencesListInput = {
|
|
10977
|
+
console?: string;
|
|
10978
|
+
limit?: string;
|
|
10979
|
+
offset?: string;
|
|
10980
|
+
project?: string;
|
|
10981
|
+
site?: string;
|
|
10982
|
+
};
|
|
10983
|
+
/** Return shape for `pages.assertion.audiences.list`. */
|
|
10984
|
+
export type PagesAssertionAudiencesListReturn = {
|
|
10985
|
+
audiences: Array<{
|
|
10986
|
+
aud: string;
|
|
10987
|
+
origins: string[];
|
|
10988
|
+
}>;
|
|
10989
|
+
consoleUrl: string;
|
|
10990
|
+
jwksUrl: string;
|
|
10991
|
+
pagination: {
|
|
10992
|
+
hasMore?: boolean;
|
|
10993
|
+
limit: number;
|
|
10994
|
+
nextCommand?: string | null;
|
|
10995
|
+
nextOffset?: number | null;
|
|
10996
|
+
offset: number;
|
|
10997
|
+
returned: number;
|
|
10998
|
+
total: number;
|
|
10999
|
+
};
|
|
11000
|
+
projectRef: string;
|
|
11001
|
+
siteRef: string;
|
|
11002
|
+
success: true;
|
|
11003
|
+
total: number;
|
|
11004
|
+
};
|
|
11005
|
+
/** Input shape for `pages.assertion.audiences.remove`. */
|
|
11006
|
+
export type PagesAssertionAudiencesRemoveInput = {
|
|
11007
|
+
aud?: string;
|
|
11008
|
+
console?: string;
|
|
11009
|
+
execute?: boolean;
|
|
11010
|
+
project?: string;
|
|
11011
|
+
site?: string;
|
|
11012
|
+
};
|
|
11013
|
+
/** Return shape for `pages.assertion.audiences.remove`. */
|
|
11014
|
+
export type PagesAssertionAudiencesRemoveReturn = {
|
|
11015
|
+
action: "remove" | "set";
|
|
11016
|
+
aud: string;
|
|
11017
|
+
audiences: Array<{
|
|
11018
|
+
aud: string;
|
|
11019
|
+
origins: string[];
|
|
11020
|
+
}>;
|
|
11021
|
+
consoleUrl: string;
|
|
11022
|
+
jwksUrl: string;
|
|
11023
|
+
origins: string[];
|
|
11024
|
+
projectRef: string;
|
|
11025
|
+
siteRef: string;
|
|
11026
|
+
success: true;
|
|
11027
|
+
};
|
|
11028
|
+
/** Input shape for `pages.assertion.audiences.set`. */
|
|
11029
|
+
export type PagesAssertionAudiencesSetInput = {
|
|
11030
|
+
aud?: string;
|
|
11031
|
+
console?: string;
|
|
11032
|
+
execute?: boolean;
|
|
11033
|
+
origin?: string[];
|
|
11034
|
+
project?: string;
|
|
11035
|
+
site?: string;
|
|
11036
|
+
};
|
|
11037
|
+
/** Return shape for `pages.assertion.audiences.set`. */
|
|
11038
|
+
export type PagesAssertionAudiencesSetReturn = {
|
|
11039
|
+
action: "remove" | "set";
|
|
11040
|
+
aud: string;
|
|
11041
|
+
audiences: Array<{
|
|
11042
|
+
aud: string;
|
|
11043
|
+
origins: string[];
|
|
11044
|
+
}>;
|
|
11045
|
+
consoleUrl: string;
|
|
11046
|
+
jwksUrl: string;
|
|
11047
|
+
origins: string[];
|
|
11048
|
+
projectRef: string;
|
|
11049
|
+
siteRef: string;
|
|
11050
|
+
success: true;
|
|
11051
|
+
};
|
|
8857
11052
|
/** Input shape for `pages.create`. */
|
|
8858
11053
|
export type PagesCreateInput = {
|
|
8859
11054
|
args: string[];
|
|
@@ -9056,20 +11251,38 @@ export type PagesShipInput = {
|
|
|
9056
11251
|
entrypoint?: string;
|
|
9057
11252
|
execute?: boolean;
|
|
9058
11253
|
html?: string;
|
|
11254
|
+
membersBestEffort?: boolean;
|
|
9059
11255
|
project?: string;
|
|
9060
11256
|
route?: string;
|
|
9061
11257
|
title?: string;
|
|
11258
|
+
uses?: string[];
|
|
9062
11259
|
visibility?: string;
|
|
9063
11260
|
};
|
|
9064
11261
|
/** Return shape for `pages.ship`. */
|
|
9065
11262
|
export type PagesShipReturn = {
|
|
9066
11263
|
artifactId: string | null;
|
|
11264
|
+
commentFollow: {
|
|
11265
|
+
agentId?: string;
|
|
11266
|
+
filter?: string;
|
|
11267
|
+
ok: boolean;
|
|
11268
|
+
orgId?: string | null;
|
|
11269
|
+
pageId?: string;
|
|
11270
|
+
projectId?: string | null;
|
|
11271
|
+
reused?: boolean;
|
|
11272
|
+
session: "main";
|
|
11273
|
+
skipped?: "missing_page" | "missing_creator" | "invalid_filter" | "unbound_agent";
|
|
11274
|
+
topic: string;
|
|
11275
|
+
triggerId?: string;
|
|
11276
|
+
warning?: string;
|
|
11277
|
+
};
|
|
9067
11278
|
route: string;
|
|
9068
11279
|
site: Record<string, unknown>;
|
|
9069
11280
|
slug: string;
|
|
9070
11281
|
success: true;
|
|
9071
11282
|
url: string | null;
|
|
11283
|
+
uses?: string[];
|
|
9072
11284
|
visibility: string;
|
|
11285
|
+
warnings?: string[];
|
|
9073
11286
|
};
|
|
9074
11287
|
/** Input shape for `pages.update`. */
|
|
9075
11288
|
export type PagesUpdateInput = {
|
|
@@ -9082,11 +11295,16 @@ export type PagesUpdateInput = {
|
|
|
9082
11295
|
/** Return shape for `pages.update`. */
|
|
9083
11296
|
export type PagesUpdateReturn = {
|
|
9084
11297
|
consoleUrl: string;
|
|
11298
|
+
defaultVisibility?: string | null;
|
|
9085
11299
|
edgeManifestRepair: unknown;
|
|
11300
|
+
effectiveVisibility?: string;
|
|
11301
|
+
path?: string;
|
|
9086
11302
|
projectRef: string;
|
|
11303
|
+
route?: Record<string, unknown>;
|
|
9087
11304
|
site: Record<string, unknown>;
|
|
9088
11305
|
siteRef: string;
|
|
9089
11306
|
success: true;
|
|
11307
|
+
target?: "site" | "route";
|
|
9090
11308
|
url: string | null;
|
|
9091
11309
|
};
|
|
9092
11310
|
/** Input shape for `pages.visibility`. */
|
|
@@ -9095,15 +11313,21 @@ export type PagesVisibilityInput = {
|
|
|
9095
11313
|
console?: string;
|
|
9096
11314
|
execute?: boolean;
|
|
9097
11315
|
project?: string;
|
|
11316
|
+
route?: string;
|
|
9098
11317
|
};
|
|
9099
11318
|
/** Return shape for `pages.visibility`. */
|
|
9100
11319
|
export type PagesVisibilityReturn = {
|
|
9101
11320
|
consoleUrl: string;
|
|
11321
|
+
defaultVisibility?: string | null;
|
|
9102
11322
|
edgeManifestRepair: unknown;
|
|
11323
|
+
effectiveVisibility?: string;
|
|
11324
|
+
path?: string;
|
|
9103
11325
|
projectRef: string;
|
|
11326
|
+
route?: Record<string, unknown>;
|
|
9104
11327
|
site: Record<string, unknown>;
|
|
9105
11328
|
siteRef: string;
|
|
9106
11329
|
success: true;
|
|
11330
|
+
target?: "site" | "route";
|
|
9107
11331
|
url: string | null;
|
|
9108
11332
|
};
|
|
9109
11333
|
/** Input shape for `permissions.allow`. */
|
|
@@ -9111,7 +11335,10 @@ export type PermissionsAllowInput = {
|
|
|
9111
11335
|
agent?: string;
|
|
9112
11336
|
apply?: boolean;
|
|
9113
11337
|
capabilities?: string;
|
|
11338
|
+
chat?: string;
|
|
11339
|
+
chatTag?: string;
|
|
9114
11340
|
description?: string;
|
|
11341
|
+
force?: boolean;
|
|
9115
11342
|
label?: string;
|
|
9116
11343
|
profile: string;
|
|
9117
11344
|
to?: string;
|
|
@@ -9125,8 +11352,22 @@ export type PermissionsAllowReturn = {
|
|
|
9125
11352
|
permission: string;
|
|
9126
11353
|
}>;
|
|
9127
11354
|
changedCount: number;
|
|
11355
|
+
confirmation: {
|
|
11356
|
+
action: "allow" | "deny" | "list";
|
|
11357
|
+
agents: string[];
|
|
11358
|
+
capabilities: string[];
|
|
11359
|
+
contacts: string[];
|
|
11360
|
+
dryRun: boolean;
|
|
11361
|
+
force: boolean;
|
|
11362
|
+
global: boolean;
|
|
11363
|
+
message: string;
|
|
11364
|
+
profile?: string;
|
|
11365
|
+
scopes: string[];
|
|
11366
|
+
};
|
|
9128
11367
|
description?: string;
|
|
9129
11368
|
dryRun: boolean;
|
|
11369
|
+
force: boolean;
|
|
11370
|
+
hints: string[];
|
|
9130
11371
|
label: string;
|
|
9131
11372
|
nextCommand?: string;
|
|
9132
11373
|
operations: Array<{
|
|
@@ -9137,6 +11378,18 @@ export type PermissionsAllowReturn = {
|
|
|
9137
11378
|
target?: string;
|
|
9138
11379
|
}>;
|
|
9139
11380
|
profile: string;
|
|
11381
|
+
scopes: Array<{
|
|
11382
|
+
channel?: string;
|
|
11383
|
+
chatId?: string;
|
|
11384
|
+
chatTag?: string;
|
|
11385
|
+
known?: boolean;
|
|
11386
|
+
label: string;
|
|
11387
|
+
requestedChatId?: string;
|
|
11388
|
+
taggedChatCount?: number;
|
|
11389
|
+
threadChatId?: string;
|
|
11390
|
+
title?: string;
|
|
11391
|
+
type: "chat" | "chat_tag" | "global";
|
|
11392
|
+
}>;
|
|
9140
11393
|
tagSlug: string;
|
|
9141
11394
|
targets: Array<{
|
|
9142
11395
|
id: string;
|
|
@@ -9179,12 +11432,15 @@ export type PermissionsCheckReturn = {
|
|
|
9179
11432
|
type: string;
|
|
9180
11433
|
};
|
|
9181
11434
|
};
|
|
11435
|
+
diagnosticNote?: string;
|
|
9182
11436
|
guidance?: {
|
|
9183
11437
|
breakGlass: string;
|
|
11438
|
+
candidateCapabilities?: string[];
|
|
9184
11439
|
canonicalCapability: string;
|
|
9185
11440
|
inspectCommands: string[];
|
|
9186
11441
|
nextSteps: string[];
|
|
9187
11442
|
preferredPath: {
|
|
11443
|
+
allowCommand?: string;
|
|
9188
11444
|
kind: string;
|
|
9189
11445
|
message: string;
|
|
9190
11446
|
suggestedTags: Array<{
|
|
@@ -9205,6 +11461,133 @@ export type PermissionsCheckReturn = {
|
|
|
9205
11461
|
scope: string;
|
|
9206
11462
|
};
|
|
9207
11463
|
};
|
|
11464
|
+
/** Input shape for `permissions.deny`. */
|
|
11465
|
+
export type PermissionsDenyInput = {
|
|
11466
|
+
apply?: boolean;
|
|
11467
|
+
chat?: string;
|
|
11468
|
+
chatTag?: string;
|
|
11469
|
+
force?: boolean;
|
|
11470
|
+
profile: string;
|
|
11471
|
+
to?: string;
|
|
11472
|
+
};
|
|
11473
|
+
/** Return shape for `permissions.deny`. */
|
|
11474
|
+
export type PermissionsDenyReturn = {
|
|
11475
|
+
capabilities: Array<{
|
|
11476
|
+
objectId: string;
|
|
11477
|
+
objectType: string;
|
|
11478
|
+
permission: string;
|
|
11479
|
+
}>;
|
|
11480
|
+
changedCount: number;
|
|
11481
|
+
confirmation: {
|
|
11482
|
+
action: "allow" | "deny" | "list";
|
|
11483
|
+
agents: string[];
|
|
11484
|
+
capabilities: string[];
|
|
11485
|
+
contacts: string[];
|
|
11486
|
+
dryRun: boolean;
|
|
11487
|
+
force: boolean;
|
|
11488
|
+
global: boolean;
|
|
11489
|
+
message: string;
|
|
11490
|
+
profile?: string;
|
|
11491
|
+
scopes: string[];
|
|
11492
|
+
};
|
|
11493
|
+
dryRun: boolean;
|
|
11494
|
+
force: boolean;
|
|
11495
|
+
hints: string[];
|
|
11496
|
+
nextCommand?: string;
|
|
11497
|
+
operations: Array<{
|
|
11498
|
+
capability?: string;
|
|
11499
|
+
kind: string;
|
|
11500
|
+
message: string;
|
|
11501
|
+
status: "planned" | "applied" | "unchanged";
|
|
11502
|
+
target?: string;
|
|
11503
|
+
}>;
|
|
11504
|
+
profile: string;
|
|
11505
|
+
scopes: Array<{
|
|
11506
|
+
channel?: string;
|
|
11507
|
+
chatId?: string;
|
|
11508
|
+
chatTag?: string;
|
|
11509
|
+
known?: boolean;
|
|
11510
|
+
label: string;
|
|
11511
|
+
requestedChatId?: string;
|
|
11512
|
+
taggedChatCount?: number;
|
|
11513
|
+
threadChatId?: string;
|
|
11514
|
+
title?: string;
|
|
11515
|
+
type: "chat" | "chat_tag" | "global";
|
|
11516
|
+
}>;
|
|
11517
|
+
tagSlug: string;
|
|
11518
|
+
targets: Array<{
|
|
11519
|
+
id: string;
|
|
11520
|
+
type: string;
|
|
11521
|
+
}>;
|
|
11522
|
+
};
|
|
11523
|
+
/** Input shape for `permissions.list`. */
|
|
11524
|
+
export type PermissionsListInput = {
|
|
11525
|
+
chat?: string;
|
|
11526
|
+
chatTag?: string;
|
|
11527
|
+
force?: boolean;
|
|
11528
|
+
limit?: string;
|
|
11529
|
+
offset?: string;
|
|
11530
|
+
profile?: string;
|
|
11531
|
+
to?: string;
|
|
11532
|
+
};
|
|
11533
|
+
/** Return shape for `permissions.list`. */
|
|
11534
|
+
export type PermissionsListReturn = {
|
|
11535
|
+
confirmation: {
|
|
11536
|
+
action: "allow" | "deny" | "list";
|
|
11537
|
+
agents: string[];
|
|
11538
|
+
capabilities: string[];
|
|
11539
|
+
contacts: string[];
|
|
11540
|
+
dryRun: boolean;
|
|
11541
|
+
force: boolean;
|
|
11542
|
+
global: boolean;
|
|
11543
|
+
message: string;
|
|
11544
|
+
profile?: string;
|
|
11545
|
+
scopes: string[];
|
|
11546
|
+
};
|
|
11547
|
+
force: boolean;
|
|
11548
|
+
grants: Array<{
|
|
11549
|
+
capabilities: string[];
|
|
11550
|
+
contact: string;
|
|
11551
|
+
profile: string;
|
|
11552
|
+
scope: string;
|
|
11553
|
+
scopeType: "chat" | "chat_tag" | "global";
|
|
11554
|
+
source: "contact-chat-grant" | "contact-tag";
|
|
11555
|
+
}>;
|
|
11556
|
+
hints: string[];
|
|
11557
|
+
overlays: Array<{
|
|
11558
|
+
capabilities: string[];
|
|
11559
|
+
chat: string;
|
|
11560
|
+
contact: string;
|
|
11561
|
+
eligible: boolean;
|
|
11562
|
+
governed: boolean;
|
|
11563
|
+
}>;
|
|
11564
|
+
pagination: {
|
|
11565
|
+
hasMore?: boolean;
|
|
11566
|
+
limit: number;
|
|
11567
|
+
nextCommand?: string | null;
|
|
11568
|
+
nextOffset?: number | null;
|
|
11569
|
+
offset: number;
|
|
11570
|
+
returned: number;
|
|
11571
|
+
total: number;
|
|
11572
|
+
};
|
|
11573
|
+
scopes: Array<{
|
|
11574
|
+
channel?: string;
|
|
11575
|
+
chatId?: string;
|
|
11576
|
+
chatTag?: string;
|
|
11577
|
+
known?: boolean;
|
|
11578
|
+
label: string;
|
|
11579
|
+
requestedChatId?: string;
|
|
11580
|
+
taggedChatCount?: number;
|
|
11581
|
+
threadChatId?: string;
|
|
11582
|
+
title?: string;
|
|
11583
|
+
type: "chat" | "chat_tag" | "global";
|
|
11584
|
+
}>;
|
|
11585
|
+
targets: Array<{
|
|
11586
|
+
id: string;
|
|
11587
|
+
type: string;
|
|
11588
|
+
}>;
|
|
11589
|
+
total: number;
|
|
11590
|
+
};
|
|
9208
11591
|
/** Input shape for `permissions.materialize`. */
|
|
9209
11592
|
export type PermissionsMaterializeInput = {
|
|
9210
11593
|
subjectId?: string;
|
|
@@ -9220,8 +11603,10 @@ export type PermissionsMaterializeReturn = {
|
|
|
9220
11603
|
}>;
|
|
9221
11604
|
guidance: {
|
|
9222
11605
|
breakGlass: string;
|
|
11606
|
+
chatOnly?: string;
|
|
9223
11607
|
recurringAccess: string;
|
|
9224
11608
|
};
|
|
11609
|
+
profile?: string;
|
|
9225
11610
|
subject: {
|
|
9226
11611
|
id: string;
|
|
9227
11612
|
type: string;
|
|
@@ -9231,7 +11616,10 @@ export type PermissionsMaterializeReturn = {
|
|
|
9231
11616
|
export type PermissionsResolveInput = {
|
|
9232
11617
|
apply?: boolean;
|
|
9233
11618
|
capabilities?: string;
|
|
11619
|
+
chat?: string;
|
|
11620
|
+
chatTag?: string;
|
|
9234
11621
|
denialId: string;
|
|
11622
|
+
force?: boolean;
|
|
9235
11623
|
profile?: string;
|
|
9236
11624
|
};
|
|
9237
11625
|
/** Return shape for `permissions.resolve`. */
|
|
@@ -9243,6 +11631,18 @@ export type PermissionsResolveReturn = {
|
|
|
9243
11631
|
permission: string;
|
|
9244
11632
|
}>;
|
|
9245
11633
|
changedCount: number;
|
|
11634
|
+
confirmation: {
|
|
11635
|
+
action: "allow" | "deny" | "list";
|
|
11636
|
+
agents: string[];
|
|
11637
|
+
capabilities: string[];
|
|
11638
|
+
contacts: string[];
|
|
11639
|
+
dryRun: boolean;
|
|
11640
|
+
force: boolean;
|
|
11641
|
+
global: boolean;
|
|
11642
|
+
message: string;
|
|
11643
|
+
profile?: string;
|
|
11644
|
+
scopes: string[];
|
|
11645
|
+
};
|
|
9246
11646
|
denial: {
|
|
9247
11647
|
agentId: string | null;
|
|
9248
11648
|
contextId: string | null;
|
|
@@ -9253,12 +11653,15 @@ export type PermissionsResolveReturn = {
|
|
|
9253
11653
|
};
|
|
9254
11654
|
description?: string;
|
|
9255
11655
|
dryRun: boolean;
|
|
11656
|
+
force: boolean;
|
|
9256
11657
|
guidance?: {
|
|
9257
11658
|
breakGlass: string;
|
|
11659
|
+
candidateCapabilities?: string[];
|
|
9258
11660
|
canonicalCapability: string;
|
|
9259
11661
|
inspectCommands: string[];
|
|
9260
11662
|
nextSteps: string[];
|
|
9261
11663
|
preferredPath: {
|
|
11664
|
+
allowCommand?: string;
|
|
9262
11665
|
kind: string;
|
|
9263
11666
|
message: string;
|
|
9264
11667
|
suggestedTags: Array<{
|
|
@@ -9278,6 +11681,7 @@ export type PermissionsResolveReturn = {
|
|
|
9278
11681
|
};
|
|
9279
11682
|
scope: string;
|
|
9280
11683
|
};
|
|
11684
|
+
hints: string[];
|
|
9281
11685
|
label: string;
|
|
9282
11686
|
nextCommand?: string;
|
|
9283
11687
|
operations: Array<{
|
|
@@ -9288,6 +11692,18 @@ export type PermissionsResolveReturn = {
|
|
|
9288
11692
|
target?: string;
|
|
9289
11693
|
}>;
|
|
9290
11694
|
profile: string;
|
|
11695
|
+
scopes: Array<{
|
|
11696
|
+
channel?: string;
|
|
11697
|
+
chatId?: string;
|
|
11698
|
+
chatTag?: string;
|
|
11699
|
+
known?: boolean;
|
|
11700
|
+
label: string;
|
|
11701
|
+
requestedChatId?: string;
|
|
11702
|
+
taggedChatCount?: number;
|
|
11703
|
+
threadChatId?: string;
|
|
11704
|
+
title?: string;
|
|
11705
|
+
type: "chat" | "chat_tag" | "global";
|
|
11706
|
+
}>;
|
|
9291
11707
|
tagSlug: string;
|
|
9292
11708
|
targets: Array<{
|
|
9293
11709
|
id: string;
|
|
@@ -10169,8 +12585,10 @@ export type RuntimeEnvGetInput = {
|
|
|
10169
12585
|
/** Return shape for `runtime.env.get`. */
|
|
10170
12586
|
export type RuntimeEnvGetReturn = {
|
|
10171
12587
|
key: string;
|
|
12588
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10172
12589
|
path: string;
|
|
10173
12590
|
present: boolean;
|
|
12591
|
+
processPresent: boolean;
|
|
10174
12592
|
redacted: boolean;
|
|
10175
12593
|
secret: boolean;
|
|
10176
12594
|
value: string | null;
|
|
@@ -10186,8 +12604,10 @@ export type RuntimeEnvSetReturn = {
|
|
|
10186
12604
|
action: "set" | "unset";
|
|
10187
12605
|
daemonReloadRequired: boolean;
|
|
10188
12606
|
key: string;
|
|
12607
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10189
12608
|
path: string;
|
|
10190
12609
|
present: boolean;
|
|
12610
|
+
processPresent: boolean;
|
|
10191
12611
|
redacted: boolean;
|
|
10192
12612
|
secret: boolean;
|
|
10193
12613
|
value: string | null;
|
|
@@ -10201,8 +12621,10 @@ export type RuntimeEnvUnsetReturn = {
|
|
|
10201
12621
|
action: "set" | "unset";
|
|
10202
12622
|
daemonReloadRequired: boolean;
|
|
10203
12623
|
key: string;
|
|
12624
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10204
12625
|
path: string;
|
|
10205
12626
|
present: boolean;
|
|
12627
|
+
processPresent: boolean;
|
|
10206
12628
|
redacted: boolean;
|
|
10207
12629
|
secret: boolean;
|
|
10208
12630
|
value: string | null;
|
|
@@ -10463,8 +12885,10 @@ export type RuntimeProvidersClaudeConfigureReturn = {
|
|
|
10463
12885
|
action: "set" | "unset";
|
|
10464
12886
|
daemonReloadRequired: boolean;
|
|
10465
12887
|
key: string;
|
|
12888
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10466
12889
|
path: string;
|
|
10467
12890
|
present: boolean;
|
|
12891
|
+
processPresent: boolean;
|
|
10468
12892
|
redacted: boolean;
|
|
10469
12893
|
secret: boolean;
|
|
10470
12894
|
value: string | null;
|
|
@@ -11777,12 +14201,107 @@ export type SessionsSetEffortReturn = {
|
|
|
11777
14201
|
export type SessionsSetModelInput = {
|
|
11778
14202
|
model: string;
|
|
11779
14203
|
nameOrKey: string;
|
|
14204
|
+
propagate?: boolean;
|
|
11780
14205
|
};
|
|
11781
14206
|
/** Return shape for `sessions.set-model`. */
|
|
11782
|
-
export type SessionsSetModelReturn =
|
|
14207
|
+
export type SessionsSetModelReturn = {
|
|
14208
|
+
action: "set-model";
|
|
14209
|
+
after: ({
|
|
14210
|
+
agentId: string;
|
|
14211
|
+
effectiveModel: string | null;
|
|
14212
|
+
effectiveProvider: string;
|
|
14213
|
+
effortOverride?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
14214
|
+
ephemeral: boolean;
|
|
14215
|
+
expiresAt: number | null;
|
|
14216
|
+
label: string;
|
|
14217
|
+
modelError: string | null;
|
|
14218
|
+
modelOverride?: string;
|
|
14219
|
+
modelPresetId: string | null;
|
|
14220
|
+
modelPresetVersion: number | null;
|
|
14221
|
+
modelSource: string | null;
|
|
14222
|
+
name?: string;
|
|
14223
|
+
providerSource: string;
|
|
14224
|
+
runtimeOptions: {
|
|
14225
|
+
effort: {
|
|
14226
|
+
source: "session_override" | "agent_default" | "global_default" | "runtime_default";
|
|
14227
|
+
value: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
14228
|
+
};
|
|
14229
|
+
model: {
|
|
14230
|
+
source: string | null;
|
|
14231
|
+
value: string | null;
|
|
14232
|
+
};
|
|
14233
|
+
provider: {
|
|
14234
|
+
source: string;
|
|
14235
|
+
value: string;
|
|
14236
|
+
};
|
|
14237
|
+
thinking: {
|
|
14238
|
+
source: string | null;
|
|
14239
|
+
value: string | null;
|
|
14240
|
+
};
|
|
14241
|
+
};
|
|
14242
|
+
sessionKey: string;
|
|
14243
|
+
}) | null;
|
|
14244
|
+
agentDefaultDiffers?: boolean;
|
|
14245
|
+
agentDefaultModel?: string | null;
|
|
14246
|
+
agentDefaultProvider?: string | null;
|
|
14247
|
+
before: {
|
|
14248
|
+
agentId: string;
|
|
14249
|
+
effectiveModel: string | null;
|
|
14250
|
+
effectiveProvider: string;
|
|
14251
|
+
effortOverride?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
14252
|
+
ephemeral: boolean;
|
|
14253
|
+
expiresAt: number | null;
|
|
14254
|
+
label: string;
|
|
14255
|
+
modelError: string | null;
|
|
14256
|
+
modelOverride?: string;
|
|
14257
|
+
modelPresetId: string | null;
|
|
14258
|
+
modelPresetVersion: number | null;
|
|
14259
|
+
modelSource: string | null;
|
|
14260
|
+
name?: string;
|
|
14261
|
+
providerSource: string;
|
|
14262
|
+
runtimeOptions: {
|
|
14263
|
+
effort: {
|
|
14264
|
+
source: "session_override" | "agent_default" | "global_default" | "runtime_default";
|
|
14265
|
+
value: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
|
|
14266
|
+
};
|
|
14267
|
+
model: {
|
|
14268
|
+
source: string | null;
|
|
14269
|
+
value: string | null;
|
|
14270
|
+
};
|
|
14271
|
+
provider: {
|
|
14272
|
+
source: string;
|
|
14273
|
+
value: string;
|
|
14274
|
+
};
|
|
14275
|
+
thinking: {
|
|
14276
|
+
source: string | null;
|
|
14277
|
+
value: string | null;
|
|
14278
|
+
};
|
|
14279
|
+
};
|
|
14280
|
+
sessionKey: string;
|
|
14281
|
+
};
|
|
14282
|
+
changed: boolean;
|
|
14283
|
+
effectiveModel: string;
|
|
14284
|
+
event?: Record<string, unknown>;
|
|
14285
|
+
hint?: string | null;
|
|
14286
|
+
modelOverride: string | null;
|
|
14287
|
+
notification?: Record<string, unknown>;
|
|
14288
|
+
propagateCommand?: string | null;
|
|
14289
|
+
propagated?: boolean;
|
|
14290
|
+
rematerializedSessions?: Array<{
|
|
14291
|
+
clearedProviderSession: boolean;
|
|
14292
|
+
previousRuntimeProvider: string | null;
|
|
14293
|
+
reasons: "stale_runtime_provider"[];
|
|
14294
|
+
runtimeProvider: string | null;
|
|
14295
|
+
sessionKey: string;
|
|
14296
|
+
sessionName: string;
|
|
14297
|
+
}>;
|
|
14298
|
+
sessionKey: string;
|
|
14299
|
+
sessionName: string | null;
|
|
14300
|
+
};
|
|
11783
14301
|
/** Input shape for `sessions.set-provider`. */
|
|
11784
14302
|
export type SessionsSetProviderInput = {
|
|
11785
14303
|
nameOrKey: string;
|
|
14304
|
+
propagate?: boolean;
|
|
11786
14305
|
provider: string;
|
|
11787
14306
|
};
|
|
11788
14307
|
/** Return shape for `sessions.set-provider`. */
|
|
@@ -11823,6 +14342,9 @@ export type SessionsSetProviderReturn = {
|
|
|
11823
14342
|
};
|
|
11824
14343
|
sessionKey: string;
|
|
11825
14344
|
}) | null;
|
|
14345
|
+
agentDefaultDiffers?: boolean;
|
|
14346
|
+
agentDefaultModel?: string | null;
|
|
14347
|
+
agentDefaultProvider?: string | null;
|
|
11826
14348
|
appliesOn: "next-turn-runtime-restart";
|
|
11827
14349
|
before: {
|
|
11828
14350
|
agentId: string;
|
|
@@ -11861,7 +14383,18 @@ export type SessionsSetProviderReturn = {
|
|
|
11861
14383
|
};
|
|
11862
14384
|
changed: boolean;
|
|
11863
14385
|
effectiveProvider: string;
|
|
14386
|
+
hint?: string | null;
|
|
14387
|
+
propagateCommand?: string | null;
|
|
14388
|
+
propagated?: boolean;
|
|
11864
14389
|
providerSource: string;
|
|
14390
|
+
rematerializedSessions?: Array<{
|
|
14391
|
+
clearedProviderSession: boolean;
|
|
14392
|
+
previousRuntimeProvider: string | null;
|
|
14393
|
+
reasons: "stale_runtime_provider"[];
|
|
14394
|
+
runtimeProvider: string | null;
|
|
14395
|
+
sessionKey: string;
|
|
14396
|
+
sessionName: string;
|
|
14397
|
+
}>;
|
|
11865
14398
|
runtimeProviderOverride: string | null;
|
|
11866
14399
|
sessionKey: string;
|
|
11867
14400
|
sessionName: string | null;
|
|
@@ -12432,12 +14965,19 @@ export type SkillsRevokeBatchReturn = {
|
|
|
12432
14965
|
};
|
|
12433
14966
|
/** Input shape for `skills.show`. */
|
|
12434
14967
|
export type SkillsShowInput = {
|
|
14968
|
+
file?: string;
|
|
12435
14969
|
installed?: boolean;
|
|
12436
14970
|
name: string;
|
|
14971
|
+
raw?: boolean;
|
|
12437
14972
|
source?: string;
|
|
12438
14973
|
};
|
|
12439
14974
|
/** Return shape for `skills.show`. */
|
|
12440
14975
|
export type SkillsShowReturn = {
|
|
14976
|
+
file?: {
|
|
14977
|
+
content: string;
|
|
14978
|
+
path: string;
|
|
14979
|
+
};
|
|
14980
|
+
files: string[];
|
|
12441
14981
|
skill: {
|
|
12442
14982
|
content: string;
|
|
12443
14983
|
description: string | null;
|
|
@@ -14417,6 +16957,7 @@ export type ToolsInvokeReturn = {
|
|
|
14417
16957
|
options: Array<Record<string, unknown>>;
|
|
14418
16958
|
scope?: string;
|
|
14419
16959
|
skillGate?: {
|
|
16960
|
+
ruleId?: string;
|
|
14420
16961
|
skill: string;
|
|
14421
16962
|
source: string;
|
|
14422
16963
|
};
|
|
@@ -14530,6 +17071,7 @@ export type ToolsTestReturn = {
|
|
|
14530
17071
|
options: Array<Record<string, unknown>>;
|
|
14531
17072
|
scope?: string;
|
|
14532
17073
|
skillGate?: {
|
|
17074
|
+
ruleId?: string;
|
|
14533
17075
|
skill: string;
|
|
14534
17076
|
source: string;
|
|
14535
17077
|
};
|