@next-bricks/ai-portal 0.52.0 → 0.54.0

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.
Files changed (44) hide show
  1. package/dist/bricks.json +43 -35
  2. package/dist/chunks/6201.610c66e3.js +2 -0
  3. package/dist/chunks/6201.610c66e3.js.map +1 -0
  4. package/dist/chunks/7713.278cfb8b.js +2 -0
  5. package/dist/chunks/7713.278cfb8b.js.map +1 -0
  6. package/dist/chunks/chat-box.279647b5.js +2 -0
  7. package/dist/chunks/chat-box.279647b5.js.map +1 -0
  8. package/dist/chunks/flow-tabs.222a11ea.js +3 -0
  9. package/dist/chunks/flow-tabs.222a11ea.js.map +1 -0
  10. package/dist/chunks/main.72d51c8f.js +2 -0
  11. package/dist/chunks/{main.4cb00675.js.map → main.72d51c8f.js.map} +1 -1
  12. package/dist/chunks/set-chat-command.367b9c88.js +2 -0
  13. package/dist/chunks/set-chat-command.367b9c88.js.map +1 -0
  14. package/dist/chunks/stage-flow.1ece0479.js +2 -0
  15. package/dist/chunks/stage-flow.1ece0479.js.map +1 -0
  16. package/dist/examples.json +19 -16
  17. package/dist/images/60cd488d.svg +6 -0
  18. package/dist/images/ecaecc18.svg +6 -0
  19. package/dist/index.6e1371ec.js +2 -0
  20. package/dist/index.6e1371ec.js.map +1 -0
  21. package/dist/manifest.json +384 -298
  22. package/dist/types.json +1507 -736
  23. package/dist-types/bootstrap.d.ts +2 -0
  24. package/dist-types/chat-box/index.d.ts +3 -1
  25. package/dist-types/data-providers/set-chat-command.d.ts +7 -0
  26. package/dist-types/data-providers/set-chat-command.spec.d.ts +1 -0
  27. package/dist-types/shared/interfaces.d.ts +9 -0
  28. package/dist-types/stage-flow/i18n.d.ts +23 -0
  29. package/dist-types/stage-flow/index.d.ts +39 -0
  30. package/dist-types/stage-flow/index.spec.d.ts +1 -0
  31. package/docs/stage-flow.md +32 -0
  32. package/package.json +2 -2
  33. package/dist/chunks/6201.58eeb93e.js +0 -2
  34. package/dist/chunks/6201.58eeb93e.js.map +0 -1
  35. package/dist/chunks/943.7073ef6f.js +0 -2
  36. package/dist/chunks/943.7073ef6f.js.map +0 -1
  37. package/dist/chunks/chat-box.59ab1b62.js +0 -2
  38. package/dist/chunks/chat-box.59ab1b62.js.map +0 -1
  39. package/dist/chunks/flow-tabs.ba72493e.js +0 -3
  40. package/dist/chunks/flow-tabs.ba72493e.js.map +0 -1
  41. package/dist/chunks/main.4cb00675.js +0 -2
  42. package/dist/index.fede9e49.js +0 -2
  43. package/dist/index.fede9e49.js.map +0 -1
  44. /package/dist/chunks/{flow-tabs.ba72493e.js.LICENSE.txt → flow-tabs.222a11ea.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -298,6 +298,89 @@
298
298
  "value": "string"
299
299
  },
300
300
  "computed": false
301
+ },
302
+ {
303
+ "type": "propertySignature",
304
+ "key": {
305
+ "type": "identifier",
306
+ "name": "cmd"
307
+ },
308
+ "annotation": {
309
+ "type": "reference",
310
+ "typeName": {
311
+ "type": "identifier",
312
+ "name": "CommandPayload"
313
+ }
314
+ },
315
+ "optional": true,
316
+ "computed": false
317
+ }
318
+ ]
319
+ },
320
+ {
321
+ "type": "typeAlias",
322
+ "name": "CommandPayload",
323
+ "annotation": {
324
+ "type": "reference",
325
+ "typeName": {
326
+ "type": "identifier",
327
+ "name": "CommandPayloadServiceFlowStarting"
328
+ }
329
+ }
330
+ },
331
+ {
332
+ "type": "interface",
333
+ "name": "CommandPayloadServiceFlowStarting",
334
+ "body": [
335
+ {
336
+ "type": "propertySignature",
337
+ "key": {
338
+ "type": "identifier",
339
+ "name": "type"
340
+ },
341
+ "annotation": {
342
+ "type": "jsLiteral",
343
+ "value": "serviceFlowStarting"
344
+ },
345
+ "computed": false
346
+ },
347
+ {
348
+ "type": "propertySignature",
349
+ "key": {
350
+ "type": "identifier",
351
+ "name": "serviceFlowStarting"
352
+ },
353
+ "annotation": {
354
+ "type": "typeLiteral",
355
+ "members": [
356
+ {
357
+ "type": "propertySignature",
358
+ "key": {
359
+ "type": "identifier",
360
+ "name": "spaceInstanceId"
361
+ },
362
+ "annotation": {
363
+ "type": "keyword",
364
+ "value": "string"
365
+ },
366
+ "computed": false
367
+ },
368
+ {
369
+ "type": "propertySignature",
370
+ "key": {
371
+ "type": "identifier",
372
+ "name": "flowInstanceId"
373
+ },
374
+ "annotation": {
375
+ "type": "keyword",
376
+ "value": "string"
377
+ },
378
+ "optional": true,
379
+ "computed": false
380
+ }
381
+ ]
382
+ },
383
+ "computed": false
301
384
  }
302
385
  ]
303
386
  }
@@ -352,6 +435,89 @@
352
435
  "value": "string"
353
436
  },
354
437
  "computed": false
438
+ },
439
+ {
440
+ "type": "propertySignature",
441
+ "key": {
442
+ "type": "identifier",
443
+ "name": "cmd"
444
+ },
445
+ "annotation": {
446
+ "type": "reference",
447
+ "typeName": {
448
+ "type": "identifier",
449
+ "name": "CommandPayload"
450
+ }
451
+ },
452
+ "optional": true,
453
+ "computed": false
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ "type": "typeAlias",
459
+ "name": "CommandPayload",
460
+ "annotation": {
461
+ "type": "reference",
462
+ "typeName": {
463
+ "type": "identifier",
464
+ "name": "CommandPayloadServiceFlowStarting"
465
+ }
466
+ }
467
+ },
468
+ {
469
+ "type": "interface",
470
+ "name": "CommandPayloadServiceFlowStarting",
471
+ "body": [
472
+ {
473
+ "type": "propertySignature",
474
+ "key": {
475
+ "type": "identifier",
476
+ "name": "type"
477
+ },
478
+ "annotation": {
479
+ "type": "jsLiteral",
480
+ "value": "serviceFlowStarting"
481
+ },
482
+ "computed": false
483
+ },
484
+ {
485
+ "type": "propertySignature",
486
+ "key": {
487
+ "type": "identifier",
488
+ "name": "serviceFlowStarting"
489
+ },
490
+ "annotation": {
491
+ "type": "typeLiteral",
492
+ "members": [
493
+ {
494
+ "type": "propertySignature",
495
+ "key": {
496
+ "type": "identifier",
497
+ "name": "spaceInstanceId"
498
+ },
499
+ "annotation": {
500
+ "type": "keyword",
501
+ "value": "string"
502
+ },
503
+ "computed": false
504
+ },
505
+ {
506
+ "type": "propertySignature",
507
+ "key": {
508
+ "type": "identifier",
509
+ "name": "flowInstanceId"
510
+ },
511
+ "annotation": {
512
+ "type": "keyword",
513
+ "value": "string"
514
+ },
515
+ "optional": true,
516
+ "computed": false
517
+ }
518
+ ]
519
+ },
520
+ "computed": false
355
521
  }
356
522
  ]
357
523
  }
@@ -367,6 +533,71 @@
367
533
  }
368
534
  }
369
535
  },
536
+ "ai-portal.set-chat-command": {
537
+ "type": "provider",
538
+ "params": [
539
+ {
540
+ "name": "command",
541
+ "annotation": {
542
+ "type": "union",
543
+ "types": [
544
+ {
545
+ "type": "reference",
546
+ "typeName": {
547
+ "type": "identifier",
548
+ "name": "ChatCommand"
549
+ }
550
+ },
551
+ {
552
+ "type": "keyword",
553
+ "value": "null"
554
+ }
555
+ ]
556
+ }
557
+ }
558
+ ],
559
+ "returns": {
560
+ "annotation": {
561
+ "type": "keyword",
562
+ "value": "void"
563
+ }
564
+ },
565
+ "types": [
566
+ {
567
+ "type": "interface",
568
+ "name": "ChatCommand",
569
+ "body": [
570
+ {
571
+ "type": "propertySignature",
572
+ "key": {
573
+ "type": "identifier",
574
+ "name": "command"
575
+ },
576
+ "annotation": {
577
+ "type": "keyword",
578
+ "value": "string"
579
+ },
580
+ "computed": false
581
+ },
582
+ {
583
+ "type": "propertySignature",
584
+ "key": {
585
+ "type": "identifier",
586
+ "name": "payload"
587
+ },
588
+ "annotation": {
589
+ "type": "reference",
590
+ "typeName": {
591
+ "type": "identifier",
592
+ "name": "CommandPayload"
593
+ }
594
+ },
595
+ "computed": false
596
+ }
597
+ ]
598
+ }
599
+ ]
600
+ },
370
601
  "ai-portal.page-container": {
371
602
  "properties": [
372
603
  {
@@ -551,20 +782,20 @@
551
782
  "events": [],
552
783
  "methods": []
553
784
  },
554
- "ai-portal.blank-state": {
785
+ "ai-portal.sticky-container": {
555
786
  "properties": [
556
787
  {
557
- "name": "illustration",
788
+ "name": "variant",
558
789
  "annotation": {
559
790
  "type": "reference",
560
791
  "typeName": {
561
792
  "type": "identifier",
562
- "name": "BlankStateIllustration"
793
+ "name": "StickyContainerVariant"
563
794
  }
564
795
  }
565
796
  },
566
797
  {
567
- "name": "description",
798
+ "name": "textContent",
568
799
  "annotation": {
569
800
  "type": "keyword",
570
801
  "value": "string"
@@ -576,45 +807,37 @@
576
807
  "types": [
577
808
  {
578
809
  "type": "typeAlias",
579
- "name": "BlankStateIllustration",
810
+ "name": "StickyContainerVariant",
580
811
  "annotation": {
581
812
  "type": "union",
582
813
  "types": [
583
814
  {
584
815
  "type": "jsLiteral",
585
- "value": "goals"
586
- },
587
- {
588
- "type": "jsLiteral",
589
- "value": "activities"
590
- },
591
- {
592
- "type": "jsLiteral",
593
- "value": "collaboration-spaces"
816
+ "value": "default"
594
817
  },
595
818
  {
596
819
  "type": "jsLiteral",
597
- "value": "serviceflows"
820
+ "value": "home"
598
821
  }
599
822
  ]
600
823
  }
601
824
  }
602
825
  ]
603
826
  },
604
- "ai-portal.sticky-container": {
827
+ "ai-portal.blank-state": {
605
828
  "properties": [
606
829
  {
607
- "name": "variant",
830
+ "name": "illustration",
608
831
  "annotation": {
609
832
  "type": "reference",
610
833
  "typeName": {
611
834
  "type": "identifier",
612
- "name": "StickyContainerVariant"
835
+ "name": "BlankStateIllustration"
613
836
  }
614
837
  }
615
838
  },
616
839
  {
617
- "name": "textContent",
840
+ "name": "description",
618
841
  "annotation": {
619
842
  "type": "keyword",
620
843
  "value": "string"
@@ -626,17 +849,25 @@
626
849
  "types": [
627
850
  {
628
851
  "type": "typeAlias",
629
- "name": "StickyContainerVariant",
852
+ "name": "BlankStateIllustration",
630
853
  "annotation": {
631
854
  "type": "union",
632
855
  "types": [
633
856
  {
634
857
  "type": "jsLiteral",
635
- "value": "default"
858
+ "value": "goals"
636
859
  },
637
860
  {
638
861
  "type": "jsLiteral",
639
- "value": "home"
862
+ "value": "activities"
863
+ },
864
+ {
865
+ "type": "jsLiteral",
866
+ "value": "collaboration-spaces"
867
+ },
868
+ {
869
+ "type": "jsLiteral",
870
+ "value": "serviceflows"
640
871
  }
641
872
  ]
642
873
  }
@@ -963,8 +1194,11 @@
963
1194
  "type": "union",
964
1195
  "types": [
965
1196
  {
966
- "type": "keyword",
967
- "value": "string"
1197
+ "type": "reference",
1198
+ "typeName": {
1199
+ "type": "identifier",
1200
+ "name": "CommandPayload"
1201
+ }
968
1202
  },
969
1203
  {
970
1204
  "type": "keyword",
@@ -1077,8 +1311,24 @@
1077
1311
  },
1078
1312
  "optional": true,
1079
1313
  "computed": false
1080
- }
1081
- ]
1314
+ },
1315
+ {
1316
+ "type": "propertySignature",
1317
+ "key": {
1318
+ "type": "identifier",
1319
+ "name": "payload"
1320
+ },
1321
+ "annotation": {
1322
+ "type": "reference",
1323
+ "typeName": {
1324
+ "type": "identifier",
1325
+ "name": "CommandPayload"
1326
+ }
1327
+ },
1328
+ "optional": true,
1329
+ "computed": false
1330
+ }
1331
+ ]
1082
1332
  }
1083
1333
  ]
1084
1334
  },
@@ -1517,6 +1767,144 @@
1517
1767
  }
1518
1768
  ]
1519
1769
  },
1770
+ "ai-portal.preview-container": {
1771
+ "properties": [
1772
+ {
1773
+ "name": "source",
1774
+ "annotation": {
1775
+ "type": "keyword",
1776
+ "value": "string"
1777
+ }
1778
+ },
1779
+ {
1780
+ "name": "url",
1781
+ "annotation": {
1782
+ "type": "keyword",
1783
+ "value": "string"
1784
+ }
1785
+ }
1786
+ ],
1787
+ "events": [],
1788
+ "methods": []
1789
+ },
1790
+ "ai-portal.action-buttons": {
1791
+ "properties": [
1792
+ {
1793
+ "name": "items",
1794
+ "annotation": {
1795
+ "type": "array",
1796
+ "elementType": {
1797
+ "type": "reference",
1798
+ "typeName": {
1799
+ "type": "identifier",
1800
+ "name": "ActionItem"
1801
+ }
1802
+ }
1803
+ }
1804
+ },
1805
+ {
1806
+ "name": "activeKey",
1807
+ "annotation": {
1808
+ "type": "union",
1809
+ "types": [
1810
+ {
1811
+ "type": "keyword",
1812
+ "value": "string"
1813
+ },
1814
+ {
1815
+ "type": "keyword",
1816
+ "value": "null"
1817
+ }
1818
+ ]
1819
+ }
1820
+ }
1821
+ ],
1822
+ "events": [
1823
+ {
1824
+ "name": "change",
1825
+ "detail": {
1826
+ "annotation": {
1827
+ "type": "union",
1828
+ "types": [
1829
+ {
1830
+ "type": "reference",
1831
+ "typeName": {
1832
+ "type": "identifier",
1833
+ "name": "ActionItem"
1834
+ }
1835
+ },
1836
+ {
1837
+ "type": "keyword",
1838
+ "value": "null"
1839
+ }
1840
+ ]
1841
+ }
1842
+ }
1843
+ }
1844
+ ],
1845
+ "methods": [],
1846
+ "types": [
1847
+ {
1848
+ "type": "interface",
1849
+ "name": "ActionItem",
1850
+ "body": [
1851
+ {
1852
+ "type": "propertySignature",
1853
+ "key": {
1854
+ "type": "identifier",
1855
+ "name": "text"
1856
+ },
1857
+ "annotation": {
1858
+ "type": "keyword",
1859
+ "value": "string"
1860
+ },
1861
+ "computed": false
1862
+ },
1863
+ {
1864
+ "type": "propertySignature",
1865
+ "key": {
1866
+ "type": "identifier",
1867
+ "name": "key"
1868
+ },
1869
+ "annotation": {
1870
+ "type": "keyword",
1871
+ "value": "string"
1872
+ },
1873
+ "computed": false
1874
+ },
1875
+ {
1876
+ "type": "propertySignature",
1877
+ "key": {
1878
+ "type": "identifier",
1879
+ "name": "icon"
1880
+ },
1881
+ "annotation": {
1882
+ "type": "reference",
1883
+ "typeName": {
1884
+ "type": "identifier",
1885
+ "name": "GeneralIconProps"
1886
+ }
1887
+ },
1888
+ "optional": true,
1889
+ "computed": false
1890
+ },
1891
+ {
1892
+ "type": "propertySignature",
1893
+ "key": {
1894
+ "type": "identifier",
1895
+ "name": "hidden"
1896
+ },
1897
+ "annotation": {
1898
+ "type": "keyword",
1899
+ "value": "boolean"
1900
+ },
1901
+ "optional": true,
1902
+ "computed": false
1903
+ }
1904
+ ]
1905
+ }
1906
+ ]
1907
+ },
1520
1908
  "ai-portal.dropdown-select": {
1521
1909
  "properties": [
1522
1910
  {
@@ -1686,17 +2074,23 @@
1686
2074
  }
1687
2075
  ]
1688
2076
  },
1689
- "ai-portal.preview-container": {
2077
+ "ai-portal.activity-timeline": {
1690
2078
  "properties": [
1691
2079
  {
1692
- "name": "source",
2080
+ "name": "list",
1693
2081
  "annotation": {
1694
- "type": "keyword",
1695
- "value": "string"
2082
+ "type": "array",
2083
+ "elementType": {
2084
+ "type": "reference",
2085
+ "typeName": {
2086
+ "type": "identifier",
2087
+ "name": "Activity"
2088
+ }
2089
+ }
1696
2090
  }
1697
2091
  },
1698
2092
  {
1699
- "name": "url",
2093
+ "name": "chatUrlTemplate",
1700
2094
  "annotation": {
1701
2095
  "type": "keyword",
1702
2096
  "value": "string"
@@ -1704,212 +2098,147 @@
1704
2098
  }
1705
2099
  ],
1706
2100
  "events": [],
1707
- "methods": []
1708
- },
1709
- "ai-portal.action-buttons": {
1710
- "properties": [
1711
- {
1712
- "name": "items",
1713
- "annotation": {
1714
- "type": "array",
1715
- "elementType": {
1716
- "type": "reference",
1717
- "typeName": {
1718
- "type": "identifier",
1719
- "name": "ActionItem"
1720
- }
1721
- }
1722
- }
1723
- },
2101
+ "methods": [],
2102
+ "types": [
1724
2103
  {
1725
- "name": "activeKey",
2104
+ "type": "typeAlias",
2105
+ "name": "Activity",
1726
2106
  "annotation": {
1727
2107
  "type": "union",
1728
2108
  "types": [
1729
2109
  {
1730
- "type": "keyword",
1731
- "value": "string"
2110
+ "type": "reference",
2111
+ "typeName": {
2112
+ "type": "identifier",
2113
+ "name": "ActivityOfCreateGoal"
2114
+ }
1732
2115
  },
1733
2116
  {
1734
- "type": "keyword",
1735
- "value": "null"
2117
+ "type": "reference",
2118
+ "typeName": {
2119
+ "type": "identifier",
2120
+ "name": "ActivityOfEditGoal"
2121
+ }
2122
+ },
2123
+ {
2124
+ "type": "reference",
2125
+ "typeName": {
2126
+ "type": "identifier",
2127
+ "name": "ActivityOfDeleteGoal"
2128
+ }
2129
+ },
2130
+ {
2131
+ "type": "reference",
2132
+ "typeName": {
2133
+ "type": "identifier",
2134
+ "name": "ActivityOfDecomposeGoals"
2135
+ }
2136
+ },
2137
+ {
2138
+ "type": "reference",
2139
+ "typeName": {
2140
+ "type": "identifier",
2141
+ "name": "ActivityOfAlterOwner"
2142
+ }
2143
+ },
2144
+ {
2145
+ "type": "reference",
2146
+ "typeName": {
2147
+ "type": "identifier",
2148
+ "name": "ActivityOfAlterUser"
2149
+ }
2150
+ },
2151
+ {
2152
+ "type": "reference",
2153
+ "typeName": {
2154
+ "type": "identifier",
2155
+ "name": "ActivityOfAddComment"
2156
+ }
2157
+ },
2158
+ {
2159
+ "type": "reference",
2160
+ "typeName": {
2161
+ "type": "identifier",
2162
+ "name": "ActivityOfStartConversation"
2163
+ }
1736
2164
  }
1737
2165
  ]
1738
2166
  }
1739
- }
1740
- ],
1741
- "events": [
1742
- {
1743
- "name": "change",
1744
- "detail": {
1745
- "annotation": {
1746
- "type": "union",
1747
- "types": [
1748
- {
1749
- "type": "reference",
1750
- "typeName": {
1751
- "type": "identifier",
1752
- "name": "ActionItem"
1753
- }
1754
- },
1755
- {
1756
- "type": "keyword",
1757
- "value": "null"
1758
- }
1759
- ]
1760
- }
1761
- }
1762
- }
1763
- ],
1764
- "methods": [],
1765
- "types": [
2167
+ },
1766
2168
  {
1767
2169
  "type": "interface",
1768
- "name": "ActionItem",
2170
+ "name": "ActivityOfCreateGoal",
1769
2171
  "body": [
1770
2172
  {
1771
2173
  "type": "propertySignature",
1772
2174
  "key": {
1773
2175
  "type": "identifier",
1774
- "name": "text"
1775
- },
1776
- "annotation": {
1777
- "type": "keyword",
1778
- "value": "string"
1779
- },
1780
- "computed": false
1781
- },
1782
- {
1783
- "type": "propertySignature",
1784
- "key": {
1785
- "type": "identifier",
1786
- "name": "key"
1787
- },
1788
- "annotation": {
1789
- "type": "keyword",
1790
- "value": "string"
1791
- },
1792
- "computed": false
1793
- },
1794
- {
1795
- "type": "propertySignature",
1796
- "key": {
1797
- "type": "identifier",
1798
- "name": "icon"
2176
+ "name": "action_type"
1799
2177
  },
1800
2178
  "annotation": {
1801
- "type": "reference",
1802
- "typeName": {
1803
- "type": "identifier",
1804
- "name": "GeneralIconProps"
1805
- }
2179
+ "type": "jsLiteral",
2180
+ "value": "create_goal"
1806
2181
  },
1807
- "optional": true,
1808
2182
  "computed": false
1809
2183
  },
1810
2184
  {
1811
2185
  "type": "propertySignature",
1812
2186
  "key": {
1813
2187
  "type": "identifier",
1814
- "name": "hidden"
2188
+ "name": "metadata"
1815
2189
  },
1816
2190
  "annotation": {
1817
- "type": "keyword",
1818
- "value": "boolean"
2191
+ "type": "typeLiteral",
2192
+ "members": [
2193
+ {
2194
+ "type": "propertySignature",
2195
+ "key": {
2196
+ "type": "identifier",
2197
+ "name": "goal_title"
2198
+ },
2199
+ "annotation": {
2200
+ "type": "keyword",
2201
+ "value": "string"
2202
+ },
2203
+ "computed": false
2204
+ },
2205
+ {
2206
+ "type": "propertySignature",
2207
+ "key": {
2208
+ "type": "identifier",
2209
+ "name": "goal_description"
2210
+ },
2211
+ "annotation": {
2212
+ "type": "keyword",
2213
+ "value": "string"
2214
+ },
2215
+ "optional": true,
2216
+ "computed": false
2217
+ }
2218
+ ]
1819
2219
  },
1820
- "optional": true,
1821
2220
  "computed": false
1822
2221
  }
1823
- ]
1824
- }
1825
- ]
1826
- },
1827
- "ai-portal.project-conversations": {
1828
- "properties": [
1829
- {
1830
- "name": "list",
1831
- "annotation": {
1832
- "type": "array",
1833
- "elementType": {
1834
- "type": "reference",
1835
- "typeName": {
1836
- "type": "identifier",
1837
- "name": "Conversation"
1838
- }
1839
- }
1840
- }
1841
- },
1842
- {
1843
- "name": "urlTemplate",
1844
- "annotation": {
1845
- "type": "keyword",
1846
- "value": "string"
1847
- }
1848
- },
1849
- {
1850
- "name": "actions",
1851
- "annotation": {
1852
- "type": "array",
1853
- "elementType": {
1854
- "type": "reference",
1855
- "typeName": {
1856
- "type": "identifier",
1857
- "name": "ActionType"
1858
- }
1859
- }
1860
- }
1861
- },
1862
- {
1863
- "name": "goals",
1864
- "annotation": {
1865
- "type": "array",
1866
- "elementType": {
1867
- "type": "reference",
1868
- "typeName": {
1869
- "type": "identifier",
1870
- "name": "Goal"
1871
- }
1872
- }
1873
- }
1874
- }
1875
- ],
1876
- "events": [
1877
- {
1878
- "name": "goal.click",
1879
- "detail": {
1880
- "annotation": {
1881
- "type": "reference",
1882
- "typeName": {
2222
+ ],
2223
+ "extends": [
2224
+ {
2225
+ "type": "expressionWithTypeArguments",
2226
+ "expression": {
1883
2227
  "type": "identifier",
1884
- "name": "Conversation"
2228
+ "name": "ActivityBase"
1885
2229
  }
1886
2230
  }
1887
- }
2231
+ ]
1888
2232
  },
1889
- {
1890
- "name": "action.click",
1891
- "detail": {
1892
- "annotation": {
1893
- "type": "reference",
1894
- "typeName": {
1895
- "type": "identifier",
1896
- "name": "ActionClickDetail"
1897
- }
1898
- }
1899
- }
1900
- }
1901
- ],
1902
- "methods": [],
1903
- "types": [
1904
2233
  {
1905
2234
  "type": "interface",
1906
- "name": "Conversation",
2235
+ "name": "ActivityBase",
1907
2236
  "body": [
1908
2237
  {
1909
2238
  "type": "propertySignature",
1910
2239
  "key": {
1911
2240
  "type": "identifier",
1912
- "name": "conversationId"
2241
+ "name": "user_id"
1913
2242
  },
1914
2243
  "annotation": {
1915
2244
  "type": "keyword",
@@ -1921,7 +2250,7 @@
1921
2250
  "type": "propertySignature",
1922
2251
  "key": {
1923
2252
  "type": "identifier",
1924
- "name": "title"
2253
+ "name": "user_name"
1925
2254
  },
1926
2255
  "annotation": {
1927
2256
  "type": "keyword",
@@ -1933,7 +2262,7 @@
1933
2262
  "type": "propertySignature",
1934
2263
  "key": {
1935
2264
  "type": "identifier",
1936
- "name": "startTime"
2265
+ "name": "time"
1937
2266
  },
1938
2267
  "annotation": {
1939
2268
  "type": "keyword",
@@ -1945,56 +2274,74 @@
1945
2274
  "type": "propertySignature",
1946
2275
  "key": {
1947
2276
  "type": "identifier",
1948
- "name": "description"
1949
- },
1950
- "annotation": {
1951
- "type": "keyword",
1952
- "value": "string"
1953
- },
1954
- "optional": true,
1955
- "computed": false
1956
- },
1957
- {
1958
- "type": "propertySignature",
1959
- "key": {
1960
- "type": "identifier",
1961
- "name": "goalInstanceId"
2277
+ "name": "action_type"
1962
2278
  },
1963
2279
  "annotation": {
1964
- "type": "keyword",
1965
- "value": "string"
2280
+ "type": "union",
2281
+ "types": [
2282
+ {
2283
+ "type": "jsLiteral",
2284
+ "value": "create_goal"
2285
+ },
2286
+ {
2287
+ "type": "jsLiteral",
2288
+ "value": "edit_goal"
2289
+ },
2290
+ {
2291
+ "type": "jsLiteral",
2292
+ "value": "delete_goal"
2293
+ },
2294
+ {
2295
+ "type": "jsLiteral",
2296
+ "value": "decompose_goals"
2297
+ },
2298
+ {
2299
+ "type": "jsLiteral",
2300
+ "value": "alter_owner"
2301
+ },
2302
+ {
2303
+ "type": "jsLiteral",
2304
+ "value": "alter_user"
2305
+ },
2306
+ {
2307
+ "type": "jsLiteral",
2308
+ "value": "add_comment"
2309
+ },
2310
+ {
2311
+ "type": "jsLiteral",
2312
+ "value": "start_conversation"
2313
+ }
2314
+ ]
1966
2315
  },
1967
- "optional": true,
1968
2316
  "computed": false
1969
2317
  },
1970
2318
  {
1971
2319
  "type": "propertySignature",
1972
2320
  "key": {
1973
2321
  "type": "identifier",
1974
- "name": "username"
2322
+ "name": "metadata"
1975
2323
  },
1976
2324
  "annotation": {
1977
2325
  "type": "keyword",
1978
- "value": "string"
2326
+ "value": "unknown"
1979
2327
  },
1980
- "optional": true,
1981
2328
  "computed": false
1982
2329
  }
1983
2330
  ]
1984
2331
  },
1985
2332
  {
1986
2333
  "type": "interface",
1987
- "name": "Goal",
2334
+ "name": "ActivityOfEditGoal",
1988
2335
  "body": [
1989
2336
  {
1990
2337
  "type": "propertySignature",
1991
2338
  "key": {
1992
2339
  "type": "identifier",
1993
- "name": "instanceId"
2340
+ "name": "action_type"
1994
2341
  },
1995
2342
  "annotation": {
1996
- "type": "keyword",
1997
- "value": "string"
2343
+ "type": "jsLiteral",
2344
+ "value": "edit_goal"
1998
2345
  },
1999
2346
  "computed": false
2000
2347
  },
@@ -2002,148 +2349,107 @@
2002
2349
  "type": "propertySignature",
2003
2350
  "key": {
2004
2351
  "type": "identifier",
2005
- "name": "title"
2352
+ "name": "metadata"
2006
2353
  },
2007
2354
  "annotation": {
2008
- "type": "keyword",
2009
- "value": "string"
2010
- },
2011
- "computed": false
2012
- }
2013
- ]
2014
- },
2015
- {
2016
- "type": "interface",
2017
- "name": "ActionClickDetail",
2018
- "body": [
2019
- {
2020
- "type": "propertySignature",
2021
- "key": {
2022
- "type": "identifier",
2023
- "name": "action"
2024
- },
2025
- "annotation": {
2026
- "type": "reference",
2027
- "typeName": {
2028
- "type": "identifier",
2029
- "name": "SimpleActionType"
2030
- }
2031
- },
2032
- "computed": false
2033
- },
2034
- {
2035
- "type": "propertySignature",
2036
- "key": {
2037
- "type": "identifier",
2038
- "name": "item"
2039
- },
2040
- "annotation": {
2041
- "type": "reference",
2042
- "typeName": {
2043
- "type": "identifier",
2044
- "name": "Conversation"
2045
- }
2355
+ "type": "typeLiteral",
2356
+ "members": [
2357
+ {
2358
+ "type": "propertySignature",
2359
+ "key": {
2360
+ "type": "identifier",
2361
+ "name": "before"
2362
+ },
2363
+ "annotation": {
2364
+ "type": "typeLiteral",
2365
+ "members": [
2366
+ {
2367
+ "type": "propertySignature",
2368
+ "key": {
2369
+ "type": "identifier",
2370
+ "name": "title"
2371
+ },
2372
+ "annotation": {
2373
+ "type": "keyword",
2374
+ "value": "string"
2375
+ },
2376
+ "optional": true,
2377
+ "computed": false
2378
+ },
2379
+ {
2380
+ "type": "propertySignature",
2381
+ "key": {
2382
+ "type": "identifier",
2383
+ "name": "description"
2384
+ },
2385
+ "annotation": {
2386
+ "type": "keyword",
2387
+ "value": "string"
2388
+ },
2389
+ "optional": true,
2390
+ "computed": false
2391
+ }
2392
+ ]
2393
+ },
2394
+ "computed": false
2395
+ },
2396
+ {
2397
+ "type": "propertySignature",
2398
+ "key": {
2399
+ "type": "identifier",
2400
+ "name": "after"
2401
+ },
2402
+ "annotation": {
2403
+ "type": "typeLiteral",
2404
+ "members": [
2405
+ {
2406
+ "type": "propertySignature",
2407
+ "key": {
2408
+ "type": "identifier",
2409
+ "name": "title"
2410
+ },
2411
+ "annotation": {
2412
+ "type": "keyword",
2413
+ "value": "string"
2414
+ },
2415
+ "optional": true,
2416
+ "computed": false
2417
+ },
2418
+ {
2419
+ "type": "propertySignature",
2420
+ "key": {
2421
+ "type": "identifier",
2422
+ "name": "description"
2423
+ },
2424
+ "annotation": {
2425
+ "type": "keyword",
2426
+ "value": "string"
2427
+ },
2428
+ "optional": true,
2429
+ "computed": false
2430
+ }
2431
+ ]
2432
+ },
2433
+ "computed": false
2434
+ }
2435
+ ]
2046
2436
  },
2047
2437
  "computed": false
2048
2438
  }
2049
- ]
2050
- }
2051
- ]
2052
- },
2053
- "ai-portal.activity-timeline": {
2054
- "properties": [
2055
- {
2056
- "name": "list",
2057
- "annotation": {
2058
- "type": "array",
2059
- "elementType": {
2060
- "type": "reference",
2061
- "typeName": {
2439
+ ],
2440
+ "extends": [
2441
+ {
2442
+ "type": "expressionWithTypeArguments",
2443
+ "expression": {
2062
2444
  "type": "identifier",
2063
- "name": "Activity"
2445
+ "name": "ActivityBase"
2064
2446
  }
2065
2447
  }
2066
- }
2067
- },
2068
- {
2069
- "name": "chatUrlTemplate",
2070
- "annotation": {
2071
- "type": "keyword",
2072
- "value": "string"
2073
- }
2074
- }
2075
- ],
2076
- "events": [],
2077
- "methods": [],
2078
- "types": [
2079
- {
2080
- "type": "typeAlias",
2081
- "name": "Activity",
2082
- "annotation": {
2083
- "type": "union",
2084
- "types": [
2085
- {
2086
- "type": "reference",
2087
- "typeName": {
2088
- "type": "identifier",
2089
- "name": "ActivityOfCreateGoal"
2090
- }
2091
- },
2092
- {
2093
- "type": "reference",
2094
- "typeName": {
2095
- "type": "identifier",
2096
- "name": "ActivityOfEditGoal"
2097
- }
2098
- },
2099
- {
2100
- "type": "reference",
2101
- "typeName": {
2102
- "type": "identifier",
2103
- "name": "ActivityOfDeleteGoal"
2104
- }
2105
- },
2106
- {
2107
- "type": "reference",
2108
- "typeName": {
2109
- "type": "identifier",
2110
- "name": "ActivityOfDecomposeGoals"
2111
- }
2112
- },
2113
- {
2114
- "type": "reference",
2115
- "typeName": {
2116
- "type": "identifier",
2117
- "name": "ActivityOfAlterOwner"
2118
- }
2119
- },
2120
- {
2121
- "type": "reference",
2122
- "typeName": {
2123
- "type": "identifier",
2124
- "name": "ActivityOfAlterUser"
2125
- }
2126
- },
2127
- {
2128
- "type": "reference",
2129
- "typeName": {
2130
- "type": "identifier",
2131
- "name": "ActivityOfAddComment"
2132
- }
2133
- },
2134
- {
2135
- "type": "reference",
2136
- "typeName": {
2137
- "type": "identifier",
2138
- "name": "ActivityOfStartConversation"
2139
- }
2140
- }
2141
- ]
2142
- }
2448
+ ]
2143
2449
  },
2144
2450
  {
2145
2451
  "type": "interface",
2146
- "name": "ActivityOfCreateGoal",
2452
+ "name": "ActivityOfDeleteGoal",
2147
2453
  "body": [
2148
2454
  {
2149
2455
  "type": "propertySignature",
@@ -2153,7 +2459,7 @@
2153
2459
  },
2154
2460
  "annotation": {
2155
2461
  "type": "jsLiteral",
2156
- "value": "create_goal"
2462
+ "value": "delete_goal"
2157
2463
  },
2158
2464
  "computed": false
2159
2465
  },
@@ -2208,41 +2514,17 @@
2208
2514
  },
2209
2515
  {
2210
2516
  "type": "interface",
2211
- "name": "ActivityBase",
2517
+ "name": "ActivityOfDecomposeGoals",
2212
2518
  "body": [
2213
2519
  {
2214
2520
  "type": "propertySignature",
2215
2521
  "key": {
2216
2522
  "type": "identifier",
2217
- "name": "user_id"
2218
- },
2219
- "annotation": {
2220
- "type": "keyword",
2221
- "value": "string"
2222
- },
2223
- "computed": false
2224
- },
2225
- {
2226
- "type": "propertySignature",
2227
- "key": {
2228
- "type": "identifier",
2229
- "name": "user_name"
2230
- },
2231
- "annotation": {
2232
- "type": "keyword",
2233
- "value": "string"
2234
- },
2235
- "computed": false
2236
- },
2237
- {
2238
- "type": "propertySignature",
2239
- "key": {
2240
- "type": "identifier",
2241
- "name": "time"
2523
+ "name": "action_type"
2242
2524
  },
2243
2525
  "annotation": {
2244
- "type": "keyword",
2245
- "value": "number"
2526
+ "type": "jsLiteral",
2527
+ "value": "decompose_goals"
2246
2528
  },
2247
2529
  "computed": false
2248
2530
  },
@@ -2250,269 +2532,11 @@
2250
2532
  "type": "propertySignature",
2251
2533
  "key": {
2252
2534
  "type": "identifier",
2253
- "name": "action_type"
2535
+ "name": "metadata"
2254
2536
  },
2255
2537
  "annotation": {
2256
- "type": "union",
2257
- "types": [
2258
- {
2259
- "type": "jsLiteral",
2260
- "value": "create_goal"
2261
- },
2262
- {
2263
- "type": "jsLiteral",
2264
- "value": "edit_goal"
2265
- },
2266
- {
2267
- "type": "jsLiteral",
2268
- "value": "delete_goal"
2269
- },
2270
- {
2271
- "type": "jsLiteral",
2272
- "value": "decompose_goals"
2273
- },
2274
- {
2275
- "type": "jsLiteral",
2276
- "value": "alter_owner"
2277
- },
2278
- {
2279
- "type": "jsLiteral",
2280
- "value": "alter_user"
2281
- },
2282
- {
2283
- "type": "jsLiteral",
2284
- "value": "add_comment"
2285
- },
2286
- {
2287
- "type": "jsLiteral",
2288
- "value": "start_conversation"
2289
- }
2290
- ]
2291
- },
2292
- "computed": false
2293
- },
2294
- {
2295
- "type": "propertySignature",
2296
- "key": {
2297
- "type": "identifier",
2298
- "name": "metadata"
2299
- },
2300
- "annotation": {
2301
- "type": "keyword",
2302
- "value": "unknown"
2303
- },
2304
- "computed": false
2305
- }
2306
- ]
2307
- },
2308
- {
2309
- "type": "interface",
2310
- "name": "ActivityOfEditGoal",
2311
- "body": [
2312
- {
2313
- "type": "propertySignature",
2314
- "key": {
2315
- "type": "identifier",
2316
- "name": "action_type"
2317
- },
2318
- "annotation": {
2319
- "type": "jsLiteral",
2320
- "value": "edit_goal"
2321
- },
2322
- "computed": false
2323
- },
2324
- {
2325
- "type": "propertySignature",
2326
- "key": {
2327
- "type": "identifier",
2328
- "name": "metadata"
2329
- },
2330
- "annotation": {
2331
- "type": "typeLiteral",
2332
- "members": [
2333
- {
2334
- "type": "propertySignature",
2335
- "key": {
2336
- "type": "identifier",
2337
- "name": "before"
2338
- },
2339
- "annotation": {
2340
- "type": "typeLiteral",
2341
- "members": [
2342
- {
2343
- "type": "propertySignature",
2344
- "key": {
2345
- "type": "identifier",
2346
- "name": "title"
2347
- },
2348
- "annotation": {
2349
- "type": "keyword",
2350
- "value": "string"
2351
- },
2352
- "optional": true,
2353
- "computed": false
2354
- },
2355
- {
2356
- "type": "propertySignature",
2357
- "key": {
2358
- "type": "identifier",
2359
- "name": "description"
2360
- },
2361
- "annotation": {
2362
- "type": "keyword",
2363
- "value": "string"
2364
- },
2365
- "optional": true,
2366
- "computed": false
2367
- }
2368
- ]
2369
- },
2370
- "computed": false
2371
- },
2372
- {
2373
- "type": "propertySignature",
2374
- "key": {
2375
- "type": "identifier",
2376
- "name": "after"
2377
- },
2378
- "annotation": {
2379
- "type": "typeLiteral",
2380
- "members": [
2381
- {
2382
- "type": "propertySignature",
2383
- "key": {
2384
- "type": "identifier",
2385
- "name": "title"
2386
- },
2387
- "annotation": {
2388
- "type": "keyword",
2389
- "value": "string"
2390
- },
2391
- "optional": true,
2392
- "computed": false
2393
- },
2394
- {
2395
- "type": "propertySignature",
2396
- "key": {
2397
- "type": "identifier",
2398
- "name": "description"
2399
- },
2400
- "annotation": {
2401
- "type": "keyword",
2402
- "value": "string"
2403
- },
2404
- "optional": true,
2405
- "computed": false
2406
- }
2407
- ]
2408
- },
2409
- "computed": false
2410
- }
2411
- ]
2412
- },
2413
- "computed": false
2414
- }
2415
- ],
2416
- "extends": [
2417
- {
2418
- "type": "expressionWithTypeArguments",
2419
- "expression": {
2420
- "type": "identifier",
2421
- "name": "ActivityBase"
2422
- }
2423
- }
2424
- ]
2425
- },
2426
- {
2427
- "type": "interface",
2428
- "name": "ActivityOfDeleteGoal",
2429
- "body": [
2430
- {
2431
- "type": "propertySignature",
2432
- "key": {
2433
- "type": "identifier",
2434
- "name": "action_type"
2435
- },
2436
- "annotation": {
2437
- "type": "jsLiteral",
2438
- "value": "delete_goal"
2439
- },
2440
- "computed": false
2441
- },
2442
- {
2443
- "type": "propertySignature",
2444
- "key": {
2445
- "type": "identifier",
2446
- "name": "metadata"
2447
- },
2448
- "annotation": {
2449
- "type": "typeLiteral",
2450
- "members": [
2451
- {
2452
- "type": "propertySignature",
2453
- "key": {
2454
- "type": "identifier",
2455
- "name": "goal_title"
2456
- },
2457
- "annotation": {
2458
- "type": "keyword",
2459
- "value": "string"
2460
- },
2461
- "computed": false
2462
- },
2463
- {
2464
- "type": "propertySignature",
2465
- "key": {
2466
- "type": "identifier",
2467
- "name": "goal_description"
2468
- },
2469
- "annotation": {
2470
- "type": "keyword",
2471
- "value": "string"
2472
- },
2473
- "optional": true,
2474
- "computed": false
2475
- }
2476
- ]
2477
- },
2478
- "computed": false
2479
- }
2480
- ],
2481
- "extends": [
2482
- {
2483
- "type": "expressionWithTypeArguments",
2484
- "expression": {
2485
- "type": "identifier",
2486
- "name": "ActivityBase"
2487
- }
2488
- }
2489
- ]
2490
- },
2491
- {
2492
- "type": "interface",
2493
- "name": "ActivityOfDecomposeGoals",
2494
- "body": [
2495
- {
2496
- "type": "propertySignature",
2497
- "key": {
2498
- "type": "identifier",
2499
- "name": "action_type"
2500
- },
2501
- "annotation": {
2502
- "type": "jsLiteral",
2503
- "value": "decompose_goals"
2504
- },
2505
- "computed": false
2506
- },
2507
- {
2508
- "type": "propertySignature",
2509
- "key": {
2510
- "type": "identifier",
2511
- "name": "metadata"
2512
- },
2513
- "annotation": {
2514
- "type": "typeLiteral",
2515
- "members": [
2538
+ "type": "typeLiteral",
2539
+ "members": [
2516
2540
  {
2517
2541
  "type": "propertySignature",
2518
2542
  "key": {
@@ -3010,107 +3034,688 @@
3010
3034
  ]
3011
3035
  },
3012
3036
  "computed": false
3013
- }
3014
- ],
3015
- "extends": [
3037
+ }
3038
+ ],
3039
+ "extends": [
3040
+ {
3041
+ "type": "expressionWithTypeArguments",
3042
+ "expression": {
3043
+ "type": "identifier",
3044
+ "name": "ActivityBase"
3045
+ }
3046
+ }
3047
+ ]
3048
+ }
3049
+ ]
3050
+ },
3051
+ "ai-portal.chat-input": {
3052
+ "properties": [
3053
+ {
3054
+ "name": "placeholder",
3055
+ "annotation": {
3056
+ "type": "keyword",
3057
+ "value": "string"
3058
+ }
3059
+ },
3060
+ {
3061
+ "name": "autoFocus",
3062
+ "annotation": {
3063
+ "type": "keyword",
3064
+ "value": "boolean"
3065
+ }
3066
+ },
3067
+ {
3068
+ "name": "submitDisabled",
3069
+ "annotation": {
3070
+ "type": "keyword",
3071
+ "value": "boolean"
3072
+ }
3073
+ },
3074
+ {
3075
+ "name": "supportsTerminate",
3076
+ "annotation": {
3077
+ "type": "keyword",
3078
+ "value": "boolean"
3079
+ }
3080
+ },
3081
+ {
3082
+ "name": "terminating",
3083
+ "annotation": {
3084
+ "type": "keyword",
3085
+ "value": "boolean"
3086
+ }
3087
+ }
3088
+ ],
3089
+ "events": [
3090
+ {
3091
+ "name": "message.submit",
3092
+ "detail": {
3093
+ "annotation": {
3094
+ "type": "keyword",
3095
+ "value": "string"
3096
+ }
3097
+ }
3098
+ },
3099
+ {
3100
+ "name": "terminate",
3101
+ "detail": {
3102
+ "annotation": {
3103
+ "type": "keyword",
3104
+ "value": "void"
3105
+ }
3106
+ }
3107
+ }
3108
+ ],
3109
+ "methods": []
3110
+ },
3111
+ "ai-portal.show-case": {
3112
+ "properties": [
3113
+ {
3114
+ "name": "caseTitle",
3115
+ "annotation": {
3116
+ "type": "keyword",
3117
+ "value": "string"
3118
+ }
3119
+ },
3120
+ {
3121
+ "name": "summary",
3122
+ "annotation": {
3123
+ "type": "keyword",
3124
+ "value": "string"
3125
+ }
3126
+ },
3127
+ {
3128
+ "name": "url",
3129
+ "annotation": {
3130
+ "type": "keyword",
3131
+ "value": "string"
3132
+ }
3133
+ }
3134
+ ],
3135
+ "events": [],
3136
+ "methods": []
3137
+ },
3138
+ "ai-portal.project-conversations": {
3139
+ "properties": [
3140
+ {
3141
+ "name": "list",
3142
+ "annotation": {
3143
+ "type": "array",
3144
+ "elementType": {
3145
+ "type": "reference",
3146
+ "typeName": {
3147
+ "type": "identifier",
3148
+ "name": "Conversation"
3149
+ }
3150
+ }
3151
+ }
3152
+ },
3153
+ {
3154
+ "name": "urlTemplate",
3155
+ "annotation": {
3156
+ "type": "keyword",
3157
+ "value": "string"
3158
+ }
3159
+ },
3160
+ {
3161
+ "name": "actions",
3162
+ "annotation": {
3163
+ "type": "array",
3164
+ "elementType": {
3165
+ "type": "reference",
3166
+ "typeName": {
3167
+ "type": "identifier",
3168
+ "name": "ActionType"
3169
+ }
3170
+ }
3171
+ }
3172
+ },
3173
+ {
3174
+ "name": "goals",
3175
+ "annotation": {
3176
+ "type": "array",
3177
+ "elementType": {
3178
+ "type": "reference",
3179
+ "typeName": {
3180
+ "type": "identifier",
3181
+ "name": "Goal"
3182
+ }
3183
+ }
3184
+ }
3185
+ }
3186
+ ],
3187
+ "events": [
3188
+ {
3189
+ "name": "goal.click",
3190
+ "detail": {
3191
+ "annotation": {
3192
+ "type": "reference",
3193
+ "typeName": {
3194
+ "type": "identifier",
3195
+ "name": "Conversation"
3196
+ }
3197
+ }
3198
+ }
3199
+ },
3200
+ {
3201
+ "name": "action.click",
3202
+ "detail": {
3203
+ "annotation": {
3204
+ "type": "reference",
3205
+ "typeName": {
3206
+ "type": "identifier",
3207
+ "name": "ActionClickDetail"
3208
+ }
3209
+ }
3210
+ }
3211
+ }
3212
+ ],
3213
+ "methods": [],
3214
+ "types": [
3215
+ {
3216
+ "type": "interface",
3217
+ "name": "Conversation",
3218
+ "body": [
3219
+ {
3220
+ "type": "propertySignature",
3221
+ "key": {
3222
+ "type": "identifier",
3223
+ "name": "conversationId"
3224
+ },
3225
+ "annotation": {
3226
+ "type": "keyword",
3227
+ "value": "string"
3228
+ },
3229
+ "computed": false
3230
+ },
3231
+ {
3232
+ "type": "propertySignature",
3233
+ "key": {
3234
+ "type": "identifier",
3235
+ "name": "title"
3236
+ },
3237
+ "annotation": {
3238
+ "type": "keyword",
3239
+ "value": "string"
3240
+ },
3241
+ "computed": false
3242
+ },
3243
+ {
3244
+ "type": "propertySignature",
3245
+ "key": {
3246
+ "type": "identifier",
3247
+ "name": "startTime"
3248
+ },
3249
+ "annotation": {
3250
+ "type": "keyword",
3251
+ "value": "number"
3252
+ },
3253
+ "computed": false
3254
+ },
3255
+ {
3256
+ "type": "propertySignature",
3257
+ "key": {
3258
+ "type": "identifier",
3259
+ "name": "description"
3260
+ },
3261
+ "annotation": {
3262
+ "type": "keyword",
3263
+ "value": "string"
3264
+ },
3265
+ "optional": true,
3266
+ "computed": false
3267
+ },
3268
+ {
3269
+ "type": "propertySignature",
3270
+ "key": {
3271
+ "type": "identifier",
3272
+ "name": "goalInstanceId"
3273
+ },
3274
+ "annotation": {
3275
+ "type": "keyword",
3276
+ "value": "string"
3277
+ },
3278
+ "optional": true,
3279
+ "computed": false
3280
+ },
3281
+ {
3282
+ "type": "propertySignature",
3283
+ "key": {
3284
+ "type": "identifier",
3285
+ "name": "username"
3286
+ },
3287
+ "annotation": {
3288
+ "type": "keyword",
3289
+ "value": "string"
3290
+ },
3291
+ "optional": true,
3292
+ "computed": false
3293
+ }
3294
+ ]
3295
+ },
3296
+ {
3297
+ "type": "interface",
3298
+ "name": "Goal",
3299
+ "body": [
3300
+ {
3301
+ "type": "propertySignature",
3302
+ "key": {
3303
+ "type": "identifier",
3304
+ "name": "instanceId"
3305
+ },
3306
+ "annotation": {
3307
+ "type": "keyword",
3308
+ "value": "string"
3309
+ },
3310
+ "computed": false
3311
+ },
3312
+ {
3313
+ "type": "propertySignature",
3314
+ "key": {
3315
+ "type": "identifier",
3316
+ "name": "title"
3317
+ },
3318
+ "annotation": {
3319
+ "type": "keyword",
3320
+ "value": "string"
3321
+ },
3322
+ "computed": false
3323
+ }
3324
+ ]
3325
+ },
3326
+ {
3327
+ "type": "interface",
3328
+ "name": "ActionClickDetail",
3329
+ "body": [
3330
+ {
3331
+ "type": "propertySignature",
3332
+ "key": {
3333
+ "type": "identifier",
3334
+ "name": "action"
3335
+ },
3336
+ "annotation": {
3337
+ "type": "reference",
3338
+ "typeName": {
3339
+ "type": "identifier",
3340
+ "name": "SimpleActionType"
3341
+ }
3342
+ },
3343
+ "computed": false
3344
+ },
3345
+ {
3346
+ "type": "propertySignature",
3347
+ "key": {
3348
+ "type": "identifier",
3349
+ "name": "item"
3350
+ },
3351
+ "annotation": {
3352
+ "type": "reference",
3353
+ "typeName": {
3354
+ "type": "identifier",
3355
+ "name": "Conversation"
3356
+ }
3357
+ },
3358
+ "computed": false
3359
+ }
3360
+ ]
3361
+ }
3362
+ ]
3363
+ },
3364
+ "ai-portal.stage-flow": {
3365
+ "properties": [
3366
+ {
3367
+ "name": "spec",
3368
+ "annotation": {
3369
+ "type": "array",
3370
+ "elementType": {
3371
+ "type": "reference",
3372
+ "typeName": {
3373
+ "type": "identifier",
3374
+ "name": "Stage"
3375
+ }
3376
+ }
3377
+ }
3378
+ },
3379
+ {
3380
+ "name": "aiEmployees",
3381
+ "annotation": {
3382
+ "type": "array",
3383
+ "elementType": {
3384
+ "type": "reference",
3385
+ "typeName": {
3386
+ "type": "identifier",
3387
+ "name": "AIEmployee"
3388
+ }
3389
+ }
3390
+ }
3391
+ }
3392
+ ],
3393
+ "events": [
3394
+ {
3395
+ "name": "change",
3396
+ "detail": {
3397
+ "annotation": {
3398
+ "type": "array",
3399
+ "elementType": {
3400
+ "type": "reference",
3401
+ "typeName": {
3402
+ "type": "identifier",
3403
+ "name": "Stage"
3404
+ }
3405
+ }
3406
+ }
3407
+ }
3408
+ },
3409
+ {
3410
+ "name": "add.activity",
3411
+ "detail": {
3412
+ "annotation": {
3413
+ "type": "typeLiteral",
3414
+ "members": [
3415
+ {
3416
+ "type": "propertySignature",
3417
+ "key": {
3418
+ "type": "identifier",
3419
+ "name": "stage"
3420
+ },
3421
+ "annotation": {
3422
+ "type": "reference",
3423
+ "typeName": {
3424
+ "type": "identifier",
3425
+ "name": "Stage"
3426
+ }
3427
+ },
3428
+ "computed": false
3429
+ }
3430
+ ]
3431
+ }
3432
+ }
3433
+ },
3434
+ {
3435
+ "name": "edit.activity",
3436
+ "detail": {
3437
+ "annotation": {
3438
+ "type": "reference",
3439
+ "typeName": {
3440
+ "type": "identifier",
3441
+ "name": "EditActivityDetail"
3442
+ }
3443
+ }
3444
+ }
3445
+ }
3446
+ ],
3447
+ "methods": [
3448
+ {
3449
+ "name": "addActivity",
3450
+ "params": [
3451
+ {
3452
+ "name": "stage",
3453
+ "annotation": {
3454
+ "type": "reference",
3455
+ "typeName": {
3456
+ "type": "identifier",
3457
+ "name": "Stage"
3458
+ }
3459
+ }
3460
+ },
3461
+ {
3462
+ "name": "activity",
3463
+ "annotation": {
3464
+ "type": "reference",
3465
+ "typeName": {
3466
+ "type": "identifier",
3467
+ "name": "FlowActivity"
3468
+ }
3469
+ }
3470
+ }
3471
+ ],
3472
+ "returns": {}
3473
+ },
3474
+ {
3475
+ "name": "editActivity",
3476
+ "params": [
3477
+ {
3478
+ "name": "stage",
3479
+ "annotation": {
3480
+ "type": "reference",
3481
+ "typeName": {
3482
+ "type": "identifier",
3483
+ "name": "Stage"
3484
+ }
3485
+ }
3486
+ },
3487
+ {
3488
+ "name": "activity",
3489
+ "annotation": {
3490
+ "type": "reference",
3491
+ "typeName": {
3492
+ "type": "identifier",
3493
+ "name": "FlowActivity"
3494
+ }
3495
+ }
3496
+ },
3497
+ {
3498
+ "name": "activityIndex",
3499
+ "annotation": {
3500
+ "type": "keyword",
3501
+ "value": "number"
3502
+ }
3503
+ }
3504
+ ],
3505
+ "returns": {}
3506
+ },
3507
+ {
3508
+ "name": "deleteActivity",
3509
+ "params": [
3510
+ {
3511
+ "name": "stage",
3512
+ "annotation": {
3513
+ "type": "reference",
3514
+ "typeName": {
3515
+ "type": "identifier",
3516
+ "name": "Stage"
3517
+ }
3518
+ }
3519
+ },
3520
+ {
3521
+ "name": "activityIndex",
3522
+ "annotation": {
3523
+ "type": "keyword",
3524
+ "value": "number"
3525
+ }
3526
+ }
3527
+ ],
3528
+ "returns": {}
3529
+ }
3530
+ ],
3531
+ "types": [
3532
+ {
3533
+ "type": "interface",
3534
+ "name": "Stage",
3535
+ "body": [
3536
+ {
3537
+ "type": "propertySignature",
3538
+ "key": {
3539
+ "type": "identifier",
3540
+ "name": "name"
3541
+ },
3542
+ "annotation": {
3543
+ "type": "keyword",
3544
+ "value": "string"
3545
+ },
3546
+ "computed": false
3547
+ },
3548
+ {
3549
+ "type": "propertySignature",
3550
+ "key": {
3551
+ "type": "identifier",
3552
+ "name": "serviceFlowActivities"
3553
+ },
3554
+ "annotation": {
3555
+ "type": "array",
3556
+ "elementType": {
3557
+ "type": "reference",
3558
+ "typeName": {
3559
+ "type": "identifier",
3560
+ "name": "FlowActivity"
3561
+ }
3562
+ }
3563
+ },
3564
+ "optional": true,
3565
+ "computed": false
3566
+ }
3567
+ ]
3568
+ },
3569
+ {
3570
+ "type": "interface",
3571
+ "name": "FlowActivity",
3572
+ "body": [
3573
+ {
3574
+ "type": "propertySignature",
3575
+ "key": {
3576
+ "type": "identifier",
3577
+ "name": "name"
3578
+ },
3579
+ "annotation": {
3580
+ "type": "keyword",
3581
+ "value": "string"
3582
+ },
3583
+ "computed": false
3584
+ },
3585
+ {
3586
+ "type": "propertySignature",
3587
+ "key": {
3588
+ "type": "identifier",
3589
+ "name": "description"
3590
+ },
3591
+ "annotation": {
3592
+ "type": "keyword",
3593
+ "value": "string"
3594
+ },
3595
+ "optional": true,
3596
+ "computed": false
3597
+ },
3598
+ {
3599
+ "type": "propertySignature",
3600
+ "key": {
3601
+ "type": "identifier",
3602
+ "name": "aiEmployeeId"
3603
+ },
3604
+ "annotation": {
3605
+ "type": "keyword",
3606
+ "value": "string"
3607
+ },
3608
+ "optional": true,
3609
+ "computed": false
3610
+ },
3611
+ {
3612
+ "type": "propertySignature",
3613
+ "key": {
3614
+ "type": "identifier",
3615
+ "name": "hilRules"
3616
+ },
3617
+ "annotation": {
3618
+ "type": "keyword",
3619
+ "value": "string"
3620
+ },
3621
+ "optional": true,
3622
+ "computed": false
3623
+ },
3624
+ {
3625
+ "type": "propertySignature",
3626
+ "key": {
3627
+ "type": "identifier",
3628
+ "name": "hilUser"
3629
+ },
3630
+ "annotation": {
3631
+ "type": "keyword",
3632
+ "value": "string"
3633
+ },
3634
+ "optional": true,
3635
+ "computed": false
3636
+ }
3637
+ ]
3638
+ },
3639
+ {
3640
+ "type": "interface",
3641
+ "name": "AIEmployee",
3642
+ "body": [
3643
+ {
3644
+ "type": "propertySignature",
3645
+ "key": {
3646
+ "type": "identifier",
3647
+ "name": "employeeId"
3648
+ },
3649
+ "annotation": {
3650
+ "type": "keyword",
3651
+ "value": "string"
3652
+ },
3653
+ "computed": false
3654
+ },
3655
+ {
3656
+ "type": "propertySignature",
3657
+ "key": {
3658
+ "type": "identifier",
3659
+ "name": "name"
3660
+ },
3661
+ "annotation": {
3662
+ "type": "keyword",
3663
+ "value": "string"
3664
+ },
3665
+ "computed": false
3666
+ }
3667
+ ]
3668
+ },
3669
+ {
3670
+ "type": "interface",
3671
+ "name": "EditActivityDetail",
3672
+ "body": [
3673
+ {
3674
+ "type": "propertySignature",
3675
+ "key": {
3676
+ "type": "identifier",
3677
+ "name": "stage"
3678
+ },
3679
+ "annotation": {
3680
+ "type": "reference",
3681
+ "typeName": {
3682
+ "type": "identifier",
3683
+ "name": "Stage"
3684
+ }
3685
+ },
3686
+ "computed": false
3687
+ },
3688
+ {
3689
+ "type": "propertySignature",
3690
+ "key": {
3691
+ "type": "identifier",
3692
+ "name": "activity"
3693
+ },
3694
+ "annotation": {
3695
+ "type": "reference",
3696
+ "typeName": {
3697
+ "type": "identifier",
3698
+ "name": "FlowActivity"
3699
+ }
3700
+ },
3701
+ "computed": false
3702
+ },
3016
3703
  {
3017
- "type": "expressionWithTypeArguments",
3018
- "expression": {
3704
+ "type": "propertySignature",
3705
+ "key": {
3019
3706
  "type": "identifier",
3020
- "name": "ActivityBase"
3021
- }
3707
+ "name": "activityIndex"
3708
+ },
3709
+ "annotation": {
3710
+ "type": "keyword",
3711
+ "value": "number"
3712
+ },
3713
+ "computed": false
3022
3714
  }
3023
3715
  ]
3024
3716
  }
3025
3717
  ]
3026
3718
  },
3027
- "ai-portal.chat-input": {
3028
- "properties": [
3029
- {
3030
- "name": "placeholder",
3031
- "annotation": {
3032
- "type": "keyword",
3033
- "value": "string"
3034
- }
3035
- },
3036
- {
3037
- "name": "autoFocus",
3038
- "annotation": {
3039
- "type": "keyword",
3040
- "value": "boolean"
3041
- }
3042
- },
3043
- {
3044
- "name": "submitDisabled",
3045
- "annotation": {
3046
- "type": "keyword",
3047
- "value": "boolean"
3048
- }
3049
- },
3050
- {
3051
- "name": "supportsTerminate",
3052
- "annotation": {
3053
- "type": "keyword",
3054
- "value": "boolean"
3055
- }
3056
- },
3057
- {
3058
- "name": "terminating",
3059
- "annotation": {
3060
- "type": "keyword",
3061
- "value": "boolean"
3062
- }
3063
- }
3064
- ],
3065
- "events": [
3066
- {
3067
- "name": "message.submit",
3068
- "detail": {
3069
- "annotation": {
3070
- "type": "keyword",
3071
- "value": "string"
3072
- }
3073
- }
3074
- },
3075
- {
3076
- "name": "terminate",
3077
- "detail": {
3078
- "annotation": {
3079
- "type": "keyword",
3080
- "value": "void"
3081
- }
3082
- }
3083
- }
3084
- ],
3085
- "methods": []
3086
- },
3087
- "ai-portal.show-case": {
3088
- "properties": [
3089
- {
3090
- "name": "caseTitle",
3091
- "annotation": {
3092
- "type": "keyword",
3093
- "value": "string"
3094
- }
3095
- },
3096
- {
3097
- "name": "summary",
3098
- "annotation": {
3099
- "type": "keyword",
3100
- "value": "string"
3101
- }
3102
- },
3103
- {
3104
- "name": "url",
3105
- "annotation": {
3106
- "type": "keyword",
3107
- "value": "string"
3108
- }
3109
- }
3110
- ],
3111
- "events": [],
3112
- "methods": []
3113
- },
3114
3719
  "ai-portal.flow-tabs": {
3115
3720
  "properties": [
3116
3721
  {
@@ -4358,6 +4963,89 @@
4358
4963
  "value": "string"
4359
4964
  },
4360
4965
  "computed": false
4966
+ },
4967
+ {
4968
+ "type": "propertySignature",
4969
+ "key": {
4970
+ "type": "identifier",
4971
+ "name": "cmd"
4972
+ },
4973
+ "annotation": {
4974
+ "type": "reference",
4975
+ "typeName": {
4976
+ "type": "identifier",
4977
+ "name": "CommandPayload"
4978
+ }
4979
+ },
4980
+ "optional": true,
4981
+ "computed": false
4982
+ }
4983
+ ]
4984
+ },
4985
+ {
4986
+ "type": "typeAlias",
4987
+ "name": "CommandPayload",
4988
+ "annotation": {
4989
+ "type": "reference",
4990
+ "typeName": {
4991
+ "type": "identifier",
4992
+ "name": "CommandPayloadServiceFlowStarting"
4993
+ }
4994
+ }
4995
+ },
4996
+ {
4997
+ "type": "interface",
4998
+ "name": "CommandPayloadServiceFlowStarting",
4999
+ "body": [
5000
+ {
5001
+ "type": "propertySignature",
5002
+ "key": {
5003
+ "type": "identifier",
5004
+ "name": "type"
5005
+ },
5006
+ "annotation": {
5007
+ "type": "jsLiteral",
5008
+ "value": "serviceFlowStarting"
5009
+ },
5010
+ "computed": false
5011
+ },
5012
+ {
5013
+ "type": "propertySignature",
5014
+ "key": {
5015
+ "type": "identifier",
5016
+ "name": "serviceFlowStarting"
5017
+ },
5018
+ "annotation": {
5019
+ "type": "typeLiteral",
5020
+ "members": [
5021
+ {
5022
+ "type": "propertySignature",
5023
+ "key": {
5024
+ "type": "identifier",
5025
+ "name": "spaceInstanceId"
5026
+ },
5027
+ "annotation": {
5028
+ "type": "keyword",
5029
+ "value": "string"
5030
+ },
5031
+ "computed": false
5032
+ },
5033
+ {
5034
+ "type": "propertySignature",
5035
+ "key": {
5036
+ "type": "identifier",
5037
+ "name": "flowInstanceId"
5038
+ },
5039
+ "annotation": {
5040
+ "type": "keyword",
5041
+ "value": "string"
5042
+ },
5043
+ "optional": true,
5044
+ "computed": false
5045
+ }
5046
+ ]
5047
+ },
5048
+ "computed": false
4361
5049
  }
4362
5050
  ]
4363
5051
  },
@@ -4808,6 +5496,89 @@
4808
5496
  "value": "string"
4809
5497
  },
4810
5498
  "computed": false
5499
+ },
5500
+ {
5501
+ "type": "propertySignature",
5502
+ "key": {
5503
+ "type": "identifier",
5504
+ "name": "cmd"
5505
+ },
5506
+ "annotation": {
5507
+ "type": "reference",
5508
+ "typeName": {
5509
+ "type": "identifier",
5510
+ "name": "CommandPayload"
5511
+ }
5512
+ },
5513
+ "optional": true,
5514
+ "computed": false
5515
+ }
5516
+ ]
5517
+ },
5518
+ {
5519
+ "type": "typeAlias",
5520
+ "name": "CommandPayload",
5521
+ "annotation": {
5522
+ "type": "reference",
5523
+ "typeName": {
5524
+ "type": "identifier",
5525
+ "name": "CommandPayloadServiceFlowStarting"
5526
+ }
5527
+ }
5528
+ },
5529
+ {
5530
+ "type": "interface",
5531
+ "name": "CommandPayloadServiceFlowStarting",
5532
+ "body": [
5533
+ {
5534
+ "type": "propertySignature",
5535
+ "key": {
5536
+ "type": "identifier",
5537
+ "name": "type"
5538
+ },
5539
+ "annotation": {
5540
+ "type": "jsLiteral",
5541
+ "value": "serviceFlowStarting"
5542
+ },
5543
+ "computed": false
5544
+ },
5545
+ {
5546
+ "type": "propertySignature",
5547
+ "key": {
5548
+ "type": "identifier",
5549
+ "name": "serviceFlowStarting"
5550
+ },
5551
+ "annotation": {
5552
+ "type": "typeLiteral",
5553
+ "members": [
5554
+ {
5555
+ "type": "propertySignature",
5556
+ "key": {
5557
+ "type": "identifier",
5558
+ "name": "spaceInstanceId"
5559
+ },
5560
+ "annotation": {
5561
+ "type": "keyword",
5562
+ "value": "string"
5563
+ },
5564
+ "computed": false
5565
+ },
5566
+ {
5567
+ "type": "propertySignature",
5568
+ "key": {
5569
+ "type": "identifier",
5570
+ "name": "flowInstanceId"
5571
+ },
5572
+ "annotation": {
5573
+ "type": "keyword",
5574
+ "value": "string"
5575
+ },
5576
+ "optional": true,
5577
+ "computed": false
5578
+ }
5579
+ ]
5580
+ },
5581
+ "computed": false
4811
5582
  }
4812
5583
  ]
4813
5584
  },