@deepdesk/deepdesk-sdk 15.1.1-beta.3 → 15.1.1-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6,14 +6,14 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
6
6
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
7
7
  import { Middleware } from '@reduxjs/toolkit';
8
8
 
9
- declare const styles$q: {
10
- readonly "root": string;
11
- readonly "imageWrapper": string;
12
- readonly "image": string;
9
+ declare const styles$s: {
13
10
  readonly "content": string;
14
- readonly "title": string;
15
11
  readonly "contentIsCropped": string;
12
+ readonly "image": string;
13
+ readonly "imageWrapper": string;
16
14
  readonly "lineClamp": string;
15
+ readonly "root": string;
16
+ readonly "title": string;
17
17
  };
18
18
 
19
19
  type ImageProps = {
@@ -35,10 +35,10 @@ interface CardComposition {
35
35
  Content: FC<ContentProps>;
36
36
  Title: FC<TitleProps>;
37
37
  }
38
- type CardStyles = typeof styles$q;
38
+ type CardStyles = typeof styles$s;
39
39
  declare const Card: FC & CardComposition;
40
40
 
41
- declare const styles$p: {
41
+ declare const styles$r: {
42
42
  readonly "root": string;
43
43
  };
44
44
 
@@ -53,18 +53,18 @@ type Props$6 = HTMLAttributes<HTMLSpanElement> & {
53
53
  className?: string;
54
54
  keyCode: KeyboardHintKey;
55
55
  };
56
- type KeyboardHintStyles = typeof styles$p;
56
+ type KeyboardHintStyles = typeof styles$r;
57
57
  declare const KeyboardHint: React.FC<Props$6>;
58
58
 
59
- declare const styles$o: {
59
+ declare const styles$q: {
60
60
  readonly "root": string;
61
61
  };
62
62
 
63
63
  type Props$5 = HTMLAttributes<HTMLSpanElement>;
64
- type LabelStyles = typeof styles$o;
64
+ type LabelStyles = typeof styles$q;
65
65
  declare const Label: React.FC<Props$5>;
66
66
 
67
- declare const styles$n: {
67
+ declare const styles$p: {
68
68
  readonly "root": string;
69
69
  readonly "subTitleContainer": string;
70
70
  readonly "subtitle": string;
@@ -75,10 +75,10 @@ type Props$4 = HTMLAttributes<HTMLElement> & {
75
75
  type: string;
76
76
  title?: string;
77
77
  };
78
- type SectionStyles = typeof styles$n;
78
+ type SectionStyles = typeof styles$p;
79
79
  declare const Section: React.FC<Props$4>;
80
80
 
81
- declare const styles$m: {
81
+ declare const styles$o: {
82
82
  readonly "root": string;
83
83
  };
84
84
 
@@ -86,29 +86,29 @@ type Props$3 = {
86
86
  className?: string;
87
87
  children?: React.ReactNode;
88
88
  };
89
- type SectionListStyles = typeof styles$m;
89
+ type SectionListStyles = typeof styles$o;
90
90
  declare const SectionList: React.FC<Props$3>;
91
91
 
92
- declare const styles$l: {
93
- readonly "root": string;
94
- readonly "fadein": string;
95
- readonly "isClickable": string;
96
- readonly "isSelected": string;
92
+ declare const styles$n: {
93
+ readonly "actionButton": string;
94
+ readonly "actionButtonIsDisabled": string;
95
+ readonly "actionButtonIsPrimary": string;
97
96
  readonly "actions": string;
98
97
  readonly "actionsIsFixed": string;
99
- readonly "actionButton": string;
100
- readonly "dropdownList": string;
98
+ readonly "button": string;
99
+ readonly "buttonDisabled": string;
100
+ readonly "buttonWithIcon": string;
101
+ readonly "buttonsContainer": string;
101
102
  readonly "dropdownButton": string;
102
103
  readonly "dropdownItem": string;
103
104
  readonly "dropdownItemButton": string;
104
- readonly "actionButtonIsPrimary": string;
105
- readonly "actionButtonIsDisabled": string;
106
- readonly "labels": string;
105
+ readonly "dropdownList": string;
106
+ readonly "fadein": string;
107
+ readonly "isClickable": string;
108
+ readonly "isSelected": string;
107
109
  readonly "label": string;
108
- readonly "buttonsContainer": string;
109
- readonly "button": string;
110
- readonly "buttonWithIcon": string;
111
- readonly "buttonDisabled": string;
110
+ readonly "labels": string;
111
+ readonly "root": string;
112
112
  };
113
113
 
114
114
  interface ActionsProps extends HTMLAttributes<HTMLElement> {
@@ -156,30 +156,30 @@ interface SuggestionComposition {
156
156
  Button: typeof Button;
157
157
  ButtonsContainer: typeof ButtonsContainer;
158
158
  }
159
- type SuggestionStyles = typeof styles$l;
159
+ type SuggestionStyles = typeof styles$n;
160
160
  declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
161
161
 
162
- declare const styles$k: {
163
- readonly "root": string;
162
+ declare const styles$m: {
164
163
  readonly "isWithDivider": string;
164
+ readonly "root": string;
165
165
  };
166
166
 
167
- type SuggestionListStyles = typeof styles$k;
167
+ type SuggestionListStyles = typeof styles$m;
168
168
  interface Props$1 {
169
169
  withDivider?: boolean;
170
170
  }
171
171
  declare const SuggestionList: React.FC<Props$1>;
172
172
 
173
- declare const styles$j: {
174
- readonly "root": string;
173
+ declare const styles$l: {
175
174
  readonly "isCollapsed": string;
175
+ readonly "root": string;
176
176
  };
177
177
 
178
178
  type Props = HTMLAttributes<HTMLButtonElement> & {
179
179
  isCollapsed: boolean;
180
180
  title: string;
181
181
  };
182
- type ToggleButtonStyles = typeof styles$j;
182
+ type ToggleButtonStyles = typeof styles$l;
183
183
  declare const ToggleButton: React.FC<Props>;
184
184
 
185
185
  declare enum Sources {
@@ -806,6 +806,8 @@ declare namespace Server {
806
806
  */
807
807
  knowledge_assistant: string;
808
808
  knowledge_assistant_new: string;
809
+ on_demand_assistants: Array<OnDemandAssistant>;
810
+ authorized_groups: number[];
809
811
  active_config: {
810
812
  default_locale: string;
811
813
  };
@@ -830,6 +832,11 @@ declare namespace Server {
830
832
  };
831
833
  };
832
834
  };
835
+ type OnDemandAssistant = {
836
+ assistant: string;
837
+ assistant_name: string;
838
+ is_pinned: boolean;
839
+ };
833
840
  type ChatHistory = {
834
841
  question: string;
835
842
  answer: string;
@@ -1586,176 +1593,193 @@ interface TextSuggestionState {
1586
1593
  [type: string]: SuggestionState;
1587
1594
  }
1588
1595
 
1589
- declare const styles$i: {
1590
- readonly "root": string;
1596
+ declare const styles$k: {
1597
+ readonly "actionButton": string;
1598
+ readonly "actionShortcut": string;
1599
+ readonly "actionShortcutFixKerning": string;
1600
+ readonly "actions": string;
1601
+ readonly "actionsBar": string;
1602
+ readonly "actionsWrapper": string;
1603
+ readonly "hasShortKeys": string;
1604
+ readonly "icon": string;
1605
+ readonly "image": string;
1606
+ readonly "imageSrc": string;
1607
+ readonly "imageSrcHidden": string;
1608
+ readonly "imageSrcStatus": string;
1609
+ readonly "imageTitle": string;
1610
+ readonly "lineClamp": string;
1591
1611
  readonly "list": string;
1592
- readonly "listWrapper": string;
1593
- readonly "listHorizontal": string;
1594
- readonly "page": string;
1595
- readonly "search": string;
1596
- readonly "pageNav": string;
1597
- readonly "pageTitle": string;
1598
- readonly "pageBackButton": string;
1599
1612
  readonly "listHeader": string;
1600
1613
  readonly "listHeading": string;
1601
- readonly "listMoreButton": string;
1614
+ readonly "listHorizontal": string;
1602
1615
  readonly "listItem": string;
1616
+ readonly "listItemAction": string;
1617
+ readonly "listItemActions": string;
1603
1618
  readonly "listItemContent": string;
1604
- readonly "listItemText": string;
1605
1619
  readonly "listItemDescription": string;
1606
- readonly "listItemActions": string;
1607
- readonly "truncate": string;
1608
- readonly "lineClamp": string;
1609
- readonly "listItemTitle": string;
1610
- readonly "listItemAction": string;
1611
1620
  readonly "listItemSelected": string;
1612
- readonly "sources": string;
1613
- readonly "sourcesTitle": string;
1614
- readonly "source": string;
1615
- readonly "sourceShowMore": string;
1616
- readonly "icon": string;
1621
+ readonly "listItemText": string;
1622
+ readonly "listItemTitle": string;
1623
+ readonly "listMoreButton": string;
1624
+ readonly "listWrapper": string;
1625
+ readonly "page": string;
1626
+ readonly "pageBackButton": string;
1627
+ readonly "pageNav": string;
1628
+ readonly "pageTitle": string;
1629
+ readonly "root": string;
1630
+ readonly "search": string;
1617
1631
  readonly "searchIcon": string;
1618
- readonly "searchInputWrapper": string;
1619
1632
  readonly "searchInput": string;
1633
+ readonly "searchInputWrapper": string;
1620
1634
  readonly "select": string;
1621
1635
  readonly "selectType": string;
1622
1636
  readonly "selectWrapper": string;
1623
- readonly "image": string;
1624
- readonly "imageSrc": string;
1625
- readonly "imageSrcHidden": string;
1626
- readonly "imageSrcStatus": string;
1627
- readonly "imageTitle": string;
1628
- readonly "actions": string;
1629
- readonly "actionsWrapper": string;
1630
- readonly "actionsBar": string;
1631
- readonly "actionButton": string;
1632
- readonly "hasShortKeys": string;
1633
- readonly "actionShortcut": string;
1634
- readonly "actionShortcutFixKerning": string;
1637
+ readonly "source": string;
1638
+ readonly "sourceShowMore": string;
1639
+ readonly "sources": string;
1640
+ readonly "sourcesTitle": string;
1641
+ readonly "truncate": string;
1635
1642
  };
1636
1643
 
1637
- type CommandPaletteStyles = typeof styles$i;
1644
+ type CommandPaletteStyles = typeof styles$k;
1638
1645
 
1639
- declare const styles$h: {
1640
- readonly "root": string;
1646
+ declare const styles$j: {
1641
1647
  readonly "content": string;
1648
+ readonly "root": string;
1642
1649
  };
1643
1650
 
1644
- type DialogStyles = typeof styles$h;
1651
+ type DialogStyles = typeof styles$j;
1645
1652
 
1646
- declare const styles$g: {
1647
- readonly "root": string;
1653
+ declare const styles$i: {
1648
1654
  readonly "empty": string;
1655
+ readonly "root": string;
1649
1656
  };
1650
1657
 
1651
- type EntitiesListStyles = typeof styles$g;
1658
+ type EntitiesListStyles = typeof styles$i;
1652
1659
 
1653
- declare const styles$f: {
1654
- readonly "root": string;
1660
+ declare const styles$h: {
1655
1661
  readonly "entity": string;
1656
1662
  readonly "entityText": string;
1657
- readonly "iconWrapper": string;
1658
1663
  readonly "icon": string;
1659
1664
  readonly "iconClicked": string;
1665
+ readonly "iconWrapper": string;
1666
+ readonly "root": string;
1660
1667
  };
1661
1668
 
1662
- type EntitiesWidgetListStyles = typeof styles$f;
1669
+ type EntitiesWidgetListStyles = typeof styles$h;
1663
1670
 
1664
- declare const styles$e: {
1665
- readonly "thumbs": string;
1666
- readonly "fadeup": string;
1671
+ declare const styles$g: {
1667
1672
  readonly "fadedown": string;
1673
+ readonly "fadeup": string;
1668
1674
  readonly "selected": string;
1669
- readonly "thumbsUp": string;
1675
+ readonly "thumbs": string;
1670
1676
  readonly "thumbsDown": string;
1677
+ readonly "thumbsUp": string;
1671
1678
  };
1672
1679
 
1673
- type FeedbackThumbsStyles = typeof styles$e;
1680
+ type FeedbackThumbsStyles = typeof styles$g;
1674
1681
 
1675
- declare const styles$d: {
1676
- readonly "root": string;
1677
- readonly "text": string;
1682
+ declare const styles$f: {
1683
+ readonly "icon": string;
1678
1684
  readonly "isLoggedIn": string;
1679
1685
  readonly "isLoggedOut": string;
1680
- readonly "icon": string;
1681
- readonly "logo": string;
1682
1686
  readonly "lock": string;
1687
+ readonly "logo": string;
1688
+ readonly "root": string;
1689
+ readonly "text": string;
1683
1690
  };
1684
1691
 
1685
- type FloatingMenuStyles = typeof styles$d;
1692
+ type FloatingMenuStyles = typeof styles$f;
1686
1693
 
1687
- declare const styles$c: {
1688
- readonly "root": string;
1694
+ declare const styles$e: {
1689
1695
  readonly "paper": string;
1696
+ readonly "root": string;
1690
1697
  };
1691
1698
 
1692
- type InlineSuggestionsOverlayStyles = typeof styles$c;
1699
+ type InlineSuggestionsOverlayStyles = typeof styles$e;
1693
1700
 
1694
- declare const styles$b: {
1695
- readonly "root": string;
1696
- readonly "title": string;
1701
+ declare const styles$d: {
1702
+ readonly "alignRight": string;
1703
+ readonly "answer": string;
1697
1704
  readonly "empty": string;
1698
- readonly "status": string;
1699
1705
  readonly "form": string;
1700
1706
  readonly "input": string;
1701
- readonly "submit": string;
1702
- readonly "question": string;
1703
- readonly "answer": string;
1704
- readonly "alignRight": string;
1705
1707
  readonly "listItemFeedback": string;
1708
+ readonly "question": string;
1709
+ readonly "root": string;
1710
+ readonly "status": string;
1711
+ readonly "submit": string;
1712
+ readonly "title": string;
1706
1713
  };
1707
1714
 
1708
- type KnowledgeSearchStyles = typeof styles$b;
1715
+ type KnowledgeSearchStyles = typeof styles$d;
1709
1716
 
1710
- declare const styles$a: {
1711
- readonly "root": string;
1717
+ declare const styles$c: {
1712
1718
  readonly "content": string;
1719
+ readonly "root": string;
1713
1720
  };
1714
1721
 
1715
- type LinkSearchStyles = typeof styles$a;
1722
+ type LinkSearchStyles = typeof styles$c;
1716
1723
 
1717
- declare const styles$9: {
1724
+ declare const styles$b: {
1718
1725
  readonly "loadingBar": string;
1719
1726
  readonly "placeHolderShimmer": string;
1720
1727
  };
1721
1728
 
1722
- type LoadingProgressBarStyles = typeof styles$9;
1729
+ type LoadingProgressBarStyles = typeof styles$b;
1723
1730
 
1724
- declare const styles$8: {
1731
+ declare const styles$a: {
1725
1732
  readonly "root": string;
1733
+ readonly "rotation": string;
1734
+ };
1735
+
1736
+ type LoadingSpinnerStyles = typeof styles$a;
1737
+
1738
+ declare const styles$9: {
1726
1739
  readonly "anchor": string;
1727
1740
  readonly "anchorButton": string;
1741
+ readonly "root": string;
1728
1742
  };
1729
1743
 
1730
- type LoginStyles = typeof styles$8;
1744
+ type LoginStyles = typeof styles$9;
1731
1745
 
1732
- declare const styles$7: {
1733
- readonly "root": string;
1746
+ declare const styles$8: {
1747
+ readonly "actions": string;
1734
1748
  readonly "anchorButton": string;
1749
+ readonly "button": string;
1735
1750
  readonly "errorMessage": string;
1736
- readonly "title": string;
1737
- readonly "subtitle": string;
1738
- readonly "text": string;
1739
1751
  readonly "input": string;
1740
- readonly "actions": string;
1741
- readonly "button": string;
1742
1752
  readonly "primaryButton": string;
1753
+ readonly "root": string;
1754
+ readonly "subtitle": string;
1755
+ readonly "text": string;
1756
+ readonly "title": string;
1743
1757
  };
1744
1758
 
1745
- type LoginTokenDialogStyles = typeof styles$7;
1759
+ type LoginTokenDialogStyles = typeof styles$8;
1746
1760
 
1747
- declare const styles$6: {
1748
- readonly "root": string;
1749
- readonly "popover": string;
1750
- readonly "options": string;
1761
+ declare const styles$7: {
1751
1762
  readonly "arrow": string;
1752
1763
  readonly "copyIcon": string;
1753
- readonly "option": string;
1754
1764
  readonly "divider": string;
1755
1765
  readonly "fadeup": string;
1766
+ readonly "option": string;
1767
+ readonly "options": string;
1768
+ readonly "popover": string;
1769
+ readonly "root": string;
1756
1770
  };
1757
1771
 
1758
- type MarkdownStyles = typeof styles$6;
1772
+ type MarkdownStyles = typeof styles$7;
1773
+
1774
+ declare const styles$6: {
1775
+ readonly "button": string;
1776
+ readonly "item": string;
1777
+ readonly "nav": string;
1778
+ readonly "root": string;
1779
+ readonly "trigger": string;
1780
+ };
1781
+
1782
+ type OnDemandAssistantsStyles = typeof styles$6;
1759
1783
 
1760
1784
  declare const styles$5: {
1761
1785
  readonly "root": string;
@@ -1765,15 +1789,15 @@ declare const styles$5: {
1765
1789
  type SearchTriggerStyles = typeof styles$5;
1766
1790
 
1767
1791
  declare const styles$4: {
1768
- readonly "root": string;
1792
+ readonly "collapsible": string;
1793
+ readonly "hints": string;
1794
+ readonly "hintsHidden": string;
1795
+ readonly "isCollapsed": string;
1769
1796
  readonly "isInline": string;
1797
+ readonly "root": string;
1770
1798
  readonly "toggleButton": string;
1771
1799
  readonly "toggleButtonWrapper": string;
1772
1800
  readonly "toggleButtonWrapperHidden": string;
1773
- readonly "isCollapsed": string;
1774
- readonly "collapsible": string;
1775
- readonly "hints": string;
1776
- readonly "hintsHidden": string;
1777
1801
  readonly "triggers": string;
1778
1802
  readonly "triggersRight": string;
1779
1803
  };
@@ -1781,63 +1805,63 @@ declare const styles$4: {
1781
1805
  type SuggestionsOverlayStyles = typeof styles$4;
1782
1806
 
1783
1807
  declare const styles$3: {
1784
- readonly "root": string;
1785
- readonly "container": string;
1786
1808
  readonly "agentText": string;
1787
- readonly "tabText": string;
1788
- readonly "hint": string;
1789
- readonly "matchSelection": string;
1809
+ readonly "caret": string;
1810
+ readonly "container": string;
1790
1811
  readonly "focus": string;
1791
- readonly "resetIndent": string;
1812
+ readonly "hint": string;
1813
+ readonly "hintText": string;
1814
+ readonly "hover": string;
1792
1815
  readonly "matchKeyword": string;
1793
1816
  readonly "matchPlaceholder": string;
1794
- readonly "hover": string;
1795
- readonly "hintText": string;
1817
+ readonly "matchSelection": string;
1796
1818
  readonly "popover": string;
1797
- readonly "popoverRoot": string;
1798
- readonly "popoverContentContainer": string;
1799
1819
  readonly "popoverContent": string;
1820
+ readonly "popoverContentContainer": string;
1821
+ readonly "popoverRoot": string;
1822
+ readonly "popoverSuggestionsRoot": string;
1823
+ readonly "resetIndent": string;
1824
+ readonly "root": string;
1800
1825
  readonly "selectionOptions": string;
1801
- readonly "selectionOptionsIsHidden": string;
1802
1826
  readonly "selectionOptionsButton": string;
1803
- readonly "caret": string;
1804
- readonly "popoverSuggestionsRoot": string;
1827
+ readonly "selectionOptionsIsHidden": string;
1805
1828
  readonly "suggestionsOverlayInputStyles": string;
1829
+ readonly "tabText": string;
1806
1830
  };
1807
1831
 
1808
1832
  type TabCompletionStyles = typeof styles$3;
1809
1833
 
1810
1834
  declare const styles$2: {
1811
- readonly "root": string;
1812
1835
  readonly "actions": string;
1813
1836
  readonly "badge": string;
1814
1837
  readonly "formattedText": string;
1838
+ readonly "root": string;
1815
1839
  };
1816
1840
 
1817
1841
  type TextSuggestionStyles = typeof styles$2;
1818
1842
 
1819
1843
  declare const styles$1: {
1820
- readonly "root": string;
1821
- readonly "loginText": string;
1822
- readonly "stateText": string;
1823
- readonly "sectionList": string;
1824
1844
  readonly "footer": string;
1825
- readonly "shortcutList": string;
1826
- readonly "shortcut": string;
1827
1845
  readonly "footerShortcut": string;
1828
1846
  readonly "link": string;
1847
+ readonly "loginText": string;
1848
+ readonly "root": string;
1849
+ readonly "sectionList": string;
1850
+ readonly "shortcut": string;
1851
+ readonly "shortcutList": string;
1852
+ readonly "stateText": string;
1829
1853
  };
1830
1854
 
1831
1855
  type WidgetStyles = typeof styles$1;
1832
1856
 
1833
1857
  declare const styles: {
1834
- readonly "root": string;
1835
- readonly "label": string;
1836
- readonly "value": string;
1837
1858
  readonly "copyButton": string;
1838
1859
  readonly "copyButtonText": string;
1839
- readonly "isTrue": string;
1840
1860
  readonly "isFalse": string;
1861
+ readonly "isTrue": string;
1862
+ readonly "label": string;
1863
+ readonly "root": string;
1864
+ readonly "value": string;
1841
1865
  };
1842
1866
 
1843
1867
  type WidgetCustomDataStyles = typeof styles;
@@ -1848,9 +1872,11 @@ type WidgetCustomStyles = {
1848
1872
  KeyboardHint?: Partial<KeyboardHintStyles>;
1849
1873
  Label?: Partial<LabelStyles>;
1850
1874
  LoadingProgressBar?: Partial<LoadingProgressBarStyles>;
1875
+ LoadingSpinner?: Partial<LoadingSpinnerStyles>;
1851
1876
  LinkSearch?: Partial<LinkSearchStyles>;
1852
1877
  Login?: Partial<LoginStyles>;
1853
1878
  Markdown?: Partial<MarkdownStyles>;
1879
+ OnDemandAssistants?: Partial<OnDemandAssistantsStyles>;
1854
1880
  Section?: Partial<SectionStyles>;
1855
1881
  SectionList?: Partial<SectionListStyles>;
1856
1882
  Suggestion?: Partial<SuggestionStyles>;