zcatalyst-integ-cliq
Version:
Node.js SDK for integrating Zoho Catalyst with Zoho Cliq
25 lines (24 loc) • 712 B
TypeScript
import { BUTTON_TYPE, Confirm as IConfirm, OEMBED_ACTION_TYPE, SYSTEM_API_ACTION, WIDGET_BUTTON_EMOTION } from '../common.js';
export default class OembedActions {
type: OEMBED_ACTION_TYPE;
label?: string;
hint?: string;
style?: BUTTON_TYPE;
url?: string;
confirm?: Confirm;
params?: Record<string, unknown>;
action?: SYSTEM_API_ACTION;
constructor(type: OEMBED_ACTION_TYPE);
newConfirm(): Confirm;
}
declare class Confirm implements IConfirm {
title?: string;
description?: string;
input?: string;
buttontext?: string;
emotion?: WIDGET_BUTTON_EMOTION;
mandatory?: boolean;
button_label?: string;
cancel_button_label?: string;
}
export {};