@ravi-os/sdk 0.260927.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 +377 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +352 -2
- package/dist/client.js.map +1 -1
- package/dist/schemas.d.ts +19997 -10799
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +15677 -4187
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +2239 -4
- 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" | "chat-only" | "full-access";
|
|
385
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
386
386
|
}) | null;
|
|
387
387
|
agent?: {
|
|
388
388
|
allowedSessions?: string[];
|
|
@@ -445,7 +445,7 @@ export type AgentsPermissionsReturn = {
|
|
|
445
445
|
permission?: string;
|
|
446
446
|
source?: string;
|
|
447
447
|
})>;
|
|
448
|
-
profile?: "bootstrap" | "chat-only" | "full-access";
|
|
448
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
449
449
|
}) | null;
|
|
450
450
|
breakGlassCommand?: string;
|
|
451
451
|
changed: boolean;
|
|
@@ -465,7 +465,7 @@ export type AgentsPermissionsReturn = {
|
|
|
465
465
|
permission?: string;
|
|
466
466
|
source?: string;
|
|
467
467
|
})>;
|
|
468
|
-
profile?: "bootstrap" | "chat-only" | "full-access";
|
|
468
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
469
469
|
}) | null;
|
|
470
470
|
};
|
|
471
471
|
/** Input shape for `agents.reset`. */
|
|
@@ -605,7 +605,7 @@ export type AgentsShowReturn = {
|
|
|
605
605
|
permission?: string;
|
|
606
606
|
source?: string;
|
|
607
607
|
})>;
|
|
608
|
-
profile?: "bootstrap" | "chat-only" | "full-access";
|
|
608
|
+
profile?: "bootstrap" | "chat-only" | "explicit-only" | "full-access";
|
|
609
609
|
}) | null;
|
|
610
610
|
};
|
|
611
611
|
/** Input shape for `agents.spec-mode`. */
|
|
@@ -1701,6 +1701,1939 @@ export type AudioVoicesReturn = {
|
|
|
1701
1701
|
voiceId: string;
|
|
1702
1702
|
}>;
|
|
1703
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;
|
|
3470
|
+
format?: string;
|
|
3471
|
+
includeBody?: boolean;
|
|
3472
|
+
limit?: string;
|
|
3473
|
+
maxRows?: string;
|
|
3474
|
+
project?: string;
|
|
3475
|
+
sort?: string;
|
|
3476
|
+
view: string;
|
|
3477
|
+
};
|
|
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[];
|
|
3530
|
+
};
|
|
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;
|
|
3544
|
+
};
|
|
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
|
+
}>;
|
|
3581
|
+
};
|
|
3582
|
+
status: string;
|
|
3583
|
+
updatedAt: string;
|
|
3584
|
+
valid: boolean;
|
|
3585
|
+
version: number;
|
|
3586
|
+
};
|
|
3587
|
+
};
|
|
3588
|
+
};
|
|
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;
|
|
3598
|
+
};
|
|
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>;
|
|
3622
|
+
name: string;
|
|
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
|
+
};
|
|
3636
|
+
};
|
|
1704
3637
|
/** Input shape for `bridges.create`. */
|
|
1705
3638
|
export type BridgesCreateInput = {
|
|
1706
3639
|
allow?: string;
|
|
@@ -2819,6 +4752,7 @@ export type ChannelsRestartReturn = {
|
|
|
2819
4752
|
action: string;
|
|
2820
4753
|
changed: boolean;
|
|
2821
4754
|
pm2Status?: number | null;
|
|
4755
|
+
previousPid?: number;
|
|
2822
4756
|
reason?: string;
|
|
2823
4757
|
runnerEnv?: {
|
|
2824
4758
|
consumeOutbound: string;
|
|
@@ -2946,6 +4880,7 @@ export type ChannelsStartReturn = {
|
|
|
2946
4880
|
action: string;
|
|
2947
4881
|
changed: boolean;
|
|
2948
4882
|
pm2Status?: number | null;
|
|
4883
|
+
previousPid?: number;
|
|
2949
4884
|
reason?: string;
|
|
2950
4885
|
runnerEnv?: {
|
|
2951
4886
|
consumeOutbound: string;
|
|
@@ -3109,6 +5044,7 @@ export type ChannelsStopReturn = {
|
|
|
3109
5044
|
action: string;
|
|
3110
5045
|
changed: boolean;
|
|
3111
5046
|
pm2Status?: number | null;
|
|
5047
|
+
previousPid?: number;
|
|
3112
5048
|
reason?: string;
|
|
3113
5049
|
runnerEnv?: {
|
|
3114
5050
|
consumeOutbound: string;
|
|
@@ -4592,6 +6528,7 @@ export type ContextIssueInput = {
|
|
|
4592
6528
|
cliName: string;
|
|
4593
6529
|
inherit?: boolean;
|
|
4594
6530
|
ttl?: string;
|
|
6531
|
+
withSessionActor?: boolean;
|
|
4595
6532
|
};
|
|
4596
6533
|
/** Return shape for `context.issue`. */
|
|
4597
6534
|
export type ContextIssueReturn = {
|
|
@@ -4622,6 +6559,7 @@ export type ContextIssueReturn = {
|
|
|
4622
6559
|
instanceId?: string;
|
|
4623
6560
|
threadId?: string;
|
|
4624
6561
|
}) | null;
|
|
6562
|
+
warnings?: string[];
|
|
4625
6563
|
};
|
|
4626
6564
|
/** Input shape for `context.lineage`. */
|
|
4627
6565
|
export type ContextLineageInput = {
|
|
@@ -9034,6 +10972,83 @@ export type ObserversShowReturn = {
|
|
|
9034
10972
|
binding: Record<string, unknown>;
|
|
9035
10973
|
[k: string]: unknown;
|
|
9036
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
|
+
};
|
|
9037
11052
|
/** Input shape for `pages.create`. */
|
|
9038
11053
|
export type PagesCreateInput = {
|
|
9039
11054
|
args: string[];
|
|
@@ -9236,20 +11251,38 @@ export type PagesShipInput = {
|
|
|
9236
11251
|
entrypoint?: string;
|
|
9237
11252
|
execute?: boolean;
|
|
9238
11253
|
html?: string;
|
|
11254
|
+
membersBestEffort?: boolean;
|
|
9239
11255
|
project?: string;
|
|
9240
11256
|
route?: string;
|
|
9241
11257
|
title?: string;
|
|
11258
|
+
uses?: string[];
|
|
9242
11259
|
visibility?: string;
|
|
9243
11260
|
};
|
|
9244
11261
|
/** Return shape for `pages.ship`. */
|
|
9245
11262
|
export type PagesShipReturn = {
|
|
9246
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
|
+
};
|
|
9247
11278
|
route: string;
|
|
9248
11279
|
site: Record<string, unknown>;
|
|
9249
11280
|
slug: string;
|
|
9250
11281
|
success: true;
|
|
9251
11282
|
url: string | null;
|
|
11283
|
+
uses?: string[];
|
|
9252
11284
|
visibility: string;
|
|
11285
|
+
warnings?: string[];
|
|
9253
11286
|
};
|
|
9254
11287
|
/** Input shape for `pages.update`. */
|
|
9255
11288
|
export type PagesUpdateInput = {
|
|
@@ -9302,7 +11335,10 @@ export type PermissionsAllowInput = {
|
|
|
9302
11335
|
agent?: string;
|
|
9303
11336
|
apply?: boolean;
|
|
9304
11337
|
capabilities?: string;
|
|
11338
|
+
chat?: string;
|
|
11339
|
+
chatTag?: string;
|
|
9305
11340
|
description?: string;
|
|
11341
|
+
force?: boolean;
|
|
9306
11342
|
label?: string;
|
|
9307
11343
|
profile: string;
|
|
9308
11344
|
to?: string;
|
|
@@ -9316,8 +11352,22 @@ export type PermissionsAllowReturn = {
|
|
|
9316
11352
|
permission: string;
|
|
9317
11353
|
}>;
|
|
9318
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
|
+
};
|
|
9319
11367
|
description?: string;
|
|
9320
11368
|
dryRun: boolean;
|
|
11369
|
+
force: boolean;
|
|
11370
|
+
hints: string[];
|
|
9321
11371
|
label: string;
|
|
9322
11372
|
nextCommand?: string;
|
|
9323
11373
|
operations: Array<{
|
|
@@ -9328,6 +11378,18 @@ export type PermissionsAllowReturn = {
|
|
|
9328
11378
|
target?: string;
|
|
9329
11379
|
}>;
|
|
9330
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
|
+
}>;
|
|
9331
11393
|
tagSlug: string;
|
|
9332
11394
|
targets: Array<{
|
|
9333
11395
|
id: string;
|
|
@@ -9399,6 +11461,133 @@ export type PermissionsCheckReturn = {
|
|
|
9399
11461
|
scope: string;
|
|
9400
11462
|
};
|
|
9401
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
|
+
};
|
|
9402
11591
|
/** Input shape for `permissions.materialize`. */
|
|
9403
11592
|
export type PermissionsMaterializeInput = {
|
|
9404
11593
|
subjectId?: string;
|
|
@@ -9427,7 +11616,10 @@ export type PermissionsMaterializeReturn = {
|
|
|
9427
11616
|
export type PermissionsResolveInput = {
|
|
9428
11617
|
apply?: boolean;
|
|
9429
11618
|
capabilities?: string;
|
|
11619
|
+
chat?: string;
|
|
11620
|
+
chatTag?: string;
|
|
9430
11621
|
denialId: string;
|
|
11622
|
+
force?: boolean;
|
|
9431
11623
|
profile?: string;
|
|
9432
11624
|
};
|
|
9433
11625
|
/** Return shape for `permissions.resolve`. */
|
|
@@ -9439,6 +11631,18 @@ export type PermissionsResolveReturn = {
|
|
|
9439
11631
|
permission: string;
|
|
9440
11632
|
}>;
|
|
9441
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
|
+
};
|
|
9442
11646
|
denial: {
|
|
9443
11647
|
agentId: string | null;
|
|
9444
11648
|
contextId: string | null;
|
|
@@ -9449,6 +11653,7 @@ export type PermissionsResolveReturn = {
|
|
|
9449
11653
|
};
|
|
9450
11654
|
description?: string;
|
|
9451
11655
|
dryRun: boolean;
|
|
11656
|
+
force: boolean;
|
|
9452
11657
|
guidance?: {
|
|
9453
11658
|
breakGlass: string;
|
|
9454
11659
|
candidateCapabilities?: string[];
|
|
@@ -9476,6 +11681,7 @@ export type PermissionsResolveReturn = {
|
|
|
9476
11681
|
};
|
|
9477
11682
|
scope: string;
|
|
9478
11683
|
};
|
|
11684
|
+
hints: string[];
|
|
9479
11685
|
label: string;
|
|
9480
11686
|
nextCommand?: string;
|
|
9481
11687
|
operations: Array<{
|
|
@@ -9486,6 +11692,18 @@ export type PermissionsResolveReturn = {
|
|
|
9486
11692
|
target?: string;
|
|
9487
11693
|
}>;
|
|
9488
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
|
+
}>;
|
|
9489
11707
|
tagSlug: string;
|
|
9490
11708
|
targets: Array<{
|
|
9491
11709
|
id: string;
|
|
@@ -10367,8 +12585,10 @@ export type RuntimeEnvGetInput = {
|
|
|
10367
12585
|
/** Return shape for `runtime.env.get`. */
|
|
10368
12586
|
export type RuntimeEnvGetReturn = {
|
|
10369
12587
|
key: string;
|
|
12588
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10370
12589
|
path: string;
|
|
10371
12590
|
present: boolean;
|
|
12591
|
+
processPresent: boolean;
|
|
10372
12592
|
redacted: boolean;
|
|
10373
12593
|
secret: boolean;
|
|
10374
12594
|
value: string | null;
|
|
@@ -10384,8 +12604,10 @@ export type RuntimeEnvSetReturn = {
|
|
|
10384
12604
|
action: "set" | "unset";
|
|
10385
12605
|
daemonReloadRequired: boolean;
|
|
10386
12606
|
key: string;
|
|
12607
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10387
12608
|
path: string;
|
|
10388
12609
|
present: boolean;
|
|
12610
|
+
processPresent: boolean;
|
|
10389
12611
|
redacted: boolean;
|
|
10390
12612
|
secret: boolean;
|
|
10391
12613
|
value: string | null;
|
|
@@ -10399,8 +12621,10 @@ export type RuntimeEnvUnsetReturn = {
|
|
|
10399
12621
|
action: "set" | "unset";
|
|
10400
12622
|
daemonReloadRequired: boolean;
|
|
10401
12623
|
key: string;
|
|
12624
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10402
12625
|
path: string;
|
|
10403
12626
|
present: boolean;
|
|
12627
|
+
processPresent: boolean;
|
|
10404
12628
|
redacted: boolean;
|
|
10405
12629
|
secret: boolean;
|
|
10406
12630
|
value: string | null;
|
|
@@ -10661,8 +12885,10 @@ export type RuntimeProvidersClaudeConfigureReturn = {
|
|
|
10661
12885
|
action: "set" | "unset";
|
|
10662
12886
|
daemonReloadRequired: boolean;
|
|
10663
12887
|
key: string;
|
|
12888
|
+
origin: "file" | "process" | "file+process" | "absent";
|
|
10664
12889
|
path: string;
|
|
10665
12890
|
present: boolean;
|
|
12891
|
+
processPresent: boolean;
|
|
10666
12892
|
redacted: boolean;
|
|
10667
12893
|
secret: boolean;
|
|
10668
12894
|
value: string | null;
|
|
@@ -12739,12 +14965,19 @@ export type SkillsRevokeBatchReturn = {
|
|
|
12739
14965
|
};
|
|
12740
14966
|
/** Input shape for `skills.show`. */
|
|
12741
14967
|
export type SkillsShowInput = {
|
|
14968
|
+
file?: string;
|
|
12742
14969
|
installed?: boolean;
|
|
12743
14970
|
name: string;
|
|
14971
|
+
raw?: boolean;
|
|
12744
14972
|
source?: string;
|
|
12745
14973
|
};
|
|
12746
14974
|
/** Return shape for `skills.show`. */
|
|
12747
14975
|
export type SkillsShowReturn = {
|
|
14976
|
+
file?: {
|
|
14977
|
+
content: string;
|
|
14978
|
+
path: string;
|
|
14979
|
+
};
|
|
14980
|
+
files: string[];
|
|
12748
14981
|
skill: {
|
|
12749
14982
|
content: string;
|
|
12750
14983
|
description: string | null;
|
|
@@ -14724,6 +16957,7 @@ export type ToolsInvokeReturn = {
|
|
|
14724
16957
|
options: Array<Record<string, unknown>>;
|
|
14725
16958
|
scope?: string;
|
|
14726
16959
|
skillGate?: {
|
|
16960
|
+
ruleId?: string;
|
|
14727
16961
|
skill: string;
|
|
14728
16962
|
source: string;
|
|
14729
16963
|
};
|
|
@@ -14837,6 +17071,7 @@ export type ToolsTestReturn = {
|
|
|
14837
17071
|
options: Array<Record<string, unknown>>;
|
|
14838
17072
|
scope?: string;
|
|
14839
17073
|
skillGate?: {
|
|
17074
|
+
ruleId?: string;
|
|
14840
17075
|
skill: string;
|
|
14841
17076
|
source: string;
|
|
14842
17077
|
};
|