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 _0x80ae=['setDataValue','formData','stringify','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash','util','STRING','name','TEXT','long'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x80ae,0xad));var _0xe80a=function(_0x409deb,_0x2b731){_0x409deb=_0x409deb-0x0;var _0x15a4f7=_0x80ae[_0x409deb];return _0x15a4f7;};'use strict';var Sequelize=require(_0xe80a('0x0'));var _=require(_0xe80a('0x1'));var util=require(_0xe80a('0x2'));module['exports']={'name':{'type':Sequelize[_0xe80a('0x3')],'unique':_0xe80a('0x4')},'description':{'type':Sequelize[_0xe80a('0x3')]},'formData':{'type':Sequelize[_0xe80a('0x5')](_0xe80a('0x6')),'set':function(_0x3381d4){if(_['isObjectLike'](_0x3381d4)){this[_0xe80a('0x7')](_0xe80a('0x8'),JSON[_0xe80a('0x9')](_0x3381d4));}else if(_['isString'](_0x3381d4)){this[_0xe80a('0x7')](_0xe80a('0x8'),_0x3381d4);}else{this['setDataValue'](_0xe80a('0x8'),util[_0xe80a('0xa')](_0xe80a('0xb'),this[_0xe80a('0xc')](_0xe80a('0x4'))||'',this[_0xe80a('0xc')](_0xe80a('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xe80a('0xe')],'defaultValue':![]}};