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 _0x2032=['long','stringify','isString','setDataValue','formData','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT'];(function(_0x2a6102,_0x252926){var _0x3ec94a=function(_0x11d43f){while(--_0x11d43f){_0x2a6102['push'](_0x2a6102['shift']());}};_0x3ec94a(++_0x252926);}(_0x2032,0x70));var _0x2203=function(_0x17de46,_0x185465){_0x17de46=_0x17de46-0x0;var _0x3835a9=_0x2032[_0x17de46];return _0x3835a9;};'use strict';var Sequelize=require(_0x2203('0x0'));var _=require(_0x2203('0x1'));var util=require(_0x2203('0x2'));module[_0x2203('0x3')]={'name':{'type':Sequelize[_0x2203('0x4')],'unique':_0x2203('0x5')},'description':{'type':Sequelize[_0x2203('0x4')]},'formData':{'type':Sequelize[_0x2203('0x6')](_0x2203('0x7')),'set':function(_0x444956){if(_['isObjectLike'](_0x444956)){this['setDataValue']('formData',JSON[_0x2203('0x8')](_0x444956));}else if(_[_0x2203('0x9')](_0x444956)){this[_0x2203('0xa')](_0x2203('0xb'),_0x444956);}else{this[_0x2203('0xa')](_0x2203('0xb'),util[_0x2203('0xc')](_0x2203('0xd'),this[_0x2203('0xe')](_0x2203('0x5'))||'',this['getDataValue'](_0x2203('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x2203('0x10')],'defaultValue':![]}};