twilio-ccai-fulfillment-tools
Version:
A collection of tools to assist in the creation of Twilio CCAI Integration cards via fulfillment scripts
15 lines (14 loc) • 441 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createNotification = void 0;
var types_1 = require("../types");
exports.createNotification = function (_a) {
var title = _a.title, type = _a.type, text = _a.text, position = _a.position;
return ({
template: types_1.TEMPLATES.NOTIFICATION,
title: title,
type: type,
text: text,
position: position,
});
};