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