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 _0x4088=['lodash','util','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format','description','BOOLEAN','sequelize'];(function(_0x116458,_0x5a6256){var _0x57d3e5=function(_0x273b05){while(--_0x273b05){_0x116458['push'](_0x116458['shift']());}};_0x57d3e5(++_0x5a6256);}(_0x4088,0x1b2));var _0x8408=function(_0x180cd0,_0x386c6e){_0x180cd0=_0x180cd0-0x0;var _0x49fc32=_0x4088[_0x180cd0];return _0x49fc32;};'use strict';var Sequelize=require(_0x8408('0x0'));var _=require(_0x8408('0x1'));var util=require(_0x8408('0x2'));module['exports']={'name':{'type':Sequelize[_0x8408('0x3')],'unique':_0x8408('0x4')},'description':{'type':Sequelize[_0x8408('0x3')]},'formData':{'type':Sequelize[_0x8408('0x5')](_0x8408('0x6')),'set':function(_0xadffcc){if(_[_0x8408('0x7')](_0xadffcc)){this[_0x8408('0x8')](_0x8408('0x9'),JSON[_0x8408('0xa')](_0xadffcc));}else if(_[_0x8408('0xb')](_0xadffcc)){this[_0x8408('0x8')]('formData',_0xadffcc);}else{this[_0x8408('0x8')](_0x8408('0x9'),util[_0x8408('0xc')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this['getDataValue'](_0x8408('0x4'))||'',this['getDataValue'](_0x8408('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x8408('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x8408('0xe')],'defaultValue':![]}};