UNPKG

prodap-chatbot-domain

Version:

Classes utilizadas na resposta de todas as Intents do Assistente Virtual

30 lines (29 loc) 943 B
import { StyleType, TextType, UrlTypes } from '../../common/types'; import Message from '../base/Message'; import CarouselTypes from './CarouselTypes'; export type CarouselAbstractProps = { key?: string | number; route?: string; style?: StyleType; carouselType: CarouselTypes; textMetric?: string; url?: string; previousUrl?: string; urlType?: UrlTypes; value?: string | number | TextType; intent?: string; isClickable?: boolean; }; export default class CarouselAbstract extends Message { key?: string | number; route?: string; style?: StyleType; textMetric?: string; carouselType: CarouselTypes; url?: string; previousUrl?: string; urlType?: UrlTypes; value?: string | number | TextType; isClickable?: boolean; constructor({ key, route, style, textMetric, carouselType, url, urlType, value, intent, previousUrl, isClickable, }: CarouselAbstractProps); }