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 _0x800e=['getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','name','STRING','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format'];(function(_0x583879,_0x2ade5a){var _0x5f5d19=function(_0x202385){while(--_0x202385){_0x583879['push'](_0x583879['shift']());}};_0x5f5d19(++_0x2ade5a);}(_0x800e,0x1ac));var _0xe800=function(_0x11f249,_0x4ca4a8){_0x11f249=_0x11f249-0x0;var _0x5c3656=_0x800e[_0x11f249];return _0x5c3656;};'use strict';var Sequelize=require(_0xe800('0x0'));var _=require(_0xe800('0x1'));var util=require(_0xe800('0x2'));module[_0xe800('0x3')]={'name':{'type':Sequelize['STRING'],'unique':_0xe800('0x4')},'description':{'type':Sequelize[_0xe800('0x5')]},'formData':{'type':Sequelize[_0xe800('0x6')](_0xe800('0x7')),'set':function(_0x33c8c9){if(_[_0xe800('0x8')](_0x33c8c9)){this[_0xe800('0x9')](_0xe800('0xa'),JSON[_0xe800('0xb')](_0x33c8c9));}else if(_[_0xe800('0xc')](_0x33c8c9)){this['setDataValue'](_0xe800('0xa'),_0x33c8c9);}else{this[_0xe800('0x9')](_0xe800('0xa'),util[_0xe800('0xd')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xe800('0xe')](_0xe800('0x4'))||'',this[_0xe800('0xe')](_0xe800('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xe800('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xe800('0x10')],'defaultValue':![]}};