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 _0xdac0=['STRING','name','TEXT','long','setDataValue','stringify','isString','formData','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','util'];(function(_0x52080d,_0x16b76d){var _0x48f4c2=function(_0x4b4078){while(--_0x4b4078){_0x52080d['push'](_0x52080d['shift']());}};_0x48f4c2(++_0x16b76d);}(_0xdac0,0x178));var _0x0dac=function(_0x244767,_0x3f2794){_0x244767=_0x244767-0x0;var _0x59a093=_0xdac0[_0x244767];return _0x59a093;};'use strict';var Sequelize=require(_0x0dac('0x0'));var _=require('lodash');var util=require(_0x0dac('0x1'));module['exports']={'name':{'type':Sequelize[_0x0dac('0x2')],'unique':_0x0dac('0x3')},'description':{'type':Sequelize[_0x0dac('0x2')]},'formData':{'type':Sequelize[_0x0dac('0x4')](_0x0dac('0x5')),'set':function(_0x17424f){if(_['isObjectLike'](_0x17424f)){this[_0x0dac('0x6')]('formData',JSON[_0x0dac('0x7')](_0x17424f));}else if(_[_0x0dac('0x8')](_0x17424f)){this['setDataValue']('formData',_0x17424f);}else{this[_0x0dac('0x6')](_0x0dac('0x9'),util['format'](_0x0dac('0xa'),this[_0x0dac('0xb')](_0x0dac('0x3'))||'',this[_0x0dac('0xb')](_0x0dac('0xc'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x0dac('0xd')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x0dac('0xd')],'defaultValue':![]}};