Lime Web Components API Documentation - v7.11.0
    Preparing search index...

    Interface ApprovalPreviewAlpha

    What the user sees before approving an AIActionWithApproval.

    It is plain data, and the chat draws it. Write every text in the user's language.

    interface ApprovalPreview {
        changes: ApprovalChange[];
        object: ApprovalObject;
        operation: "create" | "update" | "delete";
        title: string;
    }
    Index

    Properties

    changes: ApprovalChange[]

    The values the action will change, in the order to show them.

    The object the action creates, updates or deletes.

    operation: "create" | "update" | "delete"

    What the action does to object.

    title: string

    Names what the action will do, e.g. 'Update deal Acme renewal'.

    Plain text, for a chat that does not draw operation and object.