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 _0x8b8d=['setDataValue','formData','stringify','isString','format','getDataValue','name','description','BOOLEAN','sequelize','lodash','exports','STRING','TEXT','long','isObjectLike'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x8b8d,0x159));var _0xd8b8=function(_0x3de8a4,_0x289a5c){_0x3de8a4=_0x3de8a4-0x0;var _0x4635cf=_0x8b8d[_0x3de8a4];return _0x4635cf;};'use strict';var Sequelize=require(_0xd8b8('0x0'));var _=require(_0xd8b8('0x1'));var util=require('util');module[_0xd8b8('0x2')]={'name':{'type':Sequelize['STRING'],'unique':'name'},'description':{'type':Sequelize[_0xd8b8('0x3')]},'formData':{'type':Sequelize[_0xd8b8('0x4')](_0xd8b8('0x5')),'set':function(_0x1b2da5){if(_[_0xd8b8('0x6')](_0x1b2da5)){this[_0xd8b8('0x7')](_0xd8b8('0x8'),JSON[_0xd8b8('0x9')](_0x1b2da5));}else if(_[_0xd8b8('0xa')](_0x1b2da5)){this[_0xd8b8('0x7')](_0xd8b8('0x8'),_0x1b2da5);}else{this[_0xd8b8('0x7')](_0xd8b8('0x8'),util[_0xd8b8('0xb')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xd8b8('0xc')](_0xd8b8('0xd'))||'',this[_0xd8b8('0xc')](_0xd8b8('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xd8b8('0xf')],'defaultValue':![]}};