Module @andi/powers/models

Index

Type aliases

CastingDateFunction

CastingDateFunction: (value: string, context: CastingContext) => Date

Type declaration

CastingFunction

CastingFunction: (value: string, context: CastingContext) => any

Type declaration

ColumnOption

ColumnOption: string | undefined | null | false | { name: string }

DialoguePrompt

DialoguePrompt: { availableChoices: Choice[]; promptStyle?: PromptStyle; promptType: PromptType }

Type declaration

EmailBody

EmailBody: { htmlBody: string; htmlData?: any; template?: "default" | "none" }

Type declaration

  • htmlBody: string

    HTML text or Handlebars template. If template is provided, then it will be evaluated with htmlData to produce html content.

  • Optional htmlData?: any

    HTML data for Handlebars template.

  • Optional template?: "default" | "none"

    Default HTML Email template will be used if no value is provided, and the body section will be replaced with htmlBody content. If you do not wish to use wrapper template then use none value for template.

Engagement

NameValuePairs

NameValuePairs: Record<string, string>

OutcomeLookup

OutcomeLookup: { key?: string; name: string; recommendationKey?: string }

Options to target outcomes for retrieval or deletion.

Type declaration

  • Optional key?: string
  • name: string
  • Optional recommendationKey?: string

SkillHttpResponseType

SkillHttpResponseType: "arraybuffer" | "document" | "json" | "text" | "stream"

StringMap

StringMap: {}

Type declaration

  • [key: string]: any

Generated using TypeDoc