@botpress/api 1.47.0 → 1.48.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.
@@ -1,5 +1,5 @@
1
1
  import * as opapi from '@bpinternal/opapi';
2
- export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
2
+ export type State = opapi.State<'File', never, 'files'>;
3
3
  export declare const state: {
4
4
  operations: {
5
5
  upsertFile: {
@@ -1594,2915 +1594,50 @@ export declare const state: {
1594
1594
  type: string;
1595
1595
  description: string;
1596
1596
  } | {
1597
- status: 429;
1598
- type: string;
1599
- description: string;
1600
- } | {
1601
- status: 402;
1602
- type: string;
1603
- description: string;
1604
- })[];
1605
- refs: {
1606
- parameters: {};
1607
- requestBodies: {
1608
- upsertFileBody: true;
1609
- updateFileMetadataBody: true;
1610
- copyFileBody: true;
1611
- setFilePassagesBody: true;
1612
- createKnowledgeBaseBody: true;
1613
- updateKnowledgeBaseBody: true;
1614
- };
1615
- responses: {
1616
- upsertFileResponse: true;
1617
- deleteFileResponse: true;
1618
- listFilesResponse: true;
1619
- getFileResponse: true;
1620
- updateFileMetadataResponse: true;
1621
- copyFileResponse: true;
1622
- searchFilesResponse: true;
1623
- listFilePassagesResponse: true;
1624
- setFilePassagesResponse: true;
1625
- listFileTagsResponse: true;
1626
- listFileTagValuesResponse: true;
1627
- createKnowledgeBaseResponse: true;
1628
- deleteKnowledgeBaseResponse: true;
1629
- updateKnowledgeBaseResponse: true;
1630
- listKnowledgeBasesResponse: true;
1631
- };
1632
- schemas: {
1633
- Bot: true;
1634
- Integration: true;
1635
- Interface: true;
1636
- Plugin: true;
1637
- Workspace: true;
1638
- WorkspaceMember: true;
1639
- Account: true;
1640
- Usage: true;
1641
- Issue: true;
1642
- IssueEvent: true;
1643
- Activity: true;
1644
- Version: true;
1645
- User: true;
1646
- Conversation: true;
1647
- Event: true;
1648
- Message: true;
1649
- State: true;
1650
- Task: true;
1651
- Workflow: true;
1652
- Table: true;
1653
- Column: true;
1654
- Row: true;
1655
- File: true;
1656
- };
1657
- };
1658
- schemas: {
1659
- Bot: {
1660
- section: "bot";
1661
- schema: {
1662
- type: "object";
1663
- properties: {
1664
- id: {
1665
- type: "string";
1666
- minLength: number;
1667
- maxLength: number;
1668
- description: string;
1669
- };
1670
- createdAt: {
1671
- type: "string";
1672
- format: string;
1673
- description: string;
1674
- };
1675
- updatedAt: {
1676
- type: "string";
1677
- format: string;
1678
- description: string;
1679
- };
1680
- signingSecret: {
1681
- type: "string";
1682
- maxLength: number;
1683
- description: string;
1684
- };
1685
- integrations: {
1686
- type: "object";
1687
- additionalProperties: {
1688
- type: "object";
1689
- properties: {
1690
- enabled: {
1691
- type: "boolean";
1692
- };
1693
- name: {
1694
- type: "string";
1695
- maxLength: number;
1696
- description: string;
1697
- };
1698
- version: {
1699
- type: "string";
1700
- maxLength: number;
1701
- description: string;
1702
- };
1703
- webhookUrl: {
1704
- type: "string";
1705
- maxLength: number;
1706
- };
1707
- webhookId: {
1708
- type: "string";
1709
- maxLength: number;
1710
- };
1711
- identifier: {
1712
- type: "string";
1713
- maxLength: number;
1714
- };
1715
- configurationType: {
1716
- type: "string";
1717
- maxLength: number;
1718
- nullable: true;
1719
- };
1720
- configuration: {
1721
- type: "object";
1722
- additionalProperties: true;
1723
- };
1724
- status: {
1725
- type: "string";
1726
- enum: string[];
1727
- };
1728
- statusReason: {
1729
- type: "string";
1730
- maxLength: number;
1731
- nullable: true;
1732
- };
1733
- disabledChannels: {
1734
- type: "array";
1735
- items: {
1736
- type: "string";
1737
- description: string;
1738
- };
1739
- description: string;
1740
- };
1741
- id: {
1742
- type: "string";
1743
- minLength: number;
1744
- maxLength: number;
1745
- description: string;
1746
- };
1747
- createdAt: {
1748
- type: "string";
1749
- format: string;
1750
- description: string;
1751
- };
1752
- updatedAt: {
1753
- type: "string";
1754
- format: string;
1755
- description: string;
1756
- };
1757
- title: {
1758
- type: "string";
1759
- minLength: number;
1760
- maxLength: number;
1761
- description: string;
1762
- };
1763
- description: {
1764
- type: "string";
1765
- maxLength: number;
1766
- description: string;
1767
- };
1768
- iconUrl: {
1769
- type: "string";
1770
- description: string;
1771
- };
1772
- public: {
1773
- type: "boolean";
1774
- description: string;
1775
- deprecated: true;
1776
- };
1777
- visibility: {
1778
- type: "string";
1779
- enum: string[];
1780
- description: string;
1781
- };
1782
- verificationStatus: {
1783
- type: "string";
1784
- enum: string[];
1785
- description: string;
1786
- };
1787
- };
1788
- required: string[];
1789
- additionalProperties: false;
1790
- };
1791
- description: string;
1792
- };
1793
- plugins: {
1794
- type: "object";
1795
- additionalProperties: {
1796
- type: "object";
1797
- properties: {
1798
- enabled: {
1799
- type: "boolean";
1800
- };
1801
- name: {
1802
- type: "string";
1803
- maxLength: number;
1804
- description: string;
1805
- };
1806
- version: {
1807
- type: "string";
1808
- maxLength: number;
1809
- description: string;
1810
- };
1811
- configuration: {
1812
- type: "object";
1813
- additionalProperties: true;
1814
- };
1815
- interfaces: {
1816
- type: "object";
1817
- additionalProperties: {
1818
- type: "object";
1819
- properties: {
1820
- integrationId: {
1821
- type: "string";
1822
- minLength: number;
1823
- maxLength: number;
1824
- };
1825
- integrationAlias: {
1826
- type: "string";
1827
- maxLength: number;
1828
- };
1829
- integrationInterfaceAlias: {
1830
- type: "string";
1831
- maxLength: number;
1832
- };
1833
- interfaceId: {
1834
- type: "string";
1835
- minLength: number;
1836
- maxLength: number;
1837
- };
1838
- };
1839
- required: string[];
1840
- additionalProperties: false;
1841
- };
1842
- description: string;
1843
- };
1844
- integrations: {
1845
- type: "object";
1846
- additionalProperties: {
1847
- type: "object";
1848
- properties: {
1849
- integrationId: {
1850
- type: "string";
1851
- minLength: number;
1852
- maxLength: number;
1853
- };
1854
- integrationAlias: {
1855
- type: "string";
1856
- maxLength: number;
1857
- };
1858
- };
1859
- required: string[];
1860
- additionalProperties: false;
1861
- };
1862
- description: string;
1863
- };
1864
- id: {
1865
- type: "string";
1866
- minLength: number;
1867
- maxLength: number;
1868
- description: string;
1869
- };
1870
- createdAt: {
1871
- type: "string";
1872
- format: string;
1873
- description: string;
1874
- };
1875
- updatedAt: {
1876
- type: "string";
1877
- format: string;
1878
- description: string;
1879
- };
1880
- title: {
1881
- type: "string";
1882
- minLength: number;
1883
- maxLength: number;
1884
- description: string;
1885
- };
1886
- description: {
1887
- type: "string";
1888
- maxLength: number;
1889
- description: string;
1890
- };
1891
- iconUrl: {
1892
- type: "string";
1893
- description: string;
1894
- };
1895
- readmeUrl: {
1896
- type: "string";
1897
- description: string;
1898
- };
1899
- public: {
1900
- type: "boolean";
1901
- description: string;
1902
- };
1903
- };
1904
- required: string[];
1905
- additionalProperties: false;
1906
- };
1907
- description: string;
1908
- };
1909
- maxExecutionTime: {
1910
- type: "number";
1911
- description: string;
1912
- };
1913
- user: {
1914
- type: "object";
1915
- properties: {
1916
- tags: {
1917
- type: "object";
1918
- additionalProperties: {
1919
- type: "object";
1920
- properties: {
1921
- title: {
1922
- type: "string";
1923
- maxLength: number;
1924
- description: string;
1925
- };
1926
- description: {
1927
- type: "string";
1928
- maxLength: number;
1929
- description: string;
1930
- };
1931
- };
1932
- description: string;
1933
- additionalProperties: false;
1934
- };
1935
- };
1936
- };
1937
- required: string[];
1938
- description: string;
1939
- additionalProperties: false;
1940
- };
1941
- conversation: {
1942
- type: "object";
1943
- properties: {
1944
- tags: {
1945
- type: "object";
1946
- additionalProperties: {
1947
- type: "object";
1948
- properties: {
1949
- title: {
1950
- type: "string";
1951
- maxLength: number;
1952
- description: string;
1953
- };
1954
- description: {
1955
- type: "string";
1956
- maxLength: number;
1957
- description: string;
1958
- };
1959
- };
1960
- description: string;
1961
- additionalProperties: false;
1962
- };
1963
- };
1964
- };
1965
- required: string[];
1966
- description: string;
1967
- additionalProperties: false;
1968
- };
1969
- message: {
1970
- type: "object";
1971
- properties: {
1972
- tags: {
1973
- type: "object";
1974
- additionalProperties: {
1975
- type: "object";
1976
- properties: {
1977
- title: {
1978
- type: "string";
1979
- maxLength: number;
1980
- description: string;
1981
- };
1982
- description: {
1983
- type: "string";
1984
- maxLength: number;
1985
- description: string;
1986
- };
1987
- };
1988
- description: string;
1989
- additionalProperties: false;
1990
- };
1991
- };
1992
- };
1993
- required: string[];
1994
- description: string;
1995
- additionalProperties: false;
1996
- };
1997
- states: {
1998
- type: "object";
1999
- additionalProperties: {
2000
- type: "object";
2001
- properties: {
2002
- type: {
2003
- type: "string";
2004
- enum: string[];
2005
- description: string;
2006
- };
2007
- schema: {
2008
- type: "object";
2009
- additionalProperties: true;
2010
- description: string;
2011
- };
2012
- expiry: {
2013
- type: "number";
2014
- minimum: number;
2015
- description: string;
2016
- };
2017
- };
2018
- required: string[];
2019
- additionalProperties: false;
2020
- };
2021
- description: string;
2022
- };
2023
- configuration: {
2024
- type: "object";
2025
- properties: {
2026
- data: {
2027
- type: "object";
2028
- additionalProperties: true;
2029
- description: string;
2030
- };
2031
- schema: {
2032
- type: "object";
2033
- additionalProperties: true;
2034
- description: string;
2035
- };
2036
- };
2037
- required: string[];
2038
- description: string;
2039
- additionalProperties: false;
2040
- };
2041
- events: {
2042
- type: "object";
2043
- additionalProperties: {
2044
- type: "object";
2045
- properties: {
2046
- title: {
2047
- type: "string";
2048
- maxLength: number;
2049
- description: string;
2050
- };
2051
- description: {
2052
- type: "string";
2053
- maxLength: number;
2054
- description: string;
2055
- };
2056
- schema: {
2057
- type: "object";
2058
- additionalProperties: true;
2059
- };
2060
- attributes: {
2061
- type: "object";
2062
- additionalProperties: {
2063
- type: "string";
2064
- maxLength: number;
2065
- };
2066
- description: string;
2067
- };
2068
- };
2069
- required: string[];
2070
- description: string;
2071
- additionalProperties: false;
2072
- };
2073
- description: string;
2074
- };
2075
- recurringEvents: {
2076
- type: "object";
2077
- additionalProperties: {
2078
- type: "object";
2079
- properties: {
2080
- schedule: {
2081
- type: "object";
2082
- properties: {
2083
- cron: {
2084
- type: "string";
2085
- maxLength: number;
2086
- };
2087
- };
2088
- required: string[];
2089
- additionalProperties: false;
2090
- };
2091
- type: {
2092
- type: "string";
2093
- maxLength: number;
2094
- };
2095
- payload: {
2096
- type: "object";
2097
- additionalProperties: true;
2098
- };
2099
- failedAttempts: {
2100
- type: "number";
2101
- description: string;
2102
- };
2103
- lastFailureReason: {
2104
- type: "string";
2105
- maxLength: number;
2106
- description: string;
2107
- nullable: true;
2108
- };
2109
- };
2110
- required: string[];
2111
- additionalProperties: false;
2112
- };
2113
- description: string;
2114
- };
2115
- subscriptions: {
2116
- type: "object";
2117
- properties: {
2118
- events: {
2119
- type: "object";
2120
- additionalProperties: {
2121
- type: "object";
2122
- additionalProperties: false;
2123
- };
2124
- nullable: true;
2125
- description: string;
2126
- };
2127
- };
2128
- required: string[];
2129
- description: string;
2130
- additionalProperties: false;
2131
- };
2132
- actions: {
2133
- type: "object";
2134
- additionalProperties: {
2135
- type: "object";
2136
- properties: {
2137
- title: {
2138
- type: "string";
2139
- maxLength: number;
2140
- description: string;
2141
- };
2142
- description: {
2143
- type: "string";
2144
- maxLength: number;
2145
- description: string;
2146
- };
2147
- billable: {
2148
- type: "boolean";
2149
- };
2150
- cacheable: {
2151
- type: "boolean";
2152
- };
2153
- input: {
2154
- type: "object";
2155
- properties: {
2156
- schema: {
2157
- type: "object";
2158
- additionalProperties: true;
2159
- };
2160
- };
2161
- required: string[];
2162
- additionalProperties: false;
2163
- };
2164
- output: {
2165
- type: "object";
2166
- properties: {
2167
- schema: {
2168
- type: "object";
2169
- additionalProperties: true;
2170
- };
2171
- };
2172
- required: string[];
2173
- additionalProperties: false;
2174
- };
2175
- attributes: {
2176
- type: "object";
2177
- additionalProperties: {
2178
- type: "string";
2179
- maxLength: number;
2180
- };
2181
- description: string;
2182
- };
2183
- };
2184
- required: string[];
2185
- description: string;
2186
- additionalProperties: false;
2187
- };
2188
- description: string;
2189
- };
2190
- tags: {
2191
- type: "object";
2192
- additionalProperties: {
2193
- type: "string";
2194
- };
2195
- description: string;
2196
- };
2197
- name: {
2198
- type: "string";
2199
- description: string;
2200
- };
2201
- deployedAt: {
2202
- type: "string";
2203
- format: string;
2204
- description: string;
2205
- };
2206
- dev: {
2207
- type: "boolean";
2208
- description: string;
2209
- };
2210
- createdBy: {
2211
- type: "string";
2212
- description: string;
2213
- };
2214
- alwaysAlive: {
2215
- type: "boolean";
2216
- description: string;
2217
- };
2218
- status: {
2219
- type: "string";
2220
- enum: string[];
2221
- description: string;
2222
- };
2223
- medias: {
2224
- type: "array";
2225
- items: {
2226
- type: "object";
2227
- properties: {
2228
- url: {
2229
- type: "string";
2230
- description: string;
2231
- };
2232
- name: {
2233
- type: "string";
2234
- description: string;
2235
- };
2236
- };
2237
- required: string[];
2238
- };
2239
- description: string;
2240
- };
2241
- };
2242
- required: string[];
2243
- additionalProperties: false;
2244
- };
2245
- };
2246
- Integration: {
2247
- section: "integration";
2248
- schema: {
2249
- type: "object";
2250
- properties: {
2251
- id: {
2252
- type: "string";
2253
- minLength: number;
2254
- maxLength: number;
2255
- description: string;
2256
- };
2257
- createdAt: {
2258
- type: "string";
2259
- format: string;
2260
- description: string;
2261
- };
2262
- updatedAt: {
2263
- type: "string";
2264
- format: string;
2265
- description: string;
2266
- };
2267
- identifier: {
2268
- type: "object";
2269
- properties: {
2270
- fallbackHandlerScript: {
2271
- type: "string";
2272
- maxLength: number;
2273
- description: string;
2274
- };
2275
- extractScript: {
2276
- type: "string";
2277
- maxLength: number;
2278
- description: string;
2279
- };
2280
- };
2281
- description: string;
2282
- additionalProperties: false;
2283
- };
2284
- sandbox: {
2285
- type: "object";
2286
- properties: {
2287
- identifierExtractScript: {
2288
- type: "string";
2289
- maxLength: number;
2290
- description: string;
2291
- };
2292
- messageExtractScript: {
2293
- type: "string";
2294
- maxLength: number;
2295
- description: string;
2296
- };
2297
- };
2298
- additionalProperties: false;
2299
- };
2300
- maxExecutionTime: {
2301
- type: "number";
2302
- description: string;
2303
- };
2304
- url: {
2305
- type: "string";
2306
- maxLength: number;
2307
- description: string;
2308
- };
2309
- name: {
2310
- type: "string";
2311
- maxLength: number;
2312
- description: string;
2313
- };
2314
- version: {
2315
- type: "string";
2316
- maxLength: number;
2317
- description: string;
2318
- };
2319
- interfaces: {
2320
- type: "object";
2321
- additionalProperties: {
2322
- type: "object";
2323
- properties: {
2324
- id: {
2325
- type: "string";
2326
- minLength: number;
2327
- maxLength: number;
2328
- description: string;
2329
- };
2330
- name: {
2331
- type: "string";
2332
- maxLength: number;
2333
- description: string;
2334
- };
2335
- version: {
2336
- type: "string";
2337
- maxLength: number;
2338
- description: string;
2339
- };
2340
- entities: {
2341
- type: "object";
2342
- additionalProperties: {
2343
- type: "object";
2344
- properties: {
2345
- name: {
2346
- type: "string";
2347
- maxLength: number;
2348
- };
2349
- };
2350
- required: string[];
2351
- additionalProperties: false;
2352
- };
2353
- };
2354
- actions: {
2355
- type: "object";
2356
- additionalProperties: {
2357
- type: "object";
2358
- properties: {
2359
- name: {
2360
- type: "string";
2361
- maxLength: number;
2362
- };
2363
- };
2364
- required: string[];
2365
- additionalProperties: false;
2366
- };
2367
- };
2368
- events: {
2369
- type: "object";
2370
- additionalProperties: {
2371
- type: "object";
2372
- properties: {
2373
- name: {
2374
- type: "string";
2375
- maxLength: number;
2376
- };
2377
- };
2378
- required: string[];
2379
- additionalProperties: false;
2380
- };
2381
- };
2382
- channels: {
2383
- type: "object";
2384
- additionalProperties: {
2385
- type: "object";
2386
- properties: {
2387
- name: {
2388
- type: "string";
2389
- maxLength: number;
2390
- };
2391
- };
2392
- required: string[];
2393
- additionalProperties: false;
2394
- };
2395
- };
2396
- };
2397
- required: string[];
2398
- additionalProperties: false;
2399
- };
2400
- };
2401
- configuration: {
2402
- type: "object";
2403
- properties: {
2404
- title: {
2405
- type: "string";
2406
- maxLength: number;
2407
- description: string;
2408
- };
2409
- description: {
2410
- type: "string";
2411
- maxLength: number;
2412
- description: string;
2413
- };
2414
- identifier: {
2415
- type: "object";
2416
- properties: {
2417
- linkTemplateScript: {
2418
- type: "string";
2419
- maxLength: number;
2420
- };
2421
- required: {
2422
- type: "boolean";
2423
- };
2424
- };
2425
- required: string[];
2426
- description: string;
2427
- additionalProperties: false;
2428
- };
2429
- schema: {
2430
- type: "object";
2431
- additionalProperties: true;
2432
- description: string;
2433
- };
2434
- };
2435
- required: string[];
2436
- description: string;
2437
- additionalProperties: false;
2438
- };
2439
- configurations: {
2440
- type: "object";
2441
- additionalProperties: {
2442
- type: "object";
2443
- properties: {
2444
- title: {
2445
- type: "string";
2446
- maxLength: number;
2447
- description: string;
2448
- };
2449
- description: {
2450
- type: "string";
2451
- maxLength: number;
2452
- description: string;
2453
- };
2454
- identifier: {
2455
- type: "object";
2456
- properties: {
2457
- linkTemplateScript: {
2458
- type: "string";
2459
- maxLength: number;
2460
- };
2461
- required: {
2462
- type: "boolean";
2463
- };
2464
- };
2465
- required: string[];
2466
- description: string;
2467
- additionalProperties: false;
2468
- };
2469
- schema: {
2470
- type: "object";
2471
- additionalProperties: true;
2472
- description: string;
2473
- };
2474
- };
2475
- required: string[];
2476
- description: string;
2477
- additionalProperties: false;
2478
- };
2479
- };
2480
- channels: {
2481
- type: "object";
2482
- additionalProperties: {
2483
- type: "object";
2484
- properties: {
2485
- title: {
2486
- type: "string";
2487
- maxLength: number;
2488
- description: string;
2489
- };
2490
- description: {
2491
- type: "string";
2492
- maxLength: number;
2493
- description: string;
2494
- };
2495
- messages: {
2496
- type: "object";
2497
- additionalProperties: {
2498
- type: "object";
2499
- properties: {
2500
- schema: {
2501
- type: "object";
2502
- additionalProperties: true;
2503
- };
2504
- };
2505
- required: string[];
2506
- description: string;
2507
- additionalProperties: false;
2508
- };
2509
- };
2510
- conversation: {
2511
- type: "object";
2512
- properties: {
2513
- tags: {
2514
- type: "object";
2515
- additionalProperties: {
2516
- type: "object";
2517
- properties: {
2518
- title: {
2519
- type: "string";
2520
- maxLength: number;
2521
- description: string;
2522
- };
2523
- description: {
2524
- type: "string";
2525
- maxLength: number;
2526
- description: string;
2527
- };
2528
- };
2529
- description: string;
2530
- additionalProperties: false;
2531
- };
2532
- };
2533
- creation: {
2534
- type: "object";
2535
- properties: {
2536
- enabled: {
2537
- type: "boolean";
2538
- description: string;
2539
- };
2540
- requiredTags: {
2541
- type: "array";
2542
- items: {
2543
- type: "string";
2544
- };
2545
- description: string;
2546
- };
2547
- };
2548
- required: string[];
2549
- description: string;
2550
- additionalProperties: false;
2551
- };
2552
- };
2553
- required: string[];
2554
- description: string;
2555
- additionalProperties: false;
2556
- };
2557
- message: {
2558
- type: "object";
2559
- properties: {
2560
- tags: {
2561
- type: "object";
2562
- additionalProperties: {
2563
- type: "object";
2564
- properties: {
2565
- title: {
2566
- type: "string";
2567
- maxLength: number;
2568
- description: string;
2569
- };
2570
- description: {
2571
- type: "string";
2572
- maxLength: number;
2573
- description: string;
2574
- };
2575
- };
2576
- description: string;
2577
- additionalProperties: false;
2578
- };
2579
- };
2580
- };
2581
- required: string[];
2582
- description: string;
2583
- additionalProperties: false;
2584
- };
2585
- };
2586
- required: string[];
2587
- description: string;
2588
- additionalProperties: false;
2589
- };
2590
- };
2591
- states: {
2592
- type: "object";
2593
- additionalProperties: {
2594
- type: "object";
2595
- properties: {
2596
- type: {
2597
- type: "string";
2598
- enum: string[];
2599
- description: string;
2600
- };
2601
- schema: {
2602
- type: "object";
2603
- additionalProperties: true;
2604
- description: string;
2605
- };
2606
- };
2607
- required: string[];
2608
- description: string;
2609
- additionalProperties: false;
2610
- };
2611
- };
2612
- events: {
2613
- type: "object";
2614
- additionalProperties: {
2615
- type: "object";
2616
- properties: {
2617
- title: {
2618
- type: "string";
2619
- maxLength: number;
2620
- description: string;
2621
- };
2622
- description: {
2623
- type: "string";
2624
- maxLength: number;
2625
- description: string;
2626
- };
2627
- schema: {
2628
- type: "object";
2629
- additionalProperties: true;
2630
- };
2631
- attributes: {
2632
- type: "object";
2633
- additionalProperties: {
2634
- type: "string";
2635
- maxLength: number;
2636
- };
2637
- description: string;
2638
- };
2639
- };
2640
- required: string[];
2641
- description: string;
2642
- additionalProperties: false;
2643
- };
2644
- };
2645
- actions: {
2646
- type: "object";
2647
- additionalProperties: {
2648
- type: "object";
2649
- properties: {
2650
- title: {
2651
- type: "string";
2652
- maxLength: number;
2653
- description: string;
2654
- };
2655
- description: {
2656
- type: "string";
2657
- maxLength: number;
2658
- description: string;
2659
- };
2660
- billable: {
2661
- type: "boolean";
2662
- };
2663
- cacheable: {
2664
- type: "boolean";
2665
- };
2666
- input: {
2667
- type: "object";
2668
- properties: {
2669
- schema: {
2670
- type: "object";
2671
- additionalProperties: true;
2672
- };
2673
- };
2674
- required: string[];
2675
- additionalProperties: false;
2676
- };
2677
- output: {
2678
- type: "object";
2679
- properties: {
2680
- schema: {
2681
- type: "object";
2682
- additionalProperties: true;
2683
- };
2684
- };
2685
- required: string[];
2686
- additionalProperties: false;
2687
- };
2688
- attributes: {
2689
- type: "object";
2690
- additionalProperties: {
2691
- type: "string";
2692
- maxLength: number;
2693
- };
2694
- description: string;
2695
- };
2696
- };
2697
- required: string[];
2698
- description: string;
2699
- additionalProperties: false;
2700
- };
2701
- };
2702
- user: {
2703
- type: "object";
2704
- properties: {
2705
- tags: {
2706
- type: "object";
2707
- additionalProperties: {
2708
- type: "object";
2709
- properties: {
2710
- title: {
2711
- type: "string";
2712
- maxLength: number;
2713
- description: string;
2714
- };
2715
- description: {
2716
- type: "string";
2717
- maxLength: number;
2718
- description: string;
2719
- };
2720
- };
2721
- description: string;
2722
- additionalProperties: false;
2723
- };
2724
- };
2725
- creation: {
2726
- type: "object";
2727
- properties: {
2728
- enabled: {
2729
- type: "boolean";
2730
- description: string;
2731
- };
2732
- requiredTags: {
2733
- type: "array";
2734
- items: {
2735
- type: "string";
2736
- };
2737
- description: string;
2738
- };
2739
- };
2740
- required: string[];
2741
- description: string;
2742
- additionalProperties: false;
2743
- };
2744
- };
2745
- required: string[];
2746
- description: string;
2747
- additionalProperties: false;
2748
- };
2749
- entities: {
2750
- type: "object";
2751
- additionalProperties: {
2752
- type: "object";
2753
- properties: {
2754
- title: {
2755
- type: "string";
2756
- maxLength: number;
2757
- description: string;
2758
- };
2759
- description: {
2760
- type: "string";
2761
- maxLength: number;
2762
- description: string;
2763
- };
2764
- schema: {
2765
- type: "object";
2766
- additionalProperties: true;
2767
- };
2768
- };
2769
- required: string[];
2770
- description: string;
2771
- additionalProperties: false;
2772
- };
2773
- };
2774
- attributes: {
2775
- type: "object";
2776
- additionalProperties: {
2777
- type: "string";
2778
- maxLength: number;
2779
- };
2780
- description: string;
2781
- };
2782
- dev: {
2783
- type: "boolean";
2784
- description: string;
2785
- };
2786
- title: {
2787
- type: "string";
2788
- minLength: number;
2789
- maxLength: number;
2790
- description: string;
2791
- };
2792
- description: {
2793
- type: "string";
2794
- maxLength: number;
2795
- description: string;
2796
- };
2797
- iconUrl: {
2798
- type: "string";
2799
- description: string;
2800
- };
2801
- readmeUrl: {
2802
- type: "string";
2803
- description: string;
2804
- };
2805
- public: {
2806
- type: "boolean";
2807
- description: string;
2808
- deprecated: true;
2809
- };
2810
- visibility: {
2811
- type: "string";
2812
- enum: string[];
2813
- description: string;
2814
- };
2815
- verificationStatus: {
2816
- type: "string";
2817
- enum: string[];
2818
- description: string;
2819
- };
2820
- secrets: {
2821
- type: "array";
2822
- items: {
2823
- type: "string";
2824
- };
2825
- description: string;
2826
- };
2827
- };
2828
- required: string[];
2829
- additionalProperties: false;
2830
- };
2831
- };
2832
- Interface: {
2833
- section: "interface";
2834
- schema: {
2835
- type: "object";
2836
- properties: {
2837
- id: {
2838
- type: "string";
2839
- minLength: number;
2840
- maxLength: number;
2841
- description: string;
2842
- };
2843
- createdAt: {
2844
- type: "string";
2845
- format: string;
2846
- description: string;
2847
- };
2848
- updatedAt: {
2849
- type: "string";
2850
- format: string;
2851
- description: string;
2852
- };
2853
- name: {
2854
- type: "string";
2855
- maxLength: number;
2856
- description: string;
2857
- };
2858
- version: {
2859
- type: "string";
2860
- maxLength: number;
2861
- description: string;
2862
- };
2863
- entities: {
2864
- type: "object";
2865
- additionalProperties: {
2866
- type: "object";
2867
- properties: {
2868
- title: {
2869
- type: "string";
2870
- maxLength: number;
2871
- description: string;
2872
- };
2873
- description: {
2874
- type: "string";
2875
- maxLength: number;
2876
- description: string;
2877
- };
2878
- schema: {
2879
- type: "object";
2880
- additionalProperties: true;
2881
- };
2882
- };
2883
- required: string[];
2884
- description: string;
2885
- additionalProperties: false;
2886
- };
2887
- };
2888
- events: {
2889
- type: "object";
2890
- additionalProperties: {
2891
- type: "object";
2892
- properties: {
2893
- title: {
2894
- type: "string";
2895
- maxLength: number;
2896
- description: string;
2897
- };
2898
- description: {
2899
- type: "string";
2900
- maxLength: number;
2901
- description: string;
2902
- };
2903
- schema: {
2904
- type: "object";
2905
- additionalProperties: true;
2906
- };
2907
- attributes: {
2908
- type: "object";
2909
- additionalProperties: {
2910
- type: "string";
2911
- maxLength: number;
2912
- };
2913
- description: string;
2914
- };
2915
- };
2916
- required: string[];
2917
- description: string;
2918
- additionalProperties: false;
2919
- };
2920
- };
2921
- actions: {
2922
- type: "object";
2923
- additionalProperties: {
2924
- type: "object";
2925
- properties: {
2926
- title: {
2927
- type: "string";
2928
- maxLength: number;
2929
- description: string;
2930
- };
2931
- description: {
2932
- type: "string";
2933
- maxLength: number;
2934
- description: string;
2935
- };
2936
- billable: {
2937
- type: "boolean";
2938
- };
2939
- cacheable: {
2940
- type: "boolean";
2941
- };
2942
- input: {
2943
- type: "object";
2944
- properties: {
2945
- schema: {
2946
- type: "object";
2947
- additionalProperties: true;
2948
- };
2949
- };
2950
- required: string[];
2951
- additionalProperties: false;
2952
- };
2953
- output: {
2954
- type: "object";
2955
- properties: {
2956
- schema: {
2957
- type: "object";
2958
- additionalProperties: true;
2959
- };
2960
- };
2961
- required: string[];
2962
- additionalProperties: false;
2963
- };
2964
- attributes: {
2965
- type: "object";
2966
- additionalProperties: {
2967
- type: "string";
2968
- maxLength: number;
2969
- };
2970
- description: string;
2971
- };
2972
- };
2973
- required: string[];
2974
- description: string;
2975
- additionalProperties: false;
2976
- };
2977
- };
2978
- channels: {
2979
- type: "object";
2980
- additionalProperties: {
2981
- type: "object";
2982
- properties: {
2983
- title: {
2984
- type: "string";
2985
- maxLength: number;
2986
- description: string;
2987
- };
2988
- description: {
2989
- type: "string";
2990
- maxLength: number;
2991
- description: string;
2992
- };
2993
- messages: {
2994
- type: "object";
2995
- additionalProperties: {
2996
- type: "object";
2997
- properties: {
2998
- schema: {
2999
- type: "object";
3000
- additionalProperties: true;
3001
- };
3002
- };
3003
- required: string[];
3004
- description: string;
3005
- additionalProperties: false;
3006
- };
3007
- };
3008
- };
3009
- required: string[];
3010
- additionalProperties: false;
3011
- };
3012
- };
3013
- nameTemplate: {
3014
- type: "object";
3015
- properties: {
3016
- script: {
3017
- type: "string";
3018
- maxLength: number;
3019
- };
3020
- language: {
3021
- type: "string";
3022
- maxLength: number;
3023
- };
3024
- };
3025
- required: string[];
3026
- description: string;
3027
- additionalProperties: false;
3028
- };
3029
- attributes: {
3030
- type: "object";
3031
- additionalProperties: {
3032
- type: "string";
3033
- maxLength: number;
3034
- };
3035
- description: string;
3036
- };
3037
- title: {
3038
- type: "string";
3039
- minLength: number;
3040
- maxLength: number;
3041
- description: string;
3042
- };
3043
- description: {
3044
- type: "string";
3045
- maxLength: number;
3046
- description: string;
3047
- };
3048
- iconUrl: {
3049
- type: "string";
3050
- description: string;
3051
- };
3052
- readmeUrl: {
3053
- type: "string";
3054
- description: string;
3055
- };
3056
- public: {
3057
- type: "boolean";
3058
- description: string;
3059
- };
3060
- };
3061
- required: string[];
3062
- additionalProperties: false;
3063
- };
3064
- };
3065
- Plugin: {
3066
- section: "plugin";
3067
- schema: {
3068
- type: "object";
3069
- properties: {
3070
- id: {
3071
- type: "string";
3072
- minLength: number;
3073
- maxLength: number;
3074
- description: string;
3075
- };
3076
- name: {
3077
- type: "string";
3078
- maxLength: number;
3079
- description: string;
3080
- };
3081
- version: {
3082
- type: "string";
3083
- maxLength: number;
3084
- description: string;
3085
- };
3086
- createdAt: {
3087
- type: "string";
3088
- format: string;
3089
- description: string;
3090
- };
3091
- updatedAt: {
3092
- type: "string";
3093
- format: string;
3094
- description: string;
3095
- };
3096
- configuration: {
3097
- type: "object";
3098
- properties: {
3099
- title: {
3100
- type: "string";
3101
- maxLength: number;
3102
- description: string;
3103
- };
3104
- description: {
3105
- type: "string";
3106
- maxLength: number;
3107
- description: string;
3108
- };
3109
- schema: {
3110
- type: "object";
3111
- additionalProperties: true;
3112
- description: string;
3113
- };
3114
- };
3115
- required: string[];
3116
- description: string;
3117
- additionalProperties: false;
3118
- };
3119
- states: {
3120
- type: "object";
3121
- additionalProperties: {
3122
- type: "object";
3123
- properties: {
3124
- type: {
3125
- type: "string";
3126
- enum: string[];
3127
- description: string;
3128
- };
3129
- schema: {
3130
- type: "object";
3131
- additionalProperties: true;
3132
- description: string;
3133
- };
3134
- expiry: {
3135
- type: "number";
3136
- minimum: number;
3137
- description: string;
3138
- };
3139
- };
3140
- required: string[];
3141
- additionalProperties: false;
3142
- };
3143
- };
3144
- events: {
3145
- type: "object";
3146
- additionalProperties: {
3147
- type: "object";
3148
- properties: {
3149
- title: {
3150
- type: "string";
3151
- maxLength: number;
3152
- description: string;
3153
- };
3154
- description: {
3155
- type: "string";
3156
- maxLength: number;
3157
- description: string;
3158
- };
3159
- schema: {
3160
- type: "object";
3161
- additionalProperties: true;
3162
- };
3163
- attributes: {
3164
- type: "object";
3165
- additionalProperties: {
3166
- type: "string";
3167
- maxLength: number;
3168
- };
3169
- description: string;
3170
- };
3171
- };
3172
- required: string[];
3173
- description: string;
3174
- additionalProperties: false;
3175
- };
3176
- };
3177
- actions: {
3178
- type: "object";
3179
- additionalProperties: {
3180
- type: "object";
3181
- properties: {
3182
- title: {
3183
- type: "string";
3184
- maxLength: number;
3185
- description: string;
3186
- };
3187
- description: {
3188
- type: "string";
3189
- maxLength: number;
3190
- description: string;
3191
- };
3192
- billable: {
3193
- type: "boolean";
3194
- };
3195
- cacheable: {
3196
- type: "boolean";
3197
- };
3198
- input: {
3199
- type: "object";
3200
- properties: {
3201
- schema: {
3202
- type: "object";
3203
- additionalProperties: true;
3204
- };
3205
- };
3206
- required: string[];
3207
- additionalProperties: false;
3208
- };
3209
- output: {
3210
- type: "object";
3211
- properties: {
3212
- schema: {
3213
- type: "object";
3214
- additionalProperties: true;
3215
- };
3216
- };
3217
- required: string[];
3218
- additionalProperties: false;
3219
- };
3220
- attributes: {
3221
- type: "object";
3222
- additionalProperties: {
3223
- type: "string";
3224
- maxLength: number;
3225
- };
3226
- description: string;
3227
- };
3228
- };
3229
- required: string[];
3230
- description: string;
3231
- additionalProperties: false;
3232
- };
3233
- };
3234
- dependencies: {
3235
- type: "object";
3236
- properties: {
3237
- interfaces: {
3238
- type: "object";
3239
- additionalProperties: {
3240
- type: "object";
3241
- properties: {
3242
- id: {
3243
- type: "string";
3244
- minLength: number;
3245
- maxLength: number;
3246
- };
3247
- name: {
3248
- type: "string";
3249
- maxLength: number;
3250
- };
3251
- version: {
3252
- type: "string";
3253
- maxLength: number;
3254
- };
3255
- };
3256
- required: string[];
3257
- additionalProperties: false;
3258
- };
3259
- };
3260
- integrations: {
3261
- type: "object";
3262
- additionalProperties: {
3263
- type: "object";
3264
- properties: {
3265
- id: {
3266
- type: "string";
3267
- minLength: number;
3268
- maxLength: number;
3269
- };
3270
- name: {
3271
- type: "string";
3272
- maxLength: number;
3273
- };
3274
- version: {
3275
- type: "string";
3276
- maxLength: number;
3277
- };
3278
- };
3279
- required: string[];
3280
- additionalProperties: false;
3281
- };
3282
- };
3283
- };
3284
- required: string[];
3285
- additionalProperties: false;
3286
- };
3287
- user: {
3288
- type: "object";
3289
- properties: {
3290
- tags: {
3291
- type: "object";
3292
- additionalProperties: {
3293
- type: "object";
3294
- properties: {
3295
- title: {
3296
- type: "string";
3297
- maxLength: number;
3298
- description: string;
3299
- };
3300
- description: {
3301
- type: "string";
3302
- maxLength: number;
3303
- description: string;
3304
- };
3305
- };
3306
- description: string;
3307
- additionalProperties: false;
3308
- };
3309
- };
3310
- };
3311
- required: string[];
3312
- description: string;
3313
- additionalProperties: false;
3314
- };
3315
- conversation: {
3316
- type: "object";
3317
- properties: {
3318
- tags: {
3319
- type: "object";
3320
- additionalProperties: {
3321
- type: "object";
3322
- properties: {
3323
- title: {
3324
- type: "string";
3325
- maxLength: number;
3326
- description: string;
3327
- };
3328
- description: {
3329
- type: "string";
3330
- maxLength: number;
3331
- description: string;
3332
- };
3333
- };
3334
- description: string;
3335
- additionalProperties: false;
3336
- };
3337
- };
3338
- };
3339
- required: string[];
3340
- description: string;
3341
- additionalProperties: false;
3342
- };
3343
- attributes: {
3344
- type: "object";
3345
- additionalProperties: {
3346
- type: "string";
3347
- maxLength: number;
3348
- };
3349
- description: string;
3350
- };
3351
- title: {
3352
- type: "string";
3353
- minLength: number;
3354
- maxLength: number;
3355
- description: string;
3356
- };
3357
- description: {
3358
- type: "string";
3359
- maxLength: number;
3360
- description: string;
3361
- };
3362
- iconUrl: {
3363
- type: "string";
3364
- description: string;
3365
- };
3366
- readmeUrl: {
3367
- type: "string";
3368
- description: string;
3369
- };
3370
- public: {
3371
- type: "boolean";
3372
- description: string;
3373
- };
3374
- };
3375
- required: string[];
3376
- additionalProperties: false;
3377
- };
3378
- };
3379
- Workspace: {
3380
- section: "workspace";
3381
- schema: {
3382
- type: "object";
3383
- properties: {
3384
- id: {
3385
- type: "string";
3386
- };
3387
- name: {
3388
- type: "string";
3389
- };
3390
- ownerId: {
3391
- type: "string";
3392
- };
3393
- createdAt: {
3394
- type: "string";
3395
- };
3396
- updatedAt: {
3397
- type: "string";
3398
- };
3399
- botCount: {
3400
- type: "number";
3401
- };
3402
- billingVersion: {
3403
- type: "string";
3404
- enum: string[];
3405
- };
3406
- plan: {
3407
- type: "string";
3408
- enum: string[];
3409
- };
3410
- blocked: {
3411
- type: "boolean";
3412
- };
3413
- spendingLimit: {
3414
- type: "number";
3415
- };
3416
- about: {
3417
- default: string;
3418
- type: "string";
3419
- };
3420
- profilePicture: {
3421
- default: string;
3422
- type: "string";
3423
- };
3424
- contactEmail: {
3425
- default: string;
3426
- type: "string";
3427
- };
3428
- website: {
3429
- default: string;
3430
- type: "string";
3431
- };
3432
- socialAccounts: {
3433
- default: never[];
3434
- type: "array";
3435
- items: {
3436
- type: "string";
3437
- };
3438
- };
3439
- isPublic: {
3440
- type: "boolean";
3441
- };
3442
- handle: {
3443
- type: "string";
3444
- };
3445
- activeTrialId: {
3446
- type: "string";
3447
- nullable: true;
3448
- };
3449
- };
3450
- required: string[];
3451
- title: string;
3452
- additionalProperties: false;
3453
- };
3454
- };
3455
- WorkspaceMember: {
3456
- section: "workspaceMember";
3457
- schema: {
3458
- type: "object";
3459
- properties: {
3460
- id: {
3461
- type: "string";
3462
- };
3463
- userId: {
3464
- type: "string";
3465
- format: string;
3466
- };
3467
- email: {
3468
- type: "string";
3469
- };
3470
- createdAt: {
3471
- type: "string";
3472
- };
3473
- role: {
3474
- type: "string";
3475
- enum: string[];
3476
- };
3477
- profilePicture: {
3478
- type: "string";
3479
- };
3480
- displayName: {
3481
- type: "string";
3482
- maxLength: number;
3483
- };
3484
- };
3485
- required: string[];
3486
- title: string;
3487
- additionalProperties: false;
3488
- };
3489
- };
3490
- Account: {
3491
- section: "account";
3492
- schema: {
3493
- type: "object";
3494
- properties: {
3495
- id: {
3496
- type: "string";
3497
- };
3498
- email: {
3499
- type: "string";
3500
- };
3501
- displayName: {
3502
- type: "string";
3503
- maxLength: number;
3504
- };
3505
- emailVerified: {
3506
- type: "boolean";
3507
- };
3508
- profilePicture: {
3509
- type: "string";
3510
- };
3511
- createdAt: {
3512
- type: "string";
3513
- format: string;
3514
- description: string;
3515
- };
3516
- };
3517
- required: string[];
3518
- additionalProperties: false;
3519
- };
3520
- };
3521
- Usage: {
3522
- section: "usage";
3523
- schema: {
3524
- type: "object";
3525
- properties: {
3526
- id: {
3527
- type: "string";
3528
- description: string;
3529
- };
3530
- period: {
3531
- type: "string";
3532
- description: string;
3533
- };
3534
- value: {
3535
- type: "number";
3536
- description: string;
3537
- };
3538
- quota: {
3539
- type: "number";
3540
- description: string;
3541
- };
3542
- type: {
3543
- type: "string";
3544
- enum: string[];
3545
- description: string;
3546
- };
3547
- };
3548
- required: string[];
3549
- additionalProperties: false;
3550
- };
3551
- };
3552
- Issue: {
3553
- section: "bot";
3554
- schema: {
3555
- type: "object";
3556
- properties: {
3557
- id: {
3558
- type: "string";
3559
- };
3560
- code: {
3561
- type: "string";
3562
- };
3563
- createdAt: {
3564
- type: "string";
3565
- format: string;
3566
- };
3567
- lastSeenAt: {
3568
- type: "string";
3569
- format: string;
3570
- };
3571
- title: {
3572
- type: "string";
3573
- };
3574
- description: {
3575
- type: "string";
3576
- };
3577
- groupedData: {
3578
- type: "object";
3579
- additionalProperties: {
3580
- type: "object";
3581
- properties: {
3582
- raw: {
3583
- type: "string";
3584
- };
3585
- pretty: {
3586
- type: "string";
3587
- };
3588
- };
3589
- required: string[];
3590
- additionalProperties: false;
3591
- };
3592
- };
3593
- eventsCount: {
3594
- type: "number";
3595
- };
3596
- category: {
3597
- type: "string";
3598
- enum: string[];
3599
- };
3600
- resolutionLink: {
3601
- type: "string";
3602
- nullable: true;
3603
- };
3604
- };
3605
- required: string[];
3606
- additionalProperties: false;
3607
- };
3608
- };
3609
- IssueEvent: {
3610
- section: "bot";
3611
- schema: {
3612
- type: "object";
3613
- properties: {
3614
- id: {
3615
- type: "string";
3616
- };
3617
- createdAt: {
3618
- type: "string";
3619
- format: string;
3620
- };
3621
- data: {
3622
- type: "object";
3623
- additionalProperties: {
3624
- type: "object";
3625
- properties: {
3626
- raw: {
3627
- type: "string";
3628
- };
3629
- pretty: {
3630
- type: "string";
3631
- };
3632
- };
3633
- required: string[];
3634
- additionalProperties: false;
3635
- };
3636
- };
3637
- };
3638
- required: string[];
3639
- additionalProperties: false;
3640
- };
3641
- };
3642
- Activity: {
3643
- section: "activity";
3644
- schema: {
3645
- type: "object";
3646
- properties: {
3647
- id: {
3648
- type: "string";
3649
- };
3650
- description: {
3651
- type: "string";
3652
- };
3653
- taskId: {
3654
- type: "string";
3655
- };
3656
- category: {
3657
- type: "string";
3658
- enum: string[];
3659
- };
3660
- data: {
3661
- type: "object";
3662
- additionalProperties: true;
3663
- };
3664
- createdAt: {
3665
- type: "string";
3666
- format: string;
3667
- description: string;
3668
- };
3669
- };
3670
- required: string[];
3671
- additionalProperties: false;
3672
- };
3673
- };
3674
- Version: {
3675
- section: "bot";
3676
- schema: {
3677
- type: "object";
3678
- properties: {
3679
- id: {
3680
- type: "string";
3681
- };
3682
- name: {
3683
- type: "string";
3684
- };
3685
- description: {
3686
- type: "string";
3687
- };
3688
- };
3689
- required: string[];
3690
- additionalProperties: false;
3691
- };
3692
- };
3693
- User: {
3694
- section: "user";
3695
- schema: {
3696
- type: "object";
3697
- properties: {
3698
- id: {
3699
- type: "string";
3700
- minLength: number;
3701
- maxLength: number;
3702
- description: string;
3703
- };
3704
- createdAt: {
3705
- type: "string";
3706
- format: string;
3707
- description: string;
3708
- };
3709
- updatedAt: {
3710
- type: "string";
3711
- format: string;
3712
- description: string;
3713
- };
3714
- tags: {
3715
- type: "object";
3716
- additionalProperties: {
3717
- type: "string";
3718
- };
3719
- description: string;
3720
- };
3721
- name: {
3722
- type: "string";
3723
- maxLength: number;
3724
- description: string;
3725
- };
3726
- pictureUrl: {
3727
- type: "string";
3728
- maxLength: number;
3729
- description: string;
3730
- };
3731
- };
3732
- required: string[];
3733
- description: string;
3734
- additionalProperties: false;
3735
- };
3736
- };
3737
- Conversation: {
3738
- section: "conversation";
3739
- schema: {
3740
- type: "object";
3741
- properties: {
3742
- id: {
3743
- type: "string";
3744
- minLength: number;
3745
- maxLength: number;
3746
- description: string;
3747
- };
3748
- currentTaskId: {
3749
- type: "string";
3750
- minLength: number;
3751
- maxLength: number;
3752
- description: string;
3753
- };
3754
- currentWorkflowId: {
3755
- type: "string";
3756
- minLength: number;
3757
- maxLength: number;
3758
- description: string;
3759
- };
3760
- createdAt: {
3761
- type: "string";
3762
- format: string;
3763
- description: string;
3764
- };
3765
- updatedAt: {
3766
- type: "string";
3767
- format: string;
3768
- description: string;
3769
- };
3770
- channel: {
3771
- type: "string";
3772
- description: string;
3773
- };
3774
- integration: {
3775
- type: "string";
3776
- description: string;
3777
- };
3778
- tags: {
3779
- type: "object";
3780
- additionalProperties: {
3781
- type: "string";
3782
- };
3783
- description: string;
3784
- };
3785
- };
3786
- required: string[];
3787
- description: string;
3788
- additionalProperties: false;
3789
- };
3790
- };
3791
- Event: {
3792
- section: "event";
3793
- schema: {
3794
- type: "object";
3795
- properties: {
3796
- id: {
3797
- type: "string";
3798
- minLength: number;
3799
- maxLength: number;
3800
- description: string;
3801
- };
3802
- createdAt: {
3803
- type: "string";
3804
- format: string;
3805
- description: string;
3806
- };
3807
- type: {
3808
- type: "string";
3809
- maxLength: number;
3810
- description: string;
3811
- };
3812
- payload: {
3813
- type: "object";
3814
- additionalProperties: true;
3815
- description: string;
3816
- };
3817
- conversationId: {
3818
- type: "string";
3819
- minLength: number;
3820
- maxLength: number;
3821
- description: string;
3822
- };
3823
- userId: {
3824
- type: "string";
3825
- minLength: number;
3826
- maxLength: number;
3827
- description: string;
3828
- };
3829
- messageId: {
3830
- type: "string";
3831
- minLength: number;
3832
- maxLength: number;
3833
- description: string;
3834
- };
3835
- status: {
3836
- type: "string";
3837
- enum: string[];
3838
- };
3839
- failureReason: {
3840
- type: "string";
3841
- maxLength: number;
3842
- nullable: true;
3843
- description: string;
3844
- };
3845
- };
3846
- required: string[];
3847
- description: string;
3848
- additionalProperties: false;
3849
- };
3850
- };
3851
- Message: {
3852
- section: "message";
3853
- schema: {
3854
- type: "object";
3855
- properties: {
3856
- id: {
3857
- type: "string";
3858
- minLength: number;
3859
- maxLength: number;
3860
- description: string;
3861
- };
3862
- createdAt: {
3863
- type: "string";
3864
- format: string;
3865
- description: string;
3866
- };
3867
- updatedAt: {
3868
- type: "string";
3869
- format: string;
3870
- description: string;
3871
- };
3872
- type: {
3873
- type: "string";
3874
- maxLength: number;
3875
- description: string;
3876
- };
3877
- payload: {
3878
- type: "object";
3879
- additionalProperties: true;
3880
- description: string;
3881
- };
3882
- direction: {
3883
- type: "string";
3884
- enum: string[];
3885
- description: string;
3886
- };
3887
- userId: {
3888
- type: "string";
3889
- minLength: number;
3890
- maxLength: number;
3891
- description: string;
3892
- };
3893
- conversationId: {
3894
- type: "string";
3895
- minLength: number;
3896
- maxLength: number;
3897
- description: string;
3898
- };
3899
- tags: {
3900
- type: "object";
3901
- additionalProperties: {
3902
- type: "string";
3903
- };
3904
- description: string;
3905
- };
3906
- origin: {
3907
- type: "string";
3908
- enum: string[];
3909
- description: string;
3910
- };
3911
- };
3912
- required: string[];
3913
- description: string;
3914
- additionalProperties: false;
3915
- };
3916
- };
3917
- State: {
3918
- section: "state";
3919
- schema: {
3920
- type: "object";
3921
- properties: {
3922
- id: {
3923
- type: "string";
3924
- minLength: number;
3925
- maxLength: number;
3926
- description: string;
3927
- };
3928
- createdAt: {
3929
- type: "string";
3930
- format: string;
3931
- description: string;
3932
- };
3933
- updatedAt: {
3934
- type: "string";
3935
- format: string;
3936
- description: string;
3937
- };
3938
- botId: {
3939
- type: "string";
3940
- minLength: number;
3941
- maxLength: number;
3942
- description: string;
3943
- };
3944
- conversationId: {
3945
- type: "string";
3946
- minLength: number;
3947
- maxLength: number;
3948
- description: string;
3949
- };
3950
- userId: {
3951
- type: "string";
3952
- minLength: number;
3953
- maxLength: number;
3954
- description: string;
3955
- };
3956
- name: {
3957
- type: "string";
3958
- maxLength: number;
3959
- description: string;
3960
- };
3961
- type: {
3962
- type: "string";
3963
- enum: string[];
3964
- description: string;
3965
- };
3966
- payload: {
3967
- type: "object";
3968
- additionalProperties: true;
3969
- description: string;
3970
- };
3971
- };
3972
- required: string[];
3973
- description: string;
3974
- additionalProperties: false;
3975
- };
3976
- };
3977
- Task: {
3978
- section: "task";
3979
- schema: {
3980
- type: "object";
3981
- properties: {
3982
- id: {
3983
- type: "string";
3984
- minLength: number;
3985
- maxLength: number;
3986
- description: string;
3987
- };
3988
- title: {
3989
- type: "string";
3990
- maxLength: number;
3991
- description: string;
3992
- };
3993
- description: {
3994
- type: "string";
3995
- maxLength: number;
3996
- description: string;
3997
- };
3998
- type: {
3999
- type: "string";
4000
- description: string;
4001
- };
4002
- data: {
4003
- type: "object";
4004
- additionalProperties: true;
4005
- description: string;
4006
- };
4007
- status: {
4008
- type: "string";
4009
- enum: string[];
4010
- description: string;
4011
- };
4012
- parentTaskId: {
4013
- type: "string";
4014
- minLength: number;
4015
- maxLength: number;
4016
- description: string;
4017
- };
4018
- conversationId: {
4019
- type: "string";
4020
- minLength: number;
4021
- maxLength: number;
4022
- description: string;
4023
- };
4024
- userId: {
4025
- type: "string";
4026
- minLength: number;
4027
- maxLength: number;
4028
- description: string;
4029
- };
4030
- timeoutAt: {
4031
- type: "string";
4032
- format: string;
4033
- description: string;
4034
- };
4035
- createdAt: {
4036
- type: "string";
4037
- format: string;
4038
- description: string;
4039
- };
4040
- updatedAt: {
4041
- type: "string";
4042
- format: string;
4043
- description: string;
4044
- };
4045
- failureReason: {
4046
- type: "string";
4047
- maxLength: number;
4048
- description: string;
4049
- };
4050
- tags: {
4051
- type: "object";
4052
- additionalProperties: {
4053
- type: "string";
4054
- };
4055
- description: string;
4056
- };
4057
- };
4058
- required: string[];
4059
- description: string;
4060
- additionalProperties: false;
4061
- };
4062
- };
4063
- Workflow: {
4064
- section: "workflow";
4065
- schema: {
4066
- type: "object";
4067
- properties: {
4068
- id: {
4069
- type: "string";
4070
- minLength: number;
4071
- maxLength: number;
4072
- description: string;
4073
- };
4074
- name: {
4075
- type: "string";
4076
- maxLength: number;
4077
- description: string;
4078
- };
4079
- status: {
4080
- type: "string";
4081
- enum: string[];
4082
- description: string;
4083
- };
4084
- input: {
4085
- type: "object";
4086
- additionalProperties: true;
4087
- description: string;
4088
- };
4089
- output: {
4090
- type: "object";
4091
- additionalProperties: true;
4092
- description: string;
4093
- };
4094
- parentWorkflowId: {
4095
- type: "string";
4096
- minLength: number;
4097
- maxLength: number;
4098
- description: string;
4099
- };
4100
- conversationId: {
4101
- type: "string";
4102
- minLength: number;
4103
- maxLength: number;
4104
- description: string;
4105
- };
4106
- userId: {
4107
- type: "string";
4108
- minLength: number;
4109
- maxLength: number;
4110
- description: string;
4111
- };
4112
- createdAt: {
4113
- type: "string";
4114
- format: string;
4115
- description: string;
4116
- };
4117
- updatedAt: {
4118
- type: "string";
4119
- format: string;
4120
- description: string;
4121
- };
4122
- completedAt: {
4123
- type: "string";
4124
- format: string;
4125
- description: string;
4126
- };
4127
- failureReason: {
4128
- type: "string";
4129
- maxLength: number;
4130
- description: string;
4131
- };
4132
- timeoutAt: {
4133
- type: "string";
4134
- format: string;
4135
- description: string;
4136
- };
4137
- tags: {
4138
- type: "object";
4139
- additionalProperties: {
4140
- type: "string";
4141
- };
4142
- description: string;
4143
- };
4144
- };
4145
- required: string[];
4146
- description: string;
4147
- additionalProperties: false;
4148
- };
4149
- };
4150
- Table: {
4151
- section: "tables";
4152
- schema: {
4153
- type: "object";
4154
- properties: {
4155
- id: {
4156
- type: "string";
4157
- description: string;
4158
- };
4159
- name: {
4160
- description: string;
4161
- type: "string";
4162
- minLength: number;
4163
- };
4164
- factor: {
4165
- default: number;
4166
- type: "number";
4167
- minimum: number;
4168
- maximum: number;
4169
- description: string;
4170
- };
4171
- frozen: {
4172
- type: "boolean";
4173
- description: string;
4174
- };
4175
- schema: {
4176
- type: "object";
4177
- properties: {
4178
- $schema: {
4179
- type: "string";
4180
- };
4181
- properties: {
4182
- type: "object";
4183
- additionalProperties: {
4184
- type: "object";
4185
- properties: {
4186
- type: {
4187
- type: "string";
4188
- enum: string[];
4189
- };
4190
- format: {
4191
- type: "string";
4192
- enum: string[];
4193
- };
4194
- description: {
4195
- type: "string";
4196
- };
4197
- pattern: {
4198
- type: "string";
4199
- description: string;
4200
- };
4201
- enum: {
4202
- type: "array";
4203
- items: {
4204
- type: "string";
4205
- };
4206
- description: string;
4207
- };
4208
- items: {
4209
- type: "object";
4210
- properties: {
4211
- type: {
4212
- type: "string";
4213
- enum: string[];
4214
- };
4215
- };
4216
- required: string[];
4217
- additionalProperties: true;
4218
- description: string;
4219
- };
4220
- nullable: {
4221
- default: boolean;
4222
- type: "boolean";
4223
- };
4224
- properties: {
4225
- type: "object";
4226
- additionalProperties: {
4227
- type: "object";
4228
- properties: {
4229
- type: {
4230
- type: "string";
4231
- enum: string[];
4232
- };
4233
- };
4234
- required: string[];
4235
- additionalProperties: true;
4236
- };
4237
- };
4238
- "x-zui": {
4239
- type: "object";
4240
- properties: {
4241
- index: {
4242
- type: "integer";
4243
- };
4244
- id: {
4245
- type: "string";
4246
- description: string;
4247
- };
4248
- searchable: {
4249
- type: "boolean";
4250
- description: string;
4251
- };
4252
- hidden: {
4253
- type: "boolean";
4254
- description: string;
4255
- };
4256
- order: {
4257
- type: "number";
4258
- description: string;
4259
- };
4260
- width: {
4261
- type: "number";
4262
- description: string;
4263
- };
4264
- schemaId: {
4265
- type: "string";
4266
- description: string;
4267
- };
4268
- computed: {
4269
- type: "object";
4270
- properties: {
4271
- action: {
4272
- type: "string";
4273
- enum: string[];
4274
- };
4275
- dependencies: {
4276
- default: never[];
4277
- type: "array";
4278
- items: {
4279
- type: "string";
4280
- };
4281
- };
4282
- prompt: {
4283
- type: "string";
4284
- description: string;
4285
- };
4286
- code: {
4287
- type: "string";
4288
- description: string;
4289
- };
4290
- model: {
4291
- default: string;
4292
- type: "string";
4293
- maxLength: number;
4294
- description: string;
4295
- };
4296
- workflowId: {
4297
- type: "string";
4298
- maxLength: number;
4299
- description: string;
4300
- };
4301
- enabled: {
4302
- type: "boolean";
4303
- };
4304
- };
4305
- required: string[];
4306
- additionalProperties: false;
4307
- };
4308
- typings: {
4309
- type: "string";
4310
- description: string;
4311
- };
4312
- };
4313
- required: string[];
4314
- additionalProperties: false;
4315
- };
4316
- };
4317
- required: string[];
4318
- additionalProperties: false;
4319
- };
4320
- description: string;
4321
- };
4322
- additionalProperties: {
4323
- type: "boolean";
4324
- enum: boolean[];
4325
- description: string;
4326
- };
4327
- required: {
4328
- type: "array";
4329
- items: {
4330
- type: "string";
4331
- };
4332
- description: string;
4333
- };
4334
- type: {
4335
- type: "string";
4336
- enum: string[];
4337
- };
4338
- };
4339
- required: string[];
4340
- additionalProperties: false;
4341
- };
4342
- tags: {
4343
- type: "object";
4344
- additionalProperties: {
4345
- type: "string";
4346
- };
4347
- description: string;
4348
- };
4349
- isComputeEnabled: {
4350
- type: "boolean";
4351
- description: string;
4352
- };
4353
- createdAt: {
4354
- type: "string";
4355
- format: string;
4356
- description: string;
4357
- };
4358
- updatedAt: {
4359
- type: "string";
4360
- format: string;
4361
- description: string;
4362
- };
4363
- };
4364
- required: string[];
4365
- additionalProperties: false;
4366
- };
1597
+ status: 410;
1598
+ type: string;
1599
+ description: string;
1600
+ } | {
1601
+ status: 429;
1602
+ type: string;
1603
+ description: string;
1604
+ } | {
1605
+ status: 402;
1606
+ type: string;
1607
+ description: string;
1608
+ })[];
1609
+ refs: {
1610
+ parameters: {};
1611
+ requestBodies: {
1612
+ upsertFileBody: true;
1613
+ updateFileMetadataBody: true;
1614
+ copyFileBody: true;
1615
+ setFilePassagesBody: true;
1616
+ createKnowledgeBaseBody: true;
1617
+ updateKnowledgeBaseBody: true;
4367
1618
  };
4368
- Column: {
4369
- section: "tables";
4370
- schema: {
4371
- type: "object";
4372
- properties: {
4373
- id: {
4374
- type: "string";
4375
- description: string;
4376
- };
4377
- name: {
4378
- type: "string";
4379
- minLength: number;
4380
- maxLength: number;
4381
- description: string;
4382
- };
4383
- description: {
4384
- type: "string";
4385
- description: string;
4386
- };
4387
- searchable: {
4388
- type: "boolean";
4389
- description: string;
4390
- };
4391
- type: {
4392
- type: "string";
4393
- enum: string[];
4394
- description: string;
4395
- };
4396
- typings: {
4397
- type: "string";
4398
- description: string;
4399
- };
4400
- computed: {
4401
- type: "object";
4402
- properties: {
4403
- action: {
4404
- type: "string";
4405
- enum: string[];
4406
- };
4407
- dependencies: {
4408
- default: never[];
4409
- type: "array";
4410
- items: {
4411
- type: "string";
4412
- };
4413
- };
4414
- prompt: {
4415
- type: "string";
4416
- description: string;
4417
- };
4418
- code: {
4419
- type: "string";
4420
- description: string;
4421
- };
4422
- model: {
4423
- default: string;
4424
- type: "string";
4425
- maxLength: number;
4426
- description: string;
4427
- };
4428
- workflowId: {
4429
- type: "string";
4430
- maxLength: number;
4431
- description: string;
4432
- };
4433
- enabled: {
4434
- type: "boolean";
4435
- };
4436
- };
4437
- required: string[];
4438
- additionalProperties: false;
4439
- };
4440
- schema: {
4441
- type: "object";
4442
- additionalProperties: true;
4443
- };
4444
- };
4445
- required: string[];
4446
- additionalProperties: false;
4447
- };
1619
+ responses: {
1620
+ upsertFileResponse: true;
1621
+ deleteFileResponse: true;
1622
+ listFilesResponse: true;
1623
+ getFileResponse: true;
1624
+ updateFileMetadataResponse: true;
1625
+ copyFileResponse: true;
1626
+ searchFilesResponse: true;
1627
+ listFilePassagesResponse: true;
1628
+ setFilePassagesResponse: true;
1629
+ listFileTagsResponse: true;
1630
+ listFileTagValuesResponse: true;
1631
+ createKnowledgeBaseResponse: true;
1632
+ deleteKnowledgeBaseResponse: true;
1633
+ updateKnowledgeBaseResponse: true;
1634
+ listKnowledgeBasesResponse: true;
4448
1635
  };
4449
- Row: {
4450
- section: "tables";
4451
- schema: {
4452
- type: "object";
4453
- properties: {
4454
- id: {
4455
- type: "number";
4456
- description: string;
4457
- };
4458
- createdAt: {
4459
- type: "string";
4460
- format: string;
4461
- description: string;
4462
- };
4463
- updatedAt: {
4464
- type: "string";
4465
- format: string;
4466
- description: string;
4467
- };
4468
- computed: {
4469
- type: "object";
4470
- additionalProperties: {
4471
- type: "object";
4472
- properties: {
4473
- status: {
4474
- type: "string";
4475
- };
4476
- error: {
4477
- type: "string";
4478
- };
4479
- updatedBy: {
4480
- type: "string";
4481
- };
4482
- updatedAt: {
4483
- type: "string";
4484
- };
4485
- };
4486
- required: string[];
4487
- additionalProperties: false;
4488
- };
4489
- };
4490
- stale: {
4491
- type: "array";
4492
- items: {
4493
- type: "string";
4494
- };
4495
- description: string;
4496
- };
4497
- similarity: {
4498
- type: "number";
4499
- description: string;
4500
- };
4501
- };
4502
- required: string[];
4503
- additionalProperties: true;
4504
- };
1636
+ schemas: {
1637
+ File: true;
4505
1638
  };
1639
+ };
1640
+ schemas: {
4506
1641
  File: {
4507
1642
  section: "files";
4508
1643
  schema: {
@@ -4611,145 +1746,13 @@ export declare const state: {
4611
1746
  };
4612
1747
  };
4613
1748
  };
4614
- sections: ({
4615
- description: string;
4616
- title: string;
4617
- name: "user";
4618
- operations: never[];
4619
- schema: string;
4620
- } | {
4621
- description: string;
4622
- title: string;
4623
- name: "conversation";
4624
- operations: never[];
4625
- schema: string;
4626
- } | {
4627
- description: string;
4628
- title: string;
4629
- name: "event";
4630
- operations: never[];
4631
- schema: string;
4632
- } | {
4633
- description: string;
4634
- title: string;
4635
- name: "message";
4636
- operations: never[];
4637
- schema: string;
4638
- } | {
4639
- description: string;
4640
- title: string;
4641
- name: "state";
4642
- operations: never[];
4643
- schema: string;
4644
- } | {
4645
- title: string;
4646
- description: string;
4647
- name: "hub";
4648
- operations: never[];
4649
- schema?: undefined;
4650
- } | {
4651
- description: string;
4652
- title: string;
4653
- name: "action";
4654
- operations: never[];
4655
- schema?: undefined;
4656
- } | {
4657
- description: string;
4658
- title: string;
4659
- name: "task";
4660
- operations: never[];
4661
- schema: string;
4662
- } | {
4663
- description: string;
4664
- title: string;
4665
- name: "workflow";
4666
- operations: never[];
4667
- schema: string;
4668
- } | {
4669
- description: string;
4670
- title: string;
4671
- name: "tag";
4672
- operations: never[];
4673
- schema?: undefined;
4674
- } | {
4675
- title: string;
4676
- description: string;
4677
- name: "bot";
4678
- operations: never[];
4679
- schema: string;
4680
- } | {
4681
- title: string;
4682
- description: string;
4683
- name: "integration";
4684
- operations: never[];
4685
- schema: string;
4686
- } | {
4687
- title: string;
4688
- description: string;
4689
- name: "interface";
4690
- operations: never[];
4691
- schema: string;
4692
- } | {
4693
- title: string;
4694
- description: string;
4695
- name: "plugin";
4696
- operations: never[];
4697
- schema: string;
4698
- } | {
4699
- title: string;
4700
- description: string;
4701
- name: "workspace";
4702
- operations: never[];
4703
- schema: string;
4704
- } | {
4705
- title: string;
4706
- description: string;
4707
- name: "workspaceMember";
4708
- operations: never[];
4709
- schema: string;
4710
- } | {
4711
- title: string;
4712
- description: string;
4713
- name: "account";
4714
- operations: never[];
4715
- schema: string;
4716
- } | {
4717
- title: string;
4718
- description: string;
4719
- name: "usage";
4720
- operations: never[];
4721
- schema: string;
4722
- } | {
4723
- title: string;
4724
- description: string;
4725
- name: "quotas";
4726
- operations: never[];
4727
- schema?: undefined;
4728
- } | {
4729
- title: string;
4730
- description: string;
4731
- name: "helper";
4732
- operations: never[];
4733
- schema?: undefined;
4734
- } | {
4735
- title: string;
4736
- description: string;
4737
- name: "activity";
4738
- operations: never[];
4739
- schema: string;
4740
- } | {
4741
- title: string;
4742
- description: string;
4743
- name: "tables";
4744
- operations: never[];
4745
- schema: string;
4746
- } | {
1749
+ sections: {
4747
1750
  title: string;
4748
1751
  description: string;
4749
1752
  name: "files";
4750
1753
  operations: string[];
4751
1754
  schema: string;
4752
- })[];
1755
+ }[];
4753
1756
  options: {
4754
1757
  allowUnions: false;
4755
1758
  };