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 _0xa5cb=['isString','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','stringify'];(function(_0x23fd63,_0x27b3a3){var _0x3ca68e=function(_0x18f488){while(--_0x18f488){_0x23fd63['push'](_0x23fd63['shift']());}};_0x3ca68e(++_0x27b3a3);}(_0xa5cb,0x194));var _0xba5c=function(_0x2cc36f,_0x185256){_0x2cc36f=_0x2cc36f-0x0;var _0x569ebd=_0xa5cb[_0x2cc36f];return _0x569ebd;};'use strict';var Sequelize=require(_0xba5c('0x0'));var _=require(_0xba5c('0x1'));var util=require(_0xba5c('0x2'));module[_0xba5c('0x3')]={'name':{'type':Sequelize[_0xba5c('0x4')],'unique':_0xba5c('0x5')},'description':{'type':Sequelize[_0xba5c('0x4')]},'formData':{'type':Sequelize[_0xba5c('0x6')](_0xba5c('0x7')),'set':function(_0x34d934){if(_[_0xba5c('0x8')](_0x34d934)){this[_0xba5c('0x9')](_0xba5c('0xa'),JSON[_0xba5c('0xb')](_0x34d934));}else if(_[_0xba5c('0xc')](_0x34d934)){this[_0xba5c('0x9')](_0xba5c('0xa'),_0x34d934);}else{this[_0xba5c('0x9')](_0xba5c('0xa'),util['format']('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xba5c('0xd')](_0xba5c('0x5'))||'',this['getDataValue'](_0xba5c('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xba5c('0xf')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};