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 _0x6633=['TEXT','long','type','select','parse','values','isArray','stringify','BOOLEAN','voice','sequelize','exports','VIRTUAL','getDataValue','setDataValue','alias','name','STRING'];(function(_0x2ef526,_0x3ede2a){var _0x2e313e=function(_0x43bc53){while(--_0x43bc53){_0x2ef526['push'](_0x2ef526['shift']());}};_0x2e313e(++_0x3ede2a);}(_0x6633,0x1a8));var _0x3663=function(_0x5cb840,_0x4a4b3a){_0x5cb840=_0x5cb840-0x0;var _0xf858ab=_0x6633[_0x5cb840];return _0xf858ab;};'use strict';var Sequelize=require(_0x3663('0x0'));var _=require('lodash');module[_0x3663('0x1')]={'name':{'type':Sequelize[_0x3663('0x2')],'get':function(_0x54a37d){return this[_0x3663('0x3')]('alias');}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x3a9e5c){this[_0x3663('0x4')](_0x3663('0x5'),_0x3a9e5c?_0x3a9e5c:this[_0x3663('0x3')](_0x3663('0x6')));}},'type':{'type':Sequelize[_0x3663('0x7')],'allowNull':![]},'values':{'type':Sequelize[_0x3663('0x8')](_0x3663('0x9')),'get':function(){if(this[_0x3663('0x3')](_0x3663('0xa'))===_0x3663('0xb')){return JSON[_0x3663('0xc')](this[_0x3663('0x3')](_0x3663('0xd')));}else{return this[_0x3663('0x3')](_0x3663('0xd'));}},'set':function(_0x2e5c31){if(Array[_0x3663('0xe')](_0x2e5c31)){this[_0x3663('0x4')](_0x3663('0xd'),JSON[_0x3663('0xf')](_0x2e5c31));}else{this[_0x3663('0x4')](_0x3663('0xd'),_0x2e5c31);}}},'required':{'type':Sequelize[_0x3663('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x3663('0x10')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x3663('0x11'))}};