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 _0x03ce=['lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','name','TEXT','long','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize'];(function(_0x2631cb,_0x4f5593){var _0x13fad3=function(_0x371be3){while(--_0x371be3){_0x2631cb['push'](_0x2631cb['shift']());}};_0x13fad3(++_0x4f5593);}(_0x03ce,0x1a1));var _0xe03c=function(_0x332a78,_0x4d38b3){_0x332a78=_0x332a78-0x0;var _0x537ac5=_0x03ce[_0x332a78];return _0x537ac5;};'use strict';var Sequelize=require(_0xe03c('0x0'));var _=require(_0xe03c('0x1'));module[_0xe03c('0x2')]={'name':{'type':Sequelize[_0xe03c('0x3')],'get':function(_0x56ac7a){return this[_0xe03c('0x4')](_0xe03c('0x5'));}},'alias':{'type':Sequelize[_0xe03c('0x6')],'allowNull':![],'set':function(_0x527a32){this[_0xe03c('0x7')](_0xe03c('0x5'),_0x527a32?_0x527a32:this[_0xe03c('0x4')](_0xe03c('0x8')));}},'type':{'type':Sequelize[_0xe03c('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0xe03c('0x9')](_0xe03c('0xa')),'get':function(){if(this['getDataValue']('type')===_0xe03c('0xb')){return JSON[_0xe03c('0xc')](this[_0xe03c('0x4')](_0xe03c('0xd')));}else{return this[_0xe03c('0x4')](_0xe03c('0xd'));}},'set':function(_0x46bf2b){if(Array[_0xe03c('0xe')](_0x46bf2b)){this['setDataValue'](_0xe03c('0xd'),JSON[_0xe03c('0xf')](_0x46bf2b));}else{this[_0xe03c('0x7')]('values',_0x46bf2b);}}},'required':{'type':Sequelize[_0xe03c('0x10')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xe03c('0x10')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xe03c('0x11')](_0xe03c('0x12'))}};