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 _0x10c6=['TEXT','long','type','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','name'];(function(_0x18b062,_0x3c5203){var _0x1664d4=function(_0x289e09){while(--_0x289e09){_0x18b062['push'](_0x18b062['shift']());}};_0x1664d4(++_0x3c5203);}(_0x10c6,0x128));var _0x610c=function(_0x1a8cf8,_0x52a3cd){_0x1a8cf8=_0x1a8cf8-0x0;var _0x52748b=_0x10c6[_0x1a8cf8];return _0x52748b;};'use strict';var Sequelize=require(_0x610c('0x0'));var _=require('lodash');module[_0x610c('0x1')]={'name':{'type':Sequelize[_0x610c('0x2')],'get':function(_0x35e5d7){return this[_0x610c('0x3')](_0x610c('0x4'));}},'alias':{'type':Sequelize[_0x610c('0x5')],'allowNull':![],'set':function(_0x16c76e){this[_0x610c('0x6')]('alias',_0x16c76e?_0x16c76e:this[_0x610c('0x3')](_0x610c('0x7')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x610c('0x8')](_0x610c('0x9')),'get':function(){if(this[_0x610c('0x3')](_0x610c('0xa'))===_0x610c('0xb')){return JSON[_0x610c('0xc')](this[_0x610c('0x3')](_0x610c('0xd')));}else{return this[_0x610c('0x3')]('values');}},'set':function(_0x3ff128){if(Array[_0x610c('0xe')](_0x3ff128)){this['setDataValue']('values',JSON[_0x610c('0xf')](_0x3ff128));}else{this['setDataValue'](_0x610c('0xd'),_0x3ff128);}}},'required':{'type':Sequelize[_0x610c('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x610c('0x11')](_0x610c('0x12'))}};