max-agent-ui 0.0.30 → 0.0.33
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 +25 -6
- package/fesm2022/max-agent-ui.mjs.map +1 -1
- package/index.d.ts +19 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -174,12 +174,29 @@ interface AssistantDisplayResponse {
|
|
|
174
174
|
sampleJsonResponse?: AssistantFieldValue | AssistantFieldMap;
|
|
175
175
|
grid?: AssistantResponseTable[];
|
|
176
176
|
tables?: AssistantResponseTable[];
|
|
177
|
+
helpGuide?: AssistantHelpGuide;
|
|
177
178
|
searchResults?: AssistantSearchResult[];
|
|
178
179
|
visualisations?: AssistantVisualisation[];
|
|
179
180
|
shiftCardGroups?: AssistantShiftCardGroup[];
|
|
180
181
|
rota?: AssistantRotaCalendar;
|
|
181
182
|
markdown?: string;
|
|
182
183
|
}
|
|
184
|
+
type AssistantHelpIcon = 'budget' | 'calendar' | 'document' | 'knowledge' | 'megaphone' | 'people' | 'team' | 'time-off' | 'timesheet' | 'workflow';
|
|
185
|
+
interface AssistantHelpGuide {
|
|
186
|
+
kind?: 'procedure' | 'information';
|
|
187
|
+
title: string;
|
|
188
|
+
summary: string;
|
|
189
|
+
icon: AssistantHelpIcon;
|
|
190
|
+
steps: string[];
|
|
191
|
+
content?: string;
|
|
192
|
+
tips?: string[];
|
|
193
|
+
restrictions?: string[];
|
|
194
|
+
accessNote?: string;
|
|
195
|
+
navigation?: {
|
|
196
|
+
label: string;
|
|
197
|
+
hostAction: AssistantHostAction;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
183
200
|
interface AssistantSearchResult {
|
|
184
201
|
title: string;
|
|
185
202
|
type: string;
|
|
@@ -603,6 +620,7 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
603
620
|
protected submitFeedback(): void;
|
|
604
621
|
protected searchResultIcon(type: string): string;
|
|
605
622
|
protected searchActionIcon(action: AssistantSearchResult['actions'][number]): string;
|
|
623
|
+
protected helpIcon(icon: AssistantHelpGuide['icon']): string;
|
|
606
624
|
protected getTableRowActions(table: AssistantResponseTable, rowIndex: number): AssistantResponseTableAction[];
|
|
607
625
|
protected useTableAction(action: AssistantResponseTableAction): void;
|
|
608
626
|
protected resolvePendingAction(message: AssistantMessage, decision: AssistantConfirmation['decision']): void;
|
|
@@ -714,4 +732,4 @@ declare class MaxAgentShiftCardComponent {
|
|
|
714
732
|
}
|
|
715
733
|
|
|
716
734
|
export { MAX_ASSISTANT_CONFIG, MaxAgentEntityOptionComponent, MaxAgentShiftCardComponent, MaxAssistantComponent, MaxAssistantFeedbackService, MaxAssistantService, MaxAssistantSupportService };
|
|
717
|
-
export type { AssistantAnalyticsPage, AssistantApiCall, AssistantCard, AssistantChatProgress, AssistantChatRequest, AssistantChatResponse, AssistantChatStreamEvent, AssistantConfirmation, AssistantContextResolution, AssistantConversationMessage, AssistantDeveloperTrace, AssistantDisplayResponse, AssistantExtractedIntent, AssistantFeedbackCategory, AssistantFeedbackRequest, AssistantFeedbackResponse, AssistantFieldMap, AssistantFieldValue, AssistantHostAction, AssistantMessage, AssistantPendingAction, AssistantProduct, AssistantRequestContext, AssistantResponseTable, AssistantResponseTableAction, AssistantResponseTableColumn, AssistantResponseTablePagination, AssistantRotaCalendar, AssistantSearchResult, AssistantSelectableEntity, AssistantShiftCard, AssistantShiftCardGroup, AssistantSource, AssistantStructuredAction, AssistantSuggestion, AssistantSuggestionEntity, AssistantSuggestionOption, AssistantSupportSeverity, AssistantSupportTag, AssistantSupportTagSeverity, AssistantSupportTicketRequest, AssistantSupportTicketResponse, AssistantToolExecution, AssistantTraceControl, AssistantTraceStep, AssistantTraceStepCategory, AssistantTraceStepMetadata, AssistantTraceStepStatus, AssistantTraceTechnology, AssistantUser, AssistantVisualisation, MaxAgentShiftCardVariant, MaxAssistantConfig };
|
|
735
|
+
export type { AssistantAnalyticsPage, AssistantApiCall, AssistantCard, AssistantChatProgress, AssistantChatRequest, AssistantChatResponse, AssistantChatStreamEvent, AssistantConfirmation, AssistantContextResolution, AssistantConversationMessage, AssistantDeveloperTrace, AssistantDisplayResponse, AssistantExtractedIntent, AssistantFeedbackCategory, AssistantFeedbackRequest, AssistantFeedbackResponse, AssistantFieldMap, AssistantFieldValue, AssistantHelpGuide, AssistantHelpIcon, AssistantHostAction, AssistantMessage, AssistantPendingAction, AssistantProduct, AssistantRequestContext, AssistantResponseTable, AssistantResponseTableAction, AssistantResponseTableColumn, AssistantResponseTablePagination, AssistantRotaCalendar, AssistantSearchResult, AssistantSelectableEntity, AssistantShiftCard, AssistantShiftCardGroup, AssistantSource, AssistantStructuredAction, AssistantSuggestion, AssistantSuggestionEntity, AssistantSuggestionOption, AssistantSupportSeverity, AssistantSupportTag, AssistantSupportTagSeverity, AssistantSupportTicketRequest, AssistantSupportTicketResponse, AssistantToolExecution, AssistantTraceControl, AssistantTraceStep, AssistantTraceStepCategory, AssistantTraceStepMetadata, AssistantTraceStepStatus, AssistantTraceTechnology, AssistantUser, AssistantVisualisation, MaxAgentShiftCardVariant, MaxAssistantConfig };
|