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 _0x4940=['parse','values','isArray','setDataValue','stringify','BOOLEAN','voice','sequelize','lodash','exports','getDataValue','alias','STRING','name','TEXT','long','type','select'];(function(_0x99250c,_0x4603c0){var _0x3927d5=function(_0xa13c94){while(--_0xa13c94){_0x99250c['push'](_0x99250c['shift']());}};_0x3927d5(++_0x4603c0);}(_0x4940,0x139));var _0x0494=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0x4940[_0x209941];return _0x1e8729;};'use strict';var Sequelize=require(_0x0494('0x0'));var _=require(_0x0494('0x1'));module[_0x0494('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x1ed0ea){return this[_0x0494('0x3')](_0x0494('0x4'));}},'alias':{'type':Sequelize[_0x0494('0x5')],'allowNull':![],'set':function(_0x5f2c39){this['setDataValue'](_0x0494('0x4'),_0x5f2c39?_0x5f2c39:this['getDataValue'](_0x0494('0x6')));}},'type':{'type':Sequelize[_0x0494('0x5')],'allowNull':![]},'values':{'type':Sequelize[_0x0494('0x7')](_0x0494('0x8')),'get':function(){if(this[_0x0494('0x3')](_0x0494('0x9'))===_0x0494('0xa')){return JSON[_0x0494('0xb')](this[_0x0494('0x3')]('values'));}else{return this[_0x0494('0x3')](_0x0494('0xc'));}},'set':function(_0x40d8cb){if(Array[_0x0494('0xd')](_0x40d8cb)){this[_0x0494('0xe')](_0x0494('0xc'),JSON[_0x0494('0xf')](_0x40d8cb));}else{this[_0x0494('0xe')](_0x0494('0xc'),_0x40d8cb);}}},'required':{'type':Sequelize[_0x0494('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x0494('0x10')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x0494('0x11'))}};