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 _0xf437=['long','type','select','parse','values','BOOLEAN','ENUM','voice','lodash','exports','alias','STRING','setDataValue','getDataValue','TEXT'];(function(_0xf1b134,_0xb399dd){var _0x139dbb=function(_0xe7a88d){while(--_0xe7a88d){_0xf1b134['push'](_0xf1b134['shift']());}};_0x139dbb(++_0xb399dd);}(_0xf437,0x1e8));var _0x7f43=function(_0x42e25e,_0x46cfd1){_0x42e25e=_0x42e25e-0x0;var _0x1ed3a6=_0xf437[_0x42e25e];return _0x1ed3a6;};'use strict';var Sequelize=require('sequelize');var _=require(_0x7f43('0x0'));module[_0x7f43('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x131bb7){return this['getDataValue'](_0x7f43('0x2'));}},'alias':{'type':Sequelize[_0x7f43('0x3')],'allowNull':![],'set':function(_0x588f6c){this[_0x7f43('0x4')](_0x7f43('0x2'),_0x588f6c?_0x588f6c:this[_0x7f43('0x5')]('name'));}},'type':{'type':Sequelize[_0x7f43('0x3')],'allowNull':![]},'values':{'type':Sequelize[_0x7f43('0x6')](_0x7f43('0x7')),'get':function(){if(this[_0x7f43('0x5')](_0x7f43('0x8'))===_0x7f43('0x9')){return JSON[_0x7f43('0xa')](this[_0x7f43('0x5')](_0x7f43('0xb')));}else{return this[_0x7f43('0x5')](_0x7f43('0xb'));}},'set':function(_0x3933b0){if(Array['isArray'](_0x3933b0)){this[_0x7f43('0x4')](_0x7f43('0xb'),JSON['stringify'](_0x3933b0));}else{this[_0x7f43('0x4')](_0x7f43('0xb'),_0x3933b0);}}},'required':{'type':Sequelize[_0x7f43('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x7f43('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x7f43('0xd')](_0x7f43('0xe'))}};