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 _0x1444=['stringify','setDataValue','format','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT','long','formData'];(function(_0x2aa87d,_0x1aa073){var _0x3a1812=function(_0x51ffc0){while(--_0x51ffc0){_0x2aa87d['push'](_0x2aa87d['shift']());}};_0x3a1812(++_0x1aa073);}(_0x1444,0x1aa));var _0x4144=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x1444[_0x4a9fb1];return _0x348672;};'use strict';var Sequelize=require(_0x4144('0x0'));var _=require(_0x4144('0x1'));var util=require(_0x4144('0x2'));module[_0x4144('0x3')]={'name':{'type':Sequelize[_0x4144('0x4')],'unique':_0x4144('0x5')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x4144('0x6')](_0x4144('0x7')),'set':function(_0x4934ab){if(_['isObjectLike'](_0x4934ab)){this['setDataValue'](_0x4144('0x8'),JSON[_0x4144('0x9')](_0x4934ab));}else if(_['isString'](_0x4934ab)){this[_0x4144('0xa')](_0x4144('0x8'),_0x4934ab);}else{this[_0x4144('0xa')](_0x4144('0x8'),util[_0x4144('0xb')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0x4144('0xc')]('name')||'',this[_0x4144('0xc')](_0x4144('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x4144('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x4144('0xe')],'defaultValue':![]}};