@ah-oh/ao-workspaces-design-system 0.0.52 → 0.0.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ah-oh/ao-workspaces-design-system",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ah-oh/ao-workspaces.git",
@@ -1856,6 +1856,7 @@ declare class WorkspaceNavbarComponent implements AfterViewInit {
1856
1856
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<WorkspaceNavbarComponent, "ao-workspace-navbar", never, { "appId": { "alias": "appId"; "required": true; "isSignal": true; }; "production": { "alias": "production"; "required": false; "isSignal": true; }; "topNavItems": { "alias": "topNavItems"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showNotifications": { "alias": "showNotifications"; "required": false; "isSignal": true; }; "notificationCount": { "alias": "notificationCount"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "recommendedFilters": { "alias": "recommendedFilters"; "required": false; "isSignal": true; }; "activeFilter": { "alias": "activeFilter"; "required": false; "isSignal": true; }; "resultGroups": { "alias": "resultGroups"; "required": false; "isSignal": true; }; "pageSuggestion": { "alias": "pageSuggestion"; "required": false; "isSignal": true; }; "aiSuggestions": { "alias": "aiSuggestions"; "required": false; "isSignal": true; }; "searchLoading": { "alias": "searchLoading"; "required": false; "isSignal": true; }; "searchError": { "alias": "searchError"; "required": false; "isSignal": true; }; }, { "activeFilter": "activeFilterChange"; "topNavItemClick": "topNavItemClick"; "topNavItemChange": "topNavItemChange"; "subTopNavItemClick": "subTopNavItemClick"; "subTopNavItemChange": "subTopNavItemChange"; "appSwitched": "appSwitched"; "searchSubmit": "searchSubmit"; "searchQueryChange": "searchQueryChange"; "searchViewAll": "searchViewAll"; "searchResultSelect": "searchResultSelect"; "searchAiSuggestionSelect": "searchAiSuggestionSelect"; "searchPageSuggestionSelect": "searchPageSuggestionSelect"; "searchFilterSelect": "searchFilterSelect"; "searchFilterClear": "searchFilterClear"; "notificationClick": "notificationClick"; }, never, ["*"], true, never>;
1857
1857
  }
1858
1858
 
1859
+ type ChatHandbookType = 'szales' | 'sethub' | 'admin';
1859
1860
  type ChatProduct = 'szales' | 'sethub' | 'admin';
1860
1861
  interface A2uiSurfaceEnvelope {
1861
1862
  surfaceId: string;
@@ -1881,6 +1882,13 @@ interface ChatResponse {
1881
1882
  threadId: string;
1882
1883
  parts: ChatPart[];
1883
1884
  }
1885
+ interface ChatMessageRequest {
1886
+ question: string;
1887
+ threadId?: string;
1888
+ product: ChatProduct;
1889
+ handbookType?: ChatHandbookType;
1890
+ type?: SearchEntityType | null;
1891
+ }
1884
1892
  interface ChatActionRequest {
1885
1893
  threadId: string;
1886
1894
  surfaceId: string;
@@ -1901,11 +1909,7 @@ interface ChatThreadOverview {
1901
1909
  declare class RobinChatService {
1902
1910
  private readonly http;
1903
1911
  private readonly baseUrl;
1904
- sendMessage(req: {
1905
- question: string;
1906
- threadId?: string;
1907
- product: ChatProduct;
1908
- }): Promise<ChatResponse>;
1912
+ sendMessage(req: ChatMessageRequest): Promise<ChatResponse>;
1909
1913
  sendAction(req: ChatActionRequest): Promise<ChatResponse>;
1910
1914
  listThreads(product: ChatProduct): Promise<ChatThreadOverview[]>;
1911
1915
  loadHistory(threadId: string): Promise<ChatTurn[]>;
@@ -1970,4 +1974,4 @@ declare class AoCatalog extends BasicCatalogBase {
1970
1974
  declare function provideRobinA2ui(): EnvironmentProviders;
1971
1975
 
1972
1976
  export { AO_CATALOG_ID, AiSearchComponent, AoCatalog, AuthService, ButtonComponent, CheckboxComponent, ChipsInputComponent, DEFAULT_TOOLBAR, DIALOG_DATA, DateInputComponent, DesignSystem, DialogComponent, DialogRef, DialogService, EditableTextComponent, IconButtonComponent, IconComponent, InputComponent, LogoMenuComponent, MarkdownEditorComponent, MenuComponent, MenuItemComponent, MultiselectComponent, NavToolsComponent, NotificationButtonComponent, ROBIN_API_BASE_URL, ROBIN_SEARCH_APP_NAME, RobinChatActionDispatcher, RobinChatService, RobinSearchService, SearchResultsPageComponent, SelectComponent, SideNavComponent, SlideToggleComponent, SubNavActionsService, SubTopNavComponent, TabPanelComponent, TableCellDefDirective, TableCheckboxComponent, TableComponent, TableDatePickerComponent, TableFilterComponent, TableInputComponent, TablePaginationComponent, TableRowActionsComponent, TableSelectComponent, TabsComponent, TooltipDirective, TopNavComponent, WorkspaceNavbarComponent, WorkspaceNavbarService, authInterceptor, provideAuth, provideRobinA2ui, withAuthInterceptor };
1973
- export type { A2uiSurfaceEnvelope, ButtonVariant, ChatActionRequest, ChatPart, ChatProduct, ChatResponse, ChatThreadOverview, ChatTurn, CheckboxState, CompanyMenuItem, DialogConfig, DialogInternalConfig, DialogSize, EditableTextSize, IconButtonSize, IconSize, LogoMenuItem, MarkdownEditorConfig, MarkdownEditorToolbarAction, NavItem, NavItemChangeEvent, PageSuggestion, RecommendedFilter, SearchEntityType, SearchPayload, SearchResult, SearchResultGroup, SearchResultsTypeOption, SearchSubmitEvent, SelectOption, SortDirection, SubNavActionEvent, SubNavActionsConfig, SubNavActionsHandle, SubNavActionsLabels, TabChangeEvent, TableCellDefContext, TableColumn, TableColumnFilter, TableFilterState, TableFilterType, TablePageChangeEvent, TablePageState, TableRowAction, TableRowActionEvent, TableSelectionMode, TableSortState, UserSession, WorkspaceNavbarConfig };
1977
+ export type { A2uiSurfaceEnvelope, ButtonVariant, ChatActionRequest, ChatHandbookType, ChatMessageRequest, ChatPart, ChatProduct, ChatResponse, ChatThreadOverview, ChatTurn, CheckboxState, CompanyMenuItem, DialogConfig, DialogInternalConfig, DialogSize, EditableTextSize, IconButtonSize, IconSize, LogoMenuItem, MarkdownEditorConfig, MarkdownEditorToolbarAction, NavItem, NavItemChangeEvent, PageSuggestion, RecommendedFilter, SearchEntityType, SearchPayload, SearchResult, SearchResultGroup, SearchResultsTypeOption, SearchSubmitEvent, SelectOption, SortDirection, SubNavActionEvent, SubNavActionsConfig, SubNavActionsHandle, SubNavActionsLabels, TabChangeEvent, TableCellDefContext, TableColumn, TableColumnFilter, TableFilterState, TableFilterType, TablePageChangeEvent, TablePageState, TableRowAction, TableRowActionEvent, TableSelectionMode, TableSortState, UserSession, WorkspaceNavbarConfig };