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) • 504 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMap = void 0;
var types_1 = require("../types");
exports.createMap = function (_a) {
var geolocation = _a.geolocation, width = _a.width, title = _a.title, position = _a.position;
return ({
template: types_1.TEMPLATES.MAP,
geolocation: geolocation,
width: width !== null && width !== void 0 ? width : types_1.SIZES.FULL,
title: title,
position: position,
});
};