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 _0x1f6f=['STRING','name','TEXT','stringify','isString','setDataValue','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize'];(function(_0x308a1d,_0x3d379d){var _0x5eb875=function(_0x464dbe){while(--_0x464dbe){_0x308a1d['push'](_0x308a1d['shift']());}};_0x5eb875(++_0x3d379d);}(_0x1f6f,0xbf));var _0xf1f6=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1f6f[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0xf1f6('0x0'));var _=require('lodash');var util=require('util');module['exports']={'name':{'type':Sequelize[_0xf1f6('0x1')],'unique':_0xf1f6('0x2')},'description':{'type':Sequelize[_0xf1f6('0x1')]},'formData':{'type':Sequelize[_0xf1f6('0x3')]('long'),'set':function(_0x454df7){if(_['isObjectLike'](_0x454df7)){this['setDataValue']('formData',JSON[_0xf1f6('0x4')](_0x454df7));}else if(_[_0xf1f6('0x5')](_0x454df7)){this['setDataValue']('formData',_0x454df7);}else{this[_0xf1f6('0x6')]('formData',util[_0xf1f6('0x7')](_0xf1f6('0x8'),this[_0xf1f6('0x9')](_0xf1f6('0x2'))||'',this[_0xf1f6('0x9')](_0xf1f6('0xa'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xf1f6('0xb')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};