UNPKG

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) 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createProfile = void 0; var types_1 = require("../types"); exports.createProfile = function (_a) { var items = _a.items, width = _a.width, title = _a.title, position = _a.position; return ({ template: types_1.TEMPLATES.PROFILE, items: items, width: width !== null && width !== void 0 ? width : types_1.SIZES.FULL, title: title, position: position, }); };