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 _0x0d53=['lodash','util','exports','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','BOOLEAN','sequelize'];(function(_0xbe40ad,_0x44343c){var _0x50fac9=function(_0xdaed07){while(--_0xdaed07){_0xbe40ad['push'](_0xbe40ad['shift']());}};_0x50fac9(++_0x44343c);}(_0x0d53,0x11c));var _0x30d5=function(_0x3fb034,_0x5a12fe){_0x3fb034=_0x3fb034-0x0;var _0x21dd32=_0x0d53[_0x3fb034];return _0x21dd32;};'use strict';var Sequelize=require(_0x30d5('0x0'));var _=require(_0x30d5('0x1'));var util=require(_0x30d5('0x2'));module[_0x30d5('0x3')]={'name':{'type':Sequelize[_0x30d5('0x4')],'unique':_0x30d5('0x5')},'description':{'type':Sequelize[_0x30d5('0x4')]},'formData':{'type':Sequelize[_0x30d5('0x6')](_0x30d5('0x7')),'set':function(_0x1c856d){if(_[_0x30d5('0x8')](_0x1c856d)){this[_0x30d5('0x9')](_0x30d5('0xa'),JSON['stringify'](_0x1c856d));}else if(_['isString'](_0x1c856d)){this[_0x30d5('0x9')](_0x30d5('0xa'),_0x1c856d);}else{this[_0x30d5('0x9')](_0x30d5('0xa'),util[_0x30d5('0xb')](_0x30d5('0xc'),this[_0x30d5('0xd')](_0x30d5('0x5'))||'',this[_0x30d5('0xd')]('description')||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x30d5('0xe')],'defaultValue':![]}};