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 _0x6538=['setDataValue','formData','stringify','isString','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','lodash','util','exports','STRING','name','TEXT','long','isObjectLike'];(function(_0x18063f,_0x3efbaf){var _0x116771=function(_0x366444){while(--_0x366444){_0x18063f['push'](_0x18063f['shift']());}};_0x116771(++_0x3efbaf);}(_0x6538,0x1c8));var _0x8653=function(_0x1e4f2f,_0x35edfa){_0x1e4f2f=_0x1e4f2f-0x0;var _0xccea89=_0x6538[_0x1e4f2f];return _0xccea89;};'use strict';var Sequelize=require('sequelize');var _=require(_0x8653('0x0'));var util=require(_0x8653('0x1'));module[_0x8653('0x2')]={'name':{'type':Sequelize[_0x8653('0x3')],'unique':_0x8653('0x4')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x8653('0x5')](_0x8653('0x6')),'set':function(_0x194e88){if(_[_0x8653('0x7')](_0x194e88)){this[_0x8653('0x8')](_0x8653('0x9'),JSON[_0x8653('0xa')](_0x194e88));}else if(_[_0x8653('0xb')](_0x194e88)){this['setDataValue'](_0x8653('0x9'),_0x194e88);}else{this['setDataValue'](_0x8653('0x9'),util['format'](_0x8653('0xc'),this[_0x8653('0xd')]('name')||'',this[_0x8653('0xd')](_0x8653('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x8653('0xf')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x8653('0xf')],'defaultValue':![]}};