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 _0x26e8=['values','ENUM','voice','sequelize','VIRTUAL','getDataValue','alias','setDataValue','name','STRING','TEXT','long','type','select','parse'];(function(_0x3c29e3,_0x43f921){var _0x536b6c=function(_0x691600){while(--_0x691600){_0x3c29e3['push'](_0x3c29e3['shift']());}};_0x536b6c(++_0x43f921);}(_0x26e8,0x120));var _0x826e=function(_0x5d1696,_0x1a2f5b){_0x5d1696=_0x5d1696-0x0;var _0x49d673=_0x26e8[_0x5d1696];return _0x49d673;};'use strict';var Sequelize=require(_0x826e('0x0'));var _=require('lodash');module['exports']={'name':{'type':Sequelize[_0x826e('0x1')],'get':function(_0x2031eb){return this[_0x826e('0x2')](_0x826e('0x3'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x1c534c){this[_0x826e('0x4')](_0x826e('0x3'),_0x1c534c?_0x1c534c:this[_0x826e('0x2')](_0x826e('0x5')));}},'type':{'type':Sequelize[_0x826e('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0x826e('0x7')](_0x826e('0x8')),'get':function(){if(this[_0x826e('0x2')](_0x826e('0x9'))===_0x826e('0xa')){return JSON[_0x826e('0xb')](this[_0x826e('0x2')](_0x826e('0xc')));}else{return this[_0x826e('0x2')](_0x826e('0xc'));}},'set':function(_0x361b5f){if(Array['isArray'](_0x361b5f)){this[_0x826e('0x4')](_0x826e('0xc'),JSON['stringify'](_0x361b5f));}else{this[_0x826e('0x4')](_0x826e('0xc'),_0x361b5f);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x826e('0xd')](_0x826e('0xe'))}};