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 _0xde6c=['alias','setDataValue','name','STRING','select','parse','values','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','VIRTUAL','getDataValue'];(function(_0xbc4560,_0x4020b8){var _0x298cfb=function(_0x254423){while(--_0x254423){_0xbc4560['push'](_0xbc4560['shift']());}};_0x298cfb(++_0x4020b8);}(_0xde6c,0x119));var _0xcde6=function(_0x4599b6,_0x40c254){_0x4599b6=_0x4599b6-0x0;var _0x2e014c=_0xde6c[_0x4599b6];return _0x2e014c;};'use strict';var Sequelize=require(_0xcde6('0x0'));var _=require(_0xcde6('0x1'));module['exports']={'name':{'type':Sequelize[_0xcde6('0x2')],'get':function(_0x330d58){return this[_0xcde6('0x3')](_0xcde6('0x4'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x145150){this[_0xcde6('0x5')](_0xcde6('0x4'),_0x145150?_0x145150:this['getDataValue'](_0xcde6('0x6')));}},'type':{'type':Sequelize[_0xcde6('0x7')],'allowNull':![]},'values':{'type':Sequelize['TEXT']('long'),'get':function(){if(this[_0xcde6('0x3')]('type')===_0xcde6('0x8')){return JSON[_0xcde6('0x9')](this[_0xcde6('0x3')](_0xcde6('0xa')));}else{return this['getDataValue'](_0xcde6('0xa'));}},'set':function(_0x1afddc){if(Array['isArray'](_0x1afddc)){this[_0xcde6('0x5')](_0xcde6('0xa'),JSON[_0xcde6('0xb')](_0x1afddc));}else{this[_0xcde6('0x5')](_0xcde6('0xa'),_0x1afddc);}}},'required':{'type':Sequelize[_0xcde6('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xcde6('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xcde6('0xd')](_0xcde6('0xe'))}};