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 _0xd6f6=['TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name'];(function(_0x5651f4,_0x221396){var _0x4156c6=function(_0x4def51){while(--_0x4def51){_0x5651f4['push'](_0x5651f4['shift']());}};_0x4156c6(++_0x221396);}(_0xd6f6,0xe8));var _0x6d6f=function(_0x4a8230,_0x52df9e){_0x4a8230=_0x4a8230-0x0;var _0x495380=_0xd6f6[_0x4a8230];return _0x495380;};'use strict';var Sequelize=require(_0x6d6f('0x0'));var _=require(_0x6d6f('0x1'));var util=require(_0x6d6f('0x2'));module[_0x6d6f('0x3')]={'name':{'type':Sequelize[_0x6d6f('0x4')],'unique':_0x6d6f('0x5')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x6d6f('0x6')](_0x6d6f('0x7')),'set':function(_0x597eef){if(_[_0x6d6f('0x8')](_0x597eef)){this[_0x6d6f('0x9')](_0x6d6f('0xa'),JSON[_0x6d6f('0xb')](_0x597eef));}else if(_[_0x6d6f('0xc')](_0x597eef)){this['setDataValue'](_0x6d6f('0xa'),_0x597eef);}else{this[_0x6d6f('0x9')]('formData',util[_0x6d6f('0xd')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0x6d6f('0xe')](_0x6d6f('0x5'))||'',this[_0x6d6f('0xe')](_0x6d6f('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x6d6f('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x6d6f('0x10')],'defaultValue':![]}};