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 _0x2bde=['getDataValue','BOOLEAN','lodash','util','exports','STRING','name','TEXT','isObjectLike','setDataValue','stringify','isString','formData','format'];(function(_0x85d6cb,_0x577fe7){var _0x4c5fc6=function(_0x441a20){while(--_0x441a20){_0x85d6cb['push'](_0x85d6cb['shift']());}};_0x4c5fc6(++_0x577fe7);}(_0x2bde,0xaa));var _0xe2bd=function(_0x448f8,_0x2aa1d7){_0x448f8=_0x448f8-0x0;var _0xa73126=_0x2bde[_0x448f8];return _0xa73126;};'use strict';var Sequelize=require('sequelize');var _=require(_0xe2bd('0x0'));var util=require(_0xe2bd('0x1'));module[_0xe2bd('0x2')]={'name':{'type':Sequelize[_0xe2bd('0x3')],'unique':_0xe2bd('0x4')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xe2bd('0x5')]('long'),'set':function(_0x27225c){if(_[_0xe2bd('0x6')](_0x27225c)){this[_0xe2bd('0x7')]('formData',JSON[_0xe2bd('0x8')](_0x27225c));}else if(_[_0xe2bd('0x9')](_0x27225c)){this['setDataValue'](_0xe2bd('0xa'),_0x27225c);}else{this['setDataValue'](_0xe2bd('0xa'),util[_0xe2bd('0xb')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xe2bd('0xc')](_0xe2bd('0x4'))||'',this[_0xe2bd('0xc')]('description')||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xe2bd('0xd')],'defaultValue':![]}};