twilio-ccai-fulfillment-tools
Version:
A collection of tools to assist in the creation of Twilio CCAI Integration cards via fulfillment scripts
14 lines (13 loc) • 452 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addRoutingAttributesContext = void 0;
exports.addRoutingAttributesContext = function (attributes) { return function (agent) {
agent.setContext({
name: 'routing-attributes',
lifespan: 99,
parameters: {
// eslint-disable-next-line @typescript-eslint/camelcase
routing_attributes: attributes,
},
});
}; };