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 _0x1bea=['voice','sequelize','lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','TEXT','type','values','isArray','stringify','BOOLEAN','ENUM'];(function(_0x1e8e37,_0x47a036){var _0x1a1b22=function(_0x39b8ce){while(--_0x39b8ce){_0x1e8e37['push'](_0x1e8e37['shift']());}};_0x1a1b22(++_0x47a036);}(_0x1bea,0xe1));var _0xa1be=function(_0x166e71,_0x3a1cd4){_0x166e71=_0x166e71-0x0;var _0x2ebc75=_0x1bea[_0x166e71];return _0x2ebc75;};'use strict';var Sequelize=require(_0xa1be('0x0'));var _=require(_0xa1be('0x1'));module[_0xa1be('0x2')]={'name':{'type':Sequelize[_0xa1be('0x3')],'get':function(_0x404f5a){return this[_0xa1be('0x4')](_0xa1be('0x5'));}},'alias':{'type':Sequelize[_0xa1be('0x6')],'allowNull':![],'set':function(_0x3bb724){this[_0xa1be('0x7')]('alias',_0x3bb724?_0x3bb724:this[_0xa1be('0x4')]('name'));}},'type':{'type':Sequelize[_0xa1be('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0xa1be('0x8')]('long'),'get':function(){if(this[_0xa1be('0x4')](_0xa1be('0x9'))==='select'){return JSON['parse'](this[_0xa1be('0x4')](_0xa1be('0xa')));}else{return this[_0xa1be('0x4')](_0xa1be('0xa'));}},'set':function(_0x19e825){if(Array[_0xa1be('0xb')](_0x19e825)){this[_0xa1be('0x7')](_0xa1be('0xa'),JSON[_0xa1be('0xc')](_0x19e825));}else{this[_0xa1be('0x7')](_0xa1be('0xa'),_0x19e825);}}},'required':{'type':Sequelize[_0xa1be('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xa1be('0xd')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xa1be('0xe')](_0xa1be('0xf'))}};