1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xc273=['setDataValue','TEXT','long','select','parse','values','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','getDataValue','alias','STRING'];(function(_0x4f36a1,_0x17c717){var _0x5e0be4=function(_0x109861){while(--_0x109861){_0x4f36a1['push'](_0x4f36a1['shift']());}};_0x5e0be4(++_0x17c717);}(_0xc273,0x109));var _0x3c27=function(_0x445024,_0x36dca6){_0x445024=_0x445024-0x0;var _0x5ab19a=_0xc273[_0x445024];return _0x5ab19a;};'use strict';var Sequelize=require(_0x3c27('0x0'));var _=require(_0x3c27('0x1'));module[_0x3c27('0x2')]={'name':{'type':Sequelize[_0x3c27('0x3')],'get':function(_0x31574f){return this[_0x3c27('0x4')](_0x3c27('0x5'));}},'alias':{'type':Sequelize[_0x3c27('0x6')],'allowNull':![],'set':function(_0x274cfe){this[_0x3c27('0x7')](_0x3c27('0x5'),_0x274cfe?_0x274cfe:this[_0x3c27('0x4')]('name'));}},'type':{'type':Sequelize[_0x3c27('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0x3c27('0x8')](_0x3c27('0x9')),'get':function(){if(this[_0x3c27('0x4')]('type')===_0x3c27('0xa')){return JSON[_0x3c27('0xb')](this[_0x3c27('0x4')](_0x3c27('0xc')));}else{return this[_0x3c27('0x4')](_0x3c27('0xc'));}},'set':function(_0x5721c8){if(Array['isArray'](_0x5721c8)){this[_0x3c27('0x7')](_0x3c27('0xc'),JSON['stringify'](_0x5721c8));}else{this[_0x3c27('0x7')]('values',_0x5721c8);}}},'required':{'type':Sequelize[_0x3c27('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x3c27('0xd')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x3c27('0xe')](_0x3c27('0xf'))}};