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 _0x82be=['long','select','parse','values','isArray','BOOLEAN','ENUM','VIRTUAL','getDataValue','alias','STRING','setDataValue','name'];(function(_0x1367ff,_0x25e6fe){var _0xc253e0=function(_0x1a2859){while(--_0x1a2859){_0x1367ff['push'](_0x1367ff['shift']());}};_0xc253e0(++_0x25e6fe);}(_0x82be,0x19a));var _0xe82b=function(_0x15e371,_0x12bf60){_0x15e371=_0x15e371-0x0;var _0x24094a=_0x82be[_0x15e371];return _0x24094a;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module['exports']={'name':{'type':Sequelize[_0xe82b('0x0')],'get':function(_0x40f2e7){return this[_0xe82b('0x1')](_0xe82b('0x2'));}},'alias':{'type':Sequelize[_0xe82b('0x3')],'allowNull':![],'set':function(_0x50f8b1){this[_0xe82b('0x4')](_0xe82b('0x2'),_0x50f8b1?_0x50f8b1:this[_0xe82b('0x1')](_0xe82b('0x5')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0xe82b('0x6')),'get':function(){if(this[_0xe82b('0x1')]('type')===_0xe82b('0x7')){return JSON[_0xe82b('0x8')](this[_0xe82b('0x1')](_0xe82b('0x9')));}else{return this[_0xe82b('0x1')](_0xe82b('0x9'));}},'set':function(_0x5aee33){if(Array[_0xe82b('0xa')](_0x5aee33)){this[_0xe82b('0x4')](_0xe82b('0x9'),JSON['stringify'](_0x5aee33));}else{this[_0xe82b('0x4')](_0xe82b('0x9'),_0x5aee33);}}},'required':{'type':Sequelize[_0xe82b('0xb')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xe82b('0xb')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xe82b('0xc')]('voice')}};