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 _0x4ca0=['getDataValue','description','BOOLEAN','sequelize','lodash','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format'];(function(_0x37222f,_0x25a5ab){var _0x5c5a6d=function(_0x27218b){while(--_0x27218b){_0x37222f['push'](_0x37222f['shift']());}};_0x5c5a6d(++_0x25a5ab);}(_0x4ca0,0x12f));var _0x04ca=function(_0x243b2f,_0x30aa15){_0x243b2f=_0x243b2f-0x0;var _0xcb3c2d=_0x4ca0[_0x243b2f];return _0xcb3c2d;};'use strict';var Sequelize=require(_0x04ca('0x0'));var _=require(_0x04ca('0x1'));var util=require('util');module['exports']={'name':{'type':Sequelize[_0x04ca('0x2')],'unique':_0x04ca('0x3')},'description':{'type':Sequelize[_0x04ca('0x2')]},'formData':{'type':Sequelize[_0x04ca('0x4')](_0x04ca('0x5')),'set':function(_0x20ca09){if(_[_0x04ca('0x6')](_0x20ca09)){this[_0x04ca('0x7')](_0x04ca('0x8'),JSON[_0x04ca('0x9')](_0x20ca09));}else if(_[_0x04ca('0xa')](_0x20ca09)){this[_0x04ca('0x7')](_0x04ca('0x8'),_0x20ca09);}else{this[_0x04ca('0x7')](_0x04ca('0x8'),util[_0x04ca('0xb')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0x04ca('0xc')](_0x04ca('0x3'))||'',this[_0x04ca('0xc')](_0x04ca('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x04ca('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x04ca('0xe')],'defaultValue':![]}};