max-agent-ui 0.0.23 → 0.0.24
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/fesm2022/max-agent-ui.mjs +31 -12
- package/fesm2022/max-agent-ui.mjs.map +1 -1
- package/index.d.ts +5 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ interface AssistantConversationMessage {
|
|
|
44
44
|
interface AssistantSuggestionOption {
|
|
45
45
|
label: string;
|
|
46
46
|
message: string;
|
|
47
|
-
presentation?: 'capability_card' | 'person_card' | 'entity_tag';
|
|
47
|
+
presentation?: 'capability_card' | 'option_card' | 'person_card' | 'entity_tag';
|
|
48
48
|
section?: string;
|
|
49
49
|
entity?: AssistantSuggestionEntity;
|
|
50
50
|
structuredAction?: AssistantStructuredAction;
|
|
@@ -265,6 +265,7 @@ interface AssistantSupportTicketRequest {
|
|
|
265
265
|
name: string;
|
|
266
266
|
email: string;
|
|
267
267
|
phone?: string;
|
|
268
|
+
subject: string;
|
|
268
269
|
query: string;
|
|
269
270
|
severity: AssistantSupportTicketSeverity;
|
|
270
271
|
tags: string[];
|
|
@@ -453,6 +454,7 @@ interface SupportTicketFormValue {
|
|
|
453
454
|
name: string;
|
|
454
455
|
email: string;
|
|
455
456
|
phone: string;
|
|
457
|
+
subject: string;
|
|
456
458
|
query: string;
|
|
457
459
|
severity: AssistantSupportTicketSeverity;
|
|
458
460
|
tags: string[];
|
|
@@ -536,6 +538,8 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
536
538
|
section: string;
|
|
537
539
|
options: AssistantSuggestionOption[];
|
|
538
540
|
}>;
|
|
541
|
+
protected hasOptionCardSuggestions(suggestions?: AssistantSuggestion[], status?: AssistantChatResponse['status']): boolean;
|
|
542
|
+
protected optionCardSuggestions(suggestions?: AssistantSuggestion[], status?: AssistantChatResponse['status']): AssistantSuggestion[];
|
|
539
543
|
protected hasEntitySuggestions(suggestions?: AssistantSuggestion[]): boolean;
|
|
540
544
|
protected entitySuggestionOptions(suggestions?: AssistantSuggestion[]): AssistantEntitySuggestionOption[];
|
|
541
545
|
protected useSuggestion(suggestion: AssistantSuggestion): void;
|
|
@@ -562,7 +566,6 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
562
566
|
protected isTraceStepExpanded(messageId: string, stepId: number): boolean;
|
|
563
567
|
protected toggleTraceStep(messageId: string, stepId: number): void;
|
|
564
568
|
protected getResponseGrid(responseDetails: AssistantDisplayResponse): AssistantResponseTable[];
|
|
565
|
-
protected hasStructuredPresentation(message: AssistantMessage, responseDetails: AssistantDisplayResponse): boolean;
|
|
566
569
|
protected chartTotal(visualisation: AssistantVisualisation): number;
|
|
567
570
|
protected chartColor(visualisation: AssistantVisualisation, index: number): string;
|
|
568
571
|
protected doughnutDashArray(visualisation: AssistantVisualisation, index: number): string;
|