@botpress/api 0.2.2 → 0.3.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.
@@ -1362,34 +1362,6 @@ export declare const state: {
1362
1362
  };
1363
1363
  description: string;
1364
1364
  };
1365
- tags: {
1366
- type: "object";
1367
- properties: {
1368
- messages: {
1369
- default: never[];
1370
- type: "array";
1371
- items: {
1372
- type: "string";
1373
- };
1374
- };
1375
- conversations: {
1376
- default: never[];
1377
- type: "array";
1378
- items: {
1379
- type: "string";
1380
- };
1381
- };
1382
- users: {
1383
- default: never[];
1384
- type: "array";
1385
- items: {
1386
- type: "string";
1387
- };
1388
- };
1389
- };
1390
- description: string;
1391
- additionalProperties: false;
1392
- };
1393
1365
  events: {
1394
1366
  type: "object";
1395
1367
  additionalProperties: {
@@ -1450,6 +1422,78 @@ export declare const state: {
1450
1422
  };
1451
1423
  additionalProperties: false;
1452
1424
  };
1425
+ user: {
1426
+ type: "object";
1427
+ properties: {
1428
+ tags: {
1429
+ type: "object";
1430
+ additionalProperties: {
1431
+ type: "object";
1432
+ properties: {
1433
+ title: {
1434
+ type: "string";
1435
+ description: string;
1436
+ };
1437
+ description: {
1438
+ type: "string";
1439
+ description: string;
1440
+ };
1441
+ };
1442
+ description: string;
1443
+ additionalProperties: false;
1444
+ };
1445
+ };
1446
+ };
1447
+ additionalProperties: false;
1448
+ };
1449
+ conversation: {
1450
+ type: "object";
1451
+ properties: {
1452
+ tags: {
1453
+ type: "object";
1454
+ additionalProperties: {
1455
+ type: "object";
1456
+ properties: {
1457
+ title: {
1458
+ type: "string";
1459
+ description: string;
1460
+ };
1461
+ description: {
1462
+ type: "string";
1463
+ description: string;
1464
+ };
1465
+ };
1466
+ description: string;
1467
+ additionalProperties: false;
1468
+ };
1469
+ };
1470
+ };
1471
+ additionalProperties: false;
1472
+ };
1473
+ message: {
1474
+ type: "object";
1475
+ properties: {
1476
+ tags: {
1477
+ type: "object";
1478
+ additionalProperties: {
1479
+ type: "object";
1480
+ properties: {
1481
+ title: {
1482
+ type: "string";
1483
+ description: string;
1484
+ };
1485
+ description: {
1486
+ type: "string";
1487
+ description: string;
1488
+ };
1489
+ };
1490
+ description: string;
1491
+ additionalProperties: false;
1492
+ };
1493
+ };
1494
+ };
1495
+ additionalProperties: false;
1496
+ };
1453
1497
  code: {
1454
1498
  type: "string";
1455
1499
  description: string;
@@ -1531,58 +1575,98 @@ export declare const state: {
1531
1575
  enum: string[];
1532
1576
  description: string;
1533
1577
  };
1534
- states: {
1578
+ configuration: {
1535
1579
  type: "object";
1536
- additionalProperties: {
1537
- type: "object";
1538
- properties: {
1539
- type: {
1540
- type: "string";
1541
- enum: string[];
1542
- description: string;
1543
- };
1544
- schema: {
1580
+ properties: {
1581
+ data: {
1582
+ type: "object";
1583
+ additionalProperties: true;
1584
+ description: string;
1585
+ };
1586
+ schema: {
1587
+ type: "object";
1588
+ additionalProperties: true;
1589
+ description: string;
1590
+ };
1591
+ };
1592
+ additionalProperties: false;
1593
+ };
1594
+ blocked: {
1595
+ type: "boolean";
1596
+ };
1597
+ user: {
1598
+ type: "object";
1599
+ properties: {
1600
+ tags: {
1601
+ type: "object";
1602
+ additionalProperties: {
1545
1603
  type: "object";
1546
- additionalProperties: true;
1547
- description: string;
1548
- };
1549
- expiry: {
1550
- type: "number";
1551
- minimum: number;
1604
+ properties: {
1605
+ title: {
1606
+ type: "string";
1607
+ description: string;
1608
+ };
1609
+ description: {
1610
+ type: "string";
1611
+ description: string;
1612
+ };
1613
+ };
1552
1614
  description: string;
1615
+ nullable: true;
1616
+ additionalProperties: false;
1553
1617
  };
1554
1618
  };
1555
- required: string[];
1556
- additionalProperties: false;
1557
1619
  };
1558
- description: string;
1620
+ additionalProperties: false;
1559
1621
  };
1560
- tags: {
1622
+ message: {
1561
1623
  type: "object";
1562
1624
  properties: {
1563
- messages: {
1564
- default: never[];
1565
- type: "array";
1566
- items: {
1567
- type: "string";
1568
- };
1569
- };
1570
- conversations: {
1571
- default: never[];
1572
- type: "array";
1573
- items: {
1574
- type: "string";
1625
+ tags: {
1626
+ type: "object";
1627
+ additionalProperties: {
1628
+ type: "object";
1629
+ properties: {
1630
+ title: {
1631
+ type: "string";
1632
+ description: string;
1633
+ };
1634
+ description: {
1635
+ type: "string";
1636
+ description: string;
1637
+ };
1638
+ };
1639
+ description: string;
1640
+ nullable: true;
1641
+ additionalProperties: false;
1575
1642
  };
1576
1643
  };
1577
- users: {
1578
- default: never[];
1579
- type: "array";
1580
- items: {
1581
- type: "string";
1644
+ };
1645
+ additionalProperties: false;
1646
+ };
1647
+ conversation: {
1648
+ type: "object";
1649
+ properties: {
1650
+ tags: {
1651
+ type: "object";
1652
+ additionalProperties: {
1653
+ type: "object";
1654
+ properties: {
1655
+ title: {
1656
+ type: "string";
1657
+ description: string;
1658
+ };
1659
+ description: {
1660
+ type: "string";
1661
+ description: string;
1662
+ };
1663
+ };
1664
+ description: string;
1665
+ nullable: true;
1666
+ additionalProperties: false;
1582
1667
  };
1583
1668
  };
1584
1669
  };
1585
- description: string;
1586
1670
  additionalProperties: false;
1587
1671
  };
1588
1672
  events: {
@@ -1597,9 +1681,35 @@ export declare const state: {
1597
1681
  };
1598
1682
  required: string[];
1599
1683
  description: string;
1684
+ nullable: true;
1685
+ additionalProperties: false;
1686
+ };
1687
+ };
1688
+ states: {
1689
+ type: "object";
1690
+ additionalProperties: {
1691
+ type: "object";
1692
+ properties: {
1693
+ type: {
1694
+ type: "string";
1695
+ enum: string[];
1696
+ description: string;
1697
+ };
1698
+ schema: {
1699
+ type: "object";
1700
+ additionalProperties: true;
1701
+ description: string;
1702
+ };
1703
+ expiry: {
1704
+ type: "number";
1705
+ minimum: number;
1706
+ description: string;
1707
+ };
1708
+ };
1709
+ required: string[];
1710
+ nullable: true;
1600
1711
  additionalProperties: false;
1601
1712
  };
1602
- description: string;
1603
1713
  };
1604
1714
  recurringEvents: {
1605
1715
  type: "object";
@@ -1625,28 +1735,9 @@ export declare const state: {
1625
1735
  };
1626
1736
  };
1627
1737
  required: string[];
1738
+ nullable: true;
1628
1739
  additionalProperties: false;
1629
1740
  };
1630
- description: string;
1631
- };
1632
- configuration: {
1633
- type: "object";
1634
- properties: {
1635
- data: {
1636
- type: "object";
1637
- additionalProperties: true;
1638
- description: string;
1639
- };
1640
- schema: {
1641
- type: "object";
1642
- additionalProperties: true;
1643
- description: string;
1644
- };
1645
- };
1646
- additionalProperties: false;
1647
- };
1648
- blocked: {
1649
- type: "boolean";
1650
1741
  };
1651
1742
  integrations: {
1652
1743
  type: "object";
@@ -2044,8 +2135,12 @@ export declare const state: {
2044
2135
  updatedAt: {
2045
2136
  type: "string";
2046
2137
  };
2138
+ botCount: {
2139
+ type: "number";
2140
+ };
2047
2141
  accountType: {
2048
2142
  type: "string";
2143
+ enum: string[];
2049
2144
  };
2050
2145
  blocked: {
2051
2146
  type: "boolean";
@@ -2060,37 +2155,113 @@ export declare const state: {
2060
2155
  };
2061
2156
  };
2062
2157
  };
2063
- listWorkspaces: {
2158
+ updateWorkspace: {
2064
2159
  name: string;
2065
2160
  description: string;
2066
- method: "get";
2161
+ method: "put";
2067
2162
  path: string;
2068
- disableDefaultParameters: {
2069
- "x-workspace-id": boolean;
2070
- };
2071
2163
  parameters: {
2072
- nextToken: {
2073
- in: "query";
2074
- description: string;
2164
+ id: {
2075
2165
  type: "string";
2166
+ description: string;
2167
+ in: "path";
2076
2168
  };
2077
2169
  };
2078
- response: {
2170
+ requestBody: {
2079
2171
  description: string;
2080
2172
  schema: {
2081
2173
  type: "object";
2082
2174
  properties: {
2083
- workspaces: {
2084
- type: "array";
2085
- items: {
2086
- type: "object";
2087
- properties: {
2088
- id: {
2089
- type: "string";
2090
- };
2091
- name: {
2092
- type: "string";
2093
- };
2175
+ name: {
2176
+ type: "string";
2177
+ minLength: number;
2178
+ maxLength: number;
2179
+ };
2180
+ accountType: {
2181
+ type: "string";
2182
+ enum: string[];
2183
+ };
2184
+ spendingLimit: {
2185
+ type: "number";
2186
+ minimum: number;
2187
+ maximum: number;
2188
+ };
2189
+ };
2190
+ title: string;
2191
+ additionalProperties: false;
2192
+ };
2193
+ };
2194
+ response: {
2195
+ description: string;
2196
+ schema: {
2197
+ type: "object";
2198
+ properties: {
2199
+ id: {
2200
+ type: "string";
2201
+ };
2202
+ name: {
2203
+ type: "string";
2204
+ };
2205
+ ownerId: {
2206
+ type: "string";
2207
+ };
2208
+ createdAt: {
2209
+ type: "string";
2210
+ };
2211
+ updatedAt: {
2212
+ type: "string";
2213
+ };
2214
+ botCount: {
2215
+ type: "number";
2216
+ };
2217
+ accountType: {
2218
+ type: "string";
2219
+ enum: string[];
2220
+ };
2221
+ blocked: {
2222
+ type: "boolean";
2223
+ };
2224
+ spendingLimit: {
2225
+ type: "number";
2226
+ };
2227
+ };
2228
+ required: string[];
2229
+ title: string;
2230
+ additionalProperties: false;
2231
+ };
2232
+ };
2233
+ };
2234
+ listWorkspaces: {
2235
+ name: string;
2236
+ description: string;
2237
+ method: "get";
2238
+ path: string;
2239
+ disableDefaultParameters: {
2240
+ "x-workspace-id": boolean;
2241
+ };
2242
+ parameters: {
2243
+ nextToken: {
2244
+ in: "query";
2245
+ description: string;
2246
+ type: "string";
2247
+ };
2248
+ };
2249
+ response: {
2250
+ description: string;
2251
+ schema: {
2252
+ type: "object";
2253
+ properties: {
2254
+ workspaces: {
2255
+ type: "array";
2256
+ items: {
2257
+ type: "object";
2258
+ properties: {
2259
+ id: {
2260
+ type: "string";
2261
+ };
2262
+ name: {
2263
+ type: "string";
2264
+ };
2094
2265
  ownerId: {
2095
2266
  type: "string";
2096
2267
  };
@@ -2100,6 +2271,13 @@ export declare const state: {
2100
2271
  updatedAt: {
2101
2272
  type: "string";
2102
2273
  };
2274
+ botCount: {
2275
+ type: "number";
2276
+ };
2277
+ accountType: {
2278
+ type: "string";
2279
+ enum: string[];
2280
+ };
2103
2281
  };
2104
2282
  required: string[];
2105
2283
  };
@@ -2140,91 +2318,19 @@ export declare const state: {
2140
2318
  type: "string";
2141
2319
  description: string;
2142
2320
  };
2143
- tags: {
2321
+ configuration: {
2144
2322
  type: "object";
2145
2323
  properties: {
2146
- users: {
2147
- default: never[];
2148
- type: "array";
2149
- items: {
2150
- type: "string";
2151
- };
2324
+ schema: {
2325
+ type: "object";
2326
+ additionalProperties: true;
2327
+ description: string;
2152
2328
  };
2153
2329
  };
2330
+ required: string[];
2154
2331
  description: string;
2155
2332
  additionalProperties: false;
2156
2333
  };
2157
- channels: {
2158
- type: "object";
2159
- additionalProperties: {
2160
- type: "object";
2161
- properties: {
2162
- tags: {
2163
- type: "object";
2164
- properties: {
2165
- messages: {
2166
- default: never[];
2167
- type: "array";
2168
- items: {
2169
- type: "string";
2170
- };
2171
- };
2172
- conversations: {
2173
- default: never[];
2174
- type: "array";
2175
- items: {
2176
- type: "string";
2177
- };
2178
- };
2179
- };
2180
- additionalProperties: false;
2181
- };
2182
- messages: {
2183
- type: "object";
2184
- additionalProperties: {
2185
- type: "object";
2186
- properties: {
2187
- schema: {
2188
- type: "object";
2189
- additionalProperties: true;
2190
- };
2191
- };
2192
- required: string[];
2193
- additionalProperties: false;
2194
- };
2195
- };
2196
- conversation: {
2197
- type: "object";
2198
- properties: {
2199
- creation: {
2200
- type: "object";
2201
- properties: {
2202
- enabled: {
2203
- type: "boolean";
2204
- description: string;
2205
- };
2206
- requiredTags: {
2207
- type: "array";
2208
- items: {
2209
- type: "string";
2210
- };
2211
- description: string;
2212
- };
2213
- };
2214
- required: string[];
2215
- description: string;
2216
- additionalProperties: false;
2217
- };
2218
- };
2219
- required: string[];
2220
- additionalProperties: false;
2221
- };
2222
- };
2223
- required: string[];
2224
- additionalProperties: false;
2225
- };
2226
- description: string;
2227
- };
2228
2334
  states: {
2229
2335
  type: "object";
2230
2336
  additionalProperties: {
@@ -2242,22 +2348,9 @@ export declare const state: {
2242
2348
  };
2243
2349
  };
2244
2350
  required: string[];
2351
+ description: string;
2245
2352
  additionalProperties: false;
2246
2353
  };
2247
- description: string;
2248
- };
2249
- configuration: {
2250
- type: "object";
2251
- properties: {
2252
- schema: {
2253
- type: "object";
2254
- additionalProperties: true;
2255
- description: string;
2256
- };
2257
- };
2258
- required: string[];
2259
- description: string;
2260
- additionalProperties: false;
2261
2354
  };
2262
2355
  events: {
2263
2356
  type: "object";
@@ -2273,7 +2366,6 @@ export declare const state: {
2273
2366
  description: string;
2274
2367
  additionalProperties: false;
2275
2368
  };
2276
- description: string;
2277
2369
  };
2278
2370
  actions: {
2279
2371
  type: "object";
@@ -2304,9 +2396,101 @@ export declare const state: {
2304
2396
  };
2305
2397
  };
2306
2398
  required: string[];
2399
+ description: string;
2400
+ additionalProperties: false;
2401
+ };
2402
+ };
2403
+ channels: {
2404
+ type: "object";
2405
+ additionalProperties: {
2406
+ type: "object";
2407
+ properties: {
2408
+ messages: {
2409
+ type: "object";
2410
+ additionalProperties: {
2411
+ type: "object";
2412
+ properties: {
2413
+ schema: {
2414
+ type: "object";
2415
+ additionalProperties: true;
2416
+ };
2417
+ };
2418
+ required: string[];
2419
+ description: string;
2420
+ additionalProperties: false;
2421
+ };
2422
+ };
2423
+ conversation: {
2424
+ type: "object";
2425
+ properties: {
2426
+ creation: {
2427
+ type: "object";
2428
+ properties: {
2429
+ enabled: {
2430
+ type: "boolean";
2431
+ description: string;
2432
+ };
2433
+ requiredTags: {
2434
+ type: "array";
2435
+ items: {
2436
+ type: "string";
2437
+ };
2438
+ description: string;
2439
+ };
2440
+ };
2441
+ required: string[];
2442
+ description: string;
2443
+ additionalProperties: false;
2444
+ };
2445
+ tags: {
2446
+ type: "object";
2447
+ additionalProperties: {
2448
+ type: "object";
2449
+ properties: {
2450
+ title: {
2451
+ type: "string";
2452
+ description: string;
2453
+ };
2454
+ description: {
2455
+ type: "string";
2456
+ description: string;
2457
+ };
2458
+ };
2459
+ description: string;
2460
+ additionalProperties: false;
2461
+ };
2462
+ };
2463
+ };
2464
+ additionalProperties: false;
2465
+ };
2466
+ message: {
2467
+ type: "object";
2468
+ properties: {
2469
+ tags: {
2470
+ type: "object";
2471
+ additionalProperties: {
2472
+ type: "object";
2473
+ properties: {
2474
+ title: {
2475
+ type: "string";
2476
+ description: string;
2477
+ };
2478
+ description: {
2479
+ type: "string";
2480
+ description: string;
2481
+ };
2482
+ };
2483
+ description: string;
2484
+ additionalProperties: false;
2485
+ };
2486
+ };
2487
+ };
2488
+ additionalProperties: false;
2489
+ };
2490
+ };
2491
+ required: string[];
2307
2492
  additionalProperties: false;
2308
2493
  };
2309
- description: string;
2310
2494
  };
2311
2495
  user: {
2312
2496
  type: "object";
@@ -2330,18 +2514,31 @@ export declare const state: {
2330
2514
  description: string;
2331
2515
  additionalProperties: false;
2332
2516
  };
2517
+ tags: {
2518
+ type: "object";
2519
+ additionalProperties: {
2520
+ type: "object";
2521
+ properties: {
2522
+ title: {
2523
+ type: "string";
2524
+ description: string;
2525
+ };
2526
+ description: {
2527
+ type: "string";
2528
+ description: string;
2529
+ };
2530
+ };
2531
+ description: string;
2532
+ additionalProperties: false;
2533
+ };
2534
+ };
2333
2535
  };
2334
- required: string[];
2335
2536
  additionalProperties: false;
2336
2537
  };
2337
2538
  code: {
2338
2539
  type: "string";
2339
2540
  description: string;
2340
2541
  };
2341
- public: {
2342
- type: "boolean";
2343
- description: string;
2344
- };
2345
2542
  url: {
2346
2543
  type: "string";
2347
2544
  description: string;
@@ -2409,17 +2606,16 @@ export declare const state: {
2409
2606
  schema: {
2410
2607
  type: "object";
2411
2608
  properties: {
2412
- tags: {
2609
+ configuration: {
2413
2610
  type: "object";
2414
2611
  properties: {
2415
- users: {
2416
- default: never[];
2417
- type: "array";
2418
- items: {
2419
- type: "string";
2420
- };
2612
+ schema: {
2613
+ type: "object";
2614
+ additionalProperties: true;
2615
+ description: string;
2421
2616
  };
2422
2617
  };
2618
+ required: string[];
2423
2619
  description: string;
2424
2620
  additionalProperties: false;
2425
2621
  };
@@ -2428,26 +2624,6 @@ export declare const state: {
2428
2624
  additionalProperties: {
2429
2625
  type: "object";
2430
2626
  properties: {
2431
- tags: {
2432
- type: "object";
2433
- properties: {
2434
- messages: {
2435
- default: never[];
2436
- type: "array";
2437
- items: {
2438
- type: "string";
2439
- };
2440
- };
2441
- conversations: {
2442
- default: never[];
2443
- type: "array";
2444
- items: {
2445
- type: "string";
2446
- };
2447
- };
2448
- };
2449
- additionalProperties: false;
2450
- };
2451
2627
  messages: {
2452
2628
  type: "object";
2453
2629
  additionalProperties: {
@@ -2459,6 +2635,8 @@ export declare const state: {
2459
2635
  };
2460
2636
  };
2461
2637
  required: string[];
2638
+ description: string;
2639
+ nullable: true;
2462
2640
  additionalProperties: false;
2463
2641
  };
2464
2642
  };
@@ -2477,56 +2655,97 @@ export declare const state: {
2477
2655
  items: {
2478
2656
  type: "string";
2479
2657
  };
2480
- description: string;
2658
+ description: string;
2659
+ };
2660
+ };
2661
+ required: string[];
2662
+ description: string;
2663
+ additionalProperties: false;
2664
+ };
2665
+ tags: {
2666
+ type: "object";
2667
+ additionalProperties: {
2668
+ type: "object";
2669
+ properties: {
2670
+ title: {
2671
+ type: "string";
2672
+ description: string;
2673
+ };
2674
+ description: {
2675
+ type: "string";
2676
+ description: string;
2677
+ };
2678
+ };
2679
+ description: string;
2680
+ nullable: true;
2681
+ additionalProperties: false;
2682
+ };
2683
+ };
2684
+ };
2685
+ additionalProperties: false;
2686
+ };
2687
+ message: {
2688
+ type: "object";
2689
+ properties: {
2690
+ tags: {
2691
+ type: "object";
2692
+ additionalProperties: {
2693
+ type: "object";
2694
+ properties: {
2695
+ title: {
2696
+ type: "string";
2697
+ description: string;
2698
+ };
2699
+ description: {
2700
+ type: "string";
2701
+ description: string;
2702
+ };
2481
2703
  };
2704
+ description: string;
2705
+ nullable: true;
2706
+ additionalProperties: false;
2482
2707
  };
2483
- required: string[];
2484
- description: string;
2485
- additionalProperties: false;
2486
2708
  };
2487
2709
  };
2488
- required: string[];
2489
2710
  additionalProperties: false;
2490
2711
  };
2491
2712
  };
2492
- required: string[];
2493
2713
  additionalProperties: false;
2494
2714
  };
2495
- description: string;
2496
2715
  };
2497
- states: {
2716
+ actions: {
2498
2717
  type: "object";
2499
2718
  additionalProperties: {
2500
2719
  type: "object";
2501
2720
  properties: {
2502
- type: {
2503
- type: "string";
2504
- enum: string[];
2505
- description: string;
2721
+ input: {
2722
+ type: "object";
2723
+ properties: {
2724
+ schema: {
2725
+ type: "object";
2726
+ additionalProperties: true;
2727
+ };
2728
+ };
2729
+ required: string[];
2730
+ additionalProperties: false;
2506
2731
  };
2507
- schema: {
2732
+ output: {
2508
2733
  type: "object";
2509
- additionalProperties: true;
2510
- description: string;
2734
+ properties: {
2735
+ schema: {
2736
+ type: "object";
2737
+ additionalProperties: true;
2738
+ };
2739
+ };
2740
+ required: string[];
2741
+ additionalProperties: false;
2511
2742
  };
2512
2743
  };
2513
2744
  required: string[];
2745
+ description: string;
2746
+ nullable: true;
2514
2747
  additionalProperties: false;
2515
2748
  };
2516
- description: string;
2517
- };
2518
- configuration: {
2519
- type: "object";
2520
- properties: {
2521
- schema: {
2522
- type: "object";
2523
- additionalProperties: true;
2524
- description: string;
2525
- };
2526
- };
2527
- required: string[];
2528
- description: string;
2529
- additionalProperties: false;
2530
2749
  };
2531
2750
  events: {
2532
2751
  type: "object";
@@ -2540,42 +2759,31 @@ export declare const state: {
2540
2759
  };
2541
2760
  required: string[];
2542
2761
  description: string;
2762
+ nullable: true;
2543
2763
  additionalProperties: false;
2544
2764
  };
2545
- description: string;
2546
2765
  };
2547
- actions: {
2766
+ states: {
2548
2767
  type: "object";
2549
2768
  additionalProperties: {
2550
2769
  type: "object";
2551
2770
  properties: {
2552
- input: {
2553
- type: "object";
2554
- properties: {
2555
- schema: {
2556
- type: "object";
2557
- additionalProperties: true;
2558
- };
2559
- };
2560
- required: string[];
2561
- additionalProperties: false;
2771
+ type: {
2772
+ type: "string";
2773
+ enum: string[];
2774
+ description: string;
2562
2775
  };
2563
- output: {
2776
+ schema: {
2564
2777
  type: "object";
2565
- properties: {
2566
- schema: {
2567
- type: "object";
2568
- additionalProperties: true;
2569
- };
2570
- };
2571
- required: string[];
2572
- additionalProperties: false;
2778
+ additionalProperties: true;
2779
+ description: string;
2573
2780
  };
2574
2781
  };
2575
2782
  required: string[];
2783
+ description: string;
2784
+ nullable: true;
2576
2785
  additionalProperties: false;
2577
2786
  };
2578
- description: string;
2579
2787
  };
2580
2788
  user: {
2581
2789
  type: "object";
@@ -2599,22 +2807,32 @@ export declare const state: {
2599
2807
  description: string;
2600
2808
  additionalProperties: false;
2601
2809
  };
2810
+ tags: {
2811
+ type: "object";
2812
+ additionalProperties: {
2813
+ type: "object";
2814
+ properties: {
2815
+ title: {
2816
+ type: "string";
2817
+ description: string;
2818
+ };
2819
+ description: {
2820
+ type: "string";
2821
+ description: string;
2822
+ };
2823
+ };
2824
+ description: string;
2825
+ nullable: true;
2826
+ additionalProperties: false;
2827
+ };
2828
+ };
2602
2829
  };
2603
- required: string[];
2604
2830
  additionalProperties: false;
2605
2831
  };
2606
2832
  code: {
2607
2833
  type: "string";
2608
2834
  description: string;
2609
2835
  };
2610
- public: {
2611
- type: "boolean";
2612
- description: string;
2613
- };
2614
- url: {
2615
- type: "string";
2616
- description: string;
2617
- };
2618
2836
  icon: {
2619
2837
  type: "string";
2620
2838
  description: string;
@@ -2634,6 +2852,10 @@ export declare const state: {
2634
2852
  maxLength: number;
2635
2853
  description: string;
2636
2854
  };
2855
+ url: {
2856
+ type: "string";
2857
+ description: string;
2858
+ };
2637
2859
  };
2638
2860
  title: string;
2639
2861
  additionalProperties: false;
@@ -2815,32 +3037,182 @@ export declare const state: {
2815
3037
  additionalProperties: false;
2816
3038
  };
2817
3039
  };
2818
- };
2819
- getIntegrationByName: {
2820
- name: string;
2821
- description: string;
2822
- method: "get";
2823
- section: "integration";
2824
- path: string;
2825
- parameters: {
2826
- name: {
2827
- type: "string";
2828
- description: string;
2829
- in: "path";
2830
- };
2831
- version: {
2832
- type: "string";
2833
- description: string;
2834
- in: "path";
2835
- };
2836
- };
3040
+ };
3041
+ getIntegrationByName: {
3042
+ name: string;
3043
+ description: string;
3044
+ method: "get";
3045
+ section: "integration";
3046
+ path: string;
3047
+ parameters: {
3048
+ name: {
3049
+ type: "string";
3050
+ description: string;
3051
+ in: "path";
3052
+ };
3053
+ version: {
3054
+ type: "string";
3055
+ description: string;
3056
+ in: "path";
3057
+ };
3058
+ };
3059
+ response: {
3060
+ description: string;
3061
+ schema: {
3062
+ type: "object";
3063
+ properties: {
3064
+ integration: {
3065
+ $ref: string;
3066
+ };
3067
+ };
3068
+ required: string[];
3069
+ title: string;
3070
+ additionalProperties: false;
3071
+ };
3072
+ };
3073
+ };
3074
+ deleteIntegration: {
3075
+ name: string;
3076
+ description: string;
3077
+ method: "delete";
3078
+ section: "integration";
3079
+ path: string;
3080
+ parameters: {
3081
+ id: {
3082
+ type: "string";
3083
+ description: string;
3084
+ in: "path";
3085
+ };
3086
+ };
3087
+ response: {
3088
+ description: string;
3089
+ schema: {
3090
+ type: "object";
3091
+ title: string;
3092
+ additionalProperties: false;
3093
+ };
3094
+ };
3095
+ };
3096
+ listWorkspaceMembers: {
3097
+ name: string;
3098
+ description: string;
3099
+ method: "get";
3100
+ path: string;
3101
+ parameters: {
3102
+ nextToken: {
3103
+ in: "query";
3104
+ description: string;
3105
+ type: "string";
3106
+ };
3107
+ };
3108
+ response: {
3109
+ description: string;
3110
+ schema: {
3111
+ type: "object";
3112
+ properties: {
3113
+ members: {
3114
+ type: "array";
3115
+ items: {
3116
+ type: "object";
3117
+ properties: {
3118
+ id: {
3119
+ type: "string";
3120
+ };
3121
+ userId: {
3122
+ type: "string";
3123
+ format: string;
3124
+ };
3125
+ email: {
3126
+ type: "string";
3127
+ };
3128
+ role: {
3129
+ type: "string";
3130
+ enum: string[];
3131
+ };
3132
+ };
3133
+ required: string[];
3134
+ };
3135
+ };
3136
+ meta: {
3137
+ type: "object";
3138
+ properties: {
3139
+ nextToken: {
3140
+ type: "string";
3141
+ description: string;
3142
+ };
3143
+ };
3144
+ additionalProperties: false;
3145
+ };
3146
+ };
3147
+ required: string[];
3148
+ title: string;
3149
+ additionalProperties: false;
3150
+ };
3151
+ };
3152
+ };
3153
+ deleteWorkspaceMember: {
3154
+ name: string;
3155
+ description: string;
3156
+ method: "delete";
3157
+ path: string;
3158
+ parameters: {
3159
+ id: {
3160
+ type: "string";
3161
+ description: string;
3162
+ in: "path";
3163
+ };
3164
+ };
3165
+ response: {
3166
+ description: string;
3167
+ schema: {
3168
+ type: "object";
3169
+ title: string;
3170
+ additionalProperties: false;
3171
+ };
3172
+ };
3173
+ };
3174
+ createWorkspaceMember: {
3175
+ name: string;
3176
+ description: string;
3177
+ method: "post";
3178
+ path: string;
3179
+ requestBody: {
3180
+ description: string;
3181
+ schema: {
3182
+ type: "object";
3183
+ properties: {
3184
+ email: {
3185
+ type: "string";
3186
+ format: string;
3187
+ };
3188
+ role: {
3189
+ type: "string";
3190
+ enum: string[];
3191
+ };
3192
+ };
3193
+ required: string[];
3194
+ title: string;
3195
+ additionalProperties: false;
3196
+ };
3197
+ };
2837
3198
  response: {
2838
3199
  description: string;
2839
3200
  schema: {
2840
3201
  type: "object";
2841
3202
  properties: {
2842
- integration: {
2843
- $ref: string;
3203
+ id: {
3204
+ type: "string";
3205
+ };
3206
+ userId: {
3207
+ type: "string";
3208
+ format: string;
3209
+ };
3210
+ email: {
3211
+ type: "string";
3212
+ };
3213
+ role: {
3214
+ type: "string";
3215
+ enum: string[];
2844
3216
  };
2845
3217
  };
2846
3218
  required: string[];
@@ -2848,12 +3220,12 @@ export declare const state: {
2848
3220
  additionalProperties: false;
2849
3221
  };
2850
3222
  };
3223
+ parameters: {};
2851
3224
  };
2852
- deleteIntegration: {
3225
+ updateWorkspaceMember: {
2853
3226
  name: string;
2854
3227
  description: string;
2855
- method: "delete";
2856
- section: "integration";
3228
+ method: "put";
2857
3229
  path: string;
2858
3230
  parameters: {
2859
3231
  id: {
@@ -2862,10 +3234,41 @@ export declare const state: {
2862
3234
  in: "path";
2863
3235
  };
2864
3236
  };
3237
+ requestBody: {
3238
+ description: string;
3239
+ schema: {
3240
+ type: "object";
3241
+ properties: {
3242
+ role: {
3243
+ type: "string";
3244
+ enum: string[];
3245
+ };
3246
+ };
3247
+ title: string;
3248
+ additionalProperties: false;
3249
+ };
3250
+ };
2865
3251
  response: {
2866
3252
  description: string;
2867
3253
  schema: {
2868
3254
  type: "object";
3255
+ properties: {
3256
+ id: {
3257
+ type: "string";
3258
+ };
3259
+ userId: {
3260
+ type: "string";
3261
+ format: string;
3262
+ };
3263
+ email: {
3264
+ type: "string";
3265
+ };
3266
+ role: {
3267
+ type: "string";
3268
+ enum: string[];
3269
+ };
3270
+ };
3271
+ required: string[];
2869
3272
  title: string;
2870
3273
  additionalProperties: false;
2871
3274
  };
@@ -3149,8 +3552,11 @@ export declare const state: {
3149
3552
  createBotBody: true;
3150
3553
  updateBotBody: true;
3151
3554
  transferBotBody: true;
3555
+ updateWorkspaceBody: true;
3152
3556
  createIntegrationBody: true;
3153
3557
  updateIntegrationBody: true;
3558
+ createWorkspaceMemberBody: true;
3559
+ updateWorkspaceMemberBody: true;
3154
3560
  introspectBody: true;
3155
3561
  createFileBody: true;
3156
3562
  };
@@ -3194,6 +3600,7 @@ export declare const state: {
3194
3600
  getBotWebchatResponse: true;
3195
3601
  getBotAnalyticsResponse: true;
3196
3602
  getWorkspaceResponse: true;
3603
+ updateWorkspaceResponse: true;
3197
3604
  listWorkspacesResponse: true;
3198
3605
  createIntegrationResponse: true;
3199
3606
  updateIntegrationResponse: true;
@@ -3202,6 +3609,10 @@ export declare const state: {
3202
3609
  getIntegrationLogsResponse: true;
3203
3610
  getIntegrationByNameResponse: true;
3204
3611
  deleteIntegrationResponse: true;
3612
+ listWorkspaceMembersResponse: true;
3613
+ deleteWorkspaceMemberResponse: true;
3614
+ createWorkspaceMemberResponse: true;
3615
+ updateWorkspaceMemberResponse: true;
3205
3616
  introspectResponse: true;
3206
3617
  createFileResponse: true;
3207
3618
  getFileResponse: true;
@@ -3277,6 +3688,84 @@ export declare const state: {
3277
3688
  };
3278
3689
  description: string;
3279
3690
  };
3691
+ user: {
3692
+ type: "object";
3693
+ properties: {
3694
+ tags: {
3695
+ type: "object";
3696
+ additionalProperties: {
3697
+ type: "object";
3698
+ properties: {
3699
+ title: {
3700
+ type: "string";
3701
+ description: string;
3702
+ };
3703
+ description: {
3704
+ type: "string";
3705
+ description: string;
3706
+ };
3707
+ };
3708
+ description: string;
3709
+ additionalProperties: false;
3710
+ };
3711
+ };
3712
+ };
3713
+ required: string[];
3714
+ description: string;
3715
+ additionalProperties: false;
3716
+ };
3717
+ conversation: {
3718
+ type: "object";
3719
+ properties: {
3720
+ tags: {
3721
+ type: "object";
3722
+ additionalProperties: {
3723
+ type: "object";
3724
+ properties: {
3725
+ title: {
3726
+ type: "string";
3727
+ description: string;
3728
+ };
3729
+ description: {
3730
+ type: "string";
3731
+ description: string;
3732
+ };
3733
+ };
3734
+ description: string;
3735
+ additionalProperties: false;
3736
+ };
3737
+ };
3738
+ };
3739
+ required: string[];
3740
+ description: string;
3741
+ additionalProperties: false;
3742
+ };
3743
+ message: {
3744
+ type: "object";
3745
+ properties: {
3746
+ tags: {
3747
+ type: "object";
3748
+ additionalProperties: {
3749
+ type: "object";
3750
+ properties: {
3751
+ title: {
3752
+ type: "string";
3753
+ description: string;
3754
+ };
3755
+ description: {
3756
+ type: "string";
3757
+ description: string;
3758
+ };
3759
+ };
3760
+ description: string;
3761
+ additionalProperties: false;
3762
+ };
3763
+ };
3764
+ };
3765
+ required: string[];
3766
+ description: string;
3767
+ additionalProperties: false;
3768
+ };
3280
3769
  states: {
3281
3770
  type: "object";
3282
3771
  additionalProperties: {
@@ -3303,34 +3792,6 @@ export declare const state: {
3303
3792
  };
3304
3793
  description: string;
3305
3794
  };
3306
- tags: {
3307
- type: "object";
3308
- properties: {
3309
- messages: {
3310
- default: never[];
3311
- type: "array";
3312
- items: {
3313
- type: "string";
3314
- };
3315
- };
3316
- conversations: {
3317
- default: never[];
3318
- type: "array";
3319
- items: {
3320
- type: "string";
3321
- };
3322
- };
3323
- users: {
3324
- default: never[];
3325
- type: "array";
3326
- items: {
3327
- type: "string";
3328
- };
3329
- };
3330
- };
3331
- description: string;
3332
- additionalProperties: false;
3333
- };
3334
3795
  configuration: {
3335
3796
  type: "object";
3336
3797
  properties: {
@@ -3460,31 +3921,24 @@ export declare const state: {
3460
3921
  type: "string";
3461
3922
  description: string;
3462
3923
  };
3924
+ configuration: {
3925
+ type: "object";
3926
+ properties: {
3927
+ schema: {
3928
+ type: "object";
3929
+ additionalProperties: true;
3930
+ description: string;
3931
+ };
3932
+ };
3933
+ required: string[];
3934
+ description: string;
3935
+ additionalProperties: false;
3936
+ };
3463
3937
  channels: {
3464
3938
  type: "object";
3465
3939
  additionalProperties: {
3466
3940
  type: "object";
3467
3941
  properties: {
3468
- tags: {
3469
- type: "object";
3470
- properties: {
3471
- messages: {
3472
- default: never[];
3473
- type: "array";
3474
- items: {
3475
- type: "string";
3476
- };
3477
- };
3478
- conversations: {
3479
- default: never[];
3480
- type: "array";
3481
- items: {
3482
- type: "string";
3483
- };
3484
- };
3485
- };
3486
- additionalProperties: false;
3487
- };
3488
3942
  messages: {
3489
3943
  type: "object";
3490
3944
  additionalProperties: {
@@ -3496,12 +3950,31 @@ export declare const state: {
3496
3950
  };
3497
3951
  };
3498
3952
  required: string[];
3953
+ description: string;
3499
3954
  additionalProperties: false;
3500
3955
  };
3501
3956
  };
3502
3957
  conversation: {
3503
3958
  type: "object";
3504
3959
  properties: {
3960
+ tags: {
3961
+ type: "object";
3962
+ additionalProperties: {
3963
+ type: "object";
3964
+ properties: {
3965
+ title: {
3966
+ type: "string";
3967
+ description: string;
3968
+ };
3969
+ description: {
3970
+ type: "string";
3971
+ description: string;
3972
+ };
3973
+ };
3974
+ description: string;
3975
+ additionalProperties: false;
3976
+ };
3977
+ };
3505
3978
  creation: {
3506
3979
  type: "object";
3507
3980
  properties: {
@@ -3523,16 +3996,42 @@ export declare const state: {
3523
3996
  };
3524
3997
  };
3525
3998
  required: string[];
3999
+ description: string;
4000
+ additionalProperties: false;
4001
+ };
4002
+ message: {
4003
+ type: "object";
4004
+ properties: {
4005
+ tags: {
4006
+ type: "object";
4007
+ additionalProperties: {
4008
+ type: "object";
4009
+ properties: {
4010
+ title: {
4011
+ type: "string";
4012
+ description: string;
4013
+ };
4014
+ description: {
4015
+ type: "string";
4016
+ description: string;
4017
+ };
4018
+ };
4019
+ description: string;
4020
+ additionalProperties: false;
4021
+ };
4022
+ };
4023
+ };
4024
+ required: string[];
4025
+ description: string;
3526
4026
  additionalProperties: false;
3527
4027
  };
3528
4028
  };
3529
4029
  required: string[];
4030
+ description: string;
3530
4031
  additionalProperties: false;
3531
4032
  };
3532
- description: string;
3533
4033
  };
3534
4034
  states: {
3535
- default: {};
3536
4035
  type: "object";
3537
4036
  additionalProperties: {
3538
4037
  type: "object";
@@ -3549,22 +4048,9 @@ export declare const state: {
3549
4048
  };
3550
4049
  };
3551
4050
  required: string[];
4051
+ description: string;
3552
4052
  additionalProperties: false;
3553
4053
  };
3554
- description: string;
3555
- };
3556
- configuration: {
3557
- type: "object";
3558
- properties: {
3559
- schema: {
3560
- type: "object";
3561
- additionalProperties: true;
3562
- description: string;
3563
- };
3564
- };
3565
- required: string[];
3566
- description: string;
3567
- additionalProperties: false;
3568
4054
  };
3569
4055
  events: {
3570
4056
  type: "object";
@@ -3580,7 +4066,6 @@ export declare const state: {
3580
4066
  description: string;
3581
4067
  additionalProperties: false;
3582
4068
  };
3583
- description: string;
3584
4069
  };
3585
4070
  actions: {
3586
4071
  type: "object";
@@ -3611,13 +4096,31 @@ export declare const state: {
3611
4096
  };
3612
4097
  };
3613
4098
  required: string[];
4099
+ description: string;
3614
4100
  additionalProperties: false;
3615
4101
  };
3616
- description: string;
3617
4102
  };
3618
4103
  user: {
3619
4104
  type: "object";
3620
4105
  properties: {
4106
+ tags: {
4107
+ type: "object";
4108
+ additionalProperties: {
4109
+ type: "object";
4110
+ properties: {
4111
+ title: {
4112
+ type: "string";
4113
+ description: string;
4114
+ };
4115
+ description: {
4116
+ type: "string";
4117
+ description: string;
4118
+ };
4119
+ };
4120
+ description: string;
4121
+ additionalProperties: false;
4122
+ };
4123
+ };
3621
4124
  creation: {
3622
4125
  type: "object";
3623
4126
  properties: {
@@ -3639,6 +4142,7 @@ export declare const state: {
3639
4142
  };
3640
4143
  };
3641
4144
  required: string[];
4145
+ description: string;
3642
4146
  additionalProperties: false;
3643
4147
  };
3644
4148
  dev: {
@@ -3689,8 +4193,12 @@ export declare const state: {
3689
4193
  updatedAt: {
3690
4194
  type: "string";
3691
4195
  };
4196
+ botCount: {
4197
+ type: "number";
4198
+ };
3692
4199
  accountType: {
3693
4200
  type: "string";
4201
+ enum: string[];
3694
4202
  };
3695
4203
  blocked: {
3696
4204
  type: "boolean";