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 _0xd4db=['description','BOOLEAN','lodash','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue'];(function(_0x17f145,_0x3422bb){var _0x2d5420=function(_0x3eb38b){while(--_0x3eb38b){_0x17f145['push'](_0x17f145['shift']());}};_0x2d5420(++_0x3422bb);}(_0xd4db,0x11a));var _0xbd4d=function(_0x367239,_0x3e1ab0){_0x367239=_0x367239-0x0;var _0x27c83d=_0xd4db[_0x367239];return _0x27c83d;};'use strict';var Sequelize=require('sequelize');var _=require(_0xbd4d('0x0'));var util=require('util');module['exports']={'name':{'type':Sequelize[_0xbd4d('0x1')],'unique':_0xbd4d('0x2')},'description':{'type':Sequelize[_0xbd4d('0x1')]},'formData':{'type':Sequelize[_0xbd4d('0x3')](_0xbd4d('0x4')),'set':function(_0x2b445c){if(_[_0xbd4d('0x5')](_0x2b445c)){this[_0xbd4d('0x6')](_0xbd4d('0x7'),JSON['stringify'](_0x2b445c));}else if(_[_0xbd4d('0x8')](_0x2b445c)){this[_0xbd4d('0x6')](_0xbd4d('0x7'),_0x2b445c);}else{this[_0xbd4d('0x6')]('formData',util[_0xbd4d('0x9')](_0xbd4d('0xa'),this[_0xbd4d('0xb')](_0xbd4d('0x2'))||'',this['getDataValue'](_0xbd4d('0xc'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xbd4d('0xd')],'defaultValue':![]}};