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 _0x86a0=['exports','name','STRING','TEXT','long','formData','isString','setDataValue','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','sequelize','lodash'];(function(_0x41bdf4,_0x31fa09){var _0x294a6a=function(_0x24cfe3){while(--_0x24cfe3){_0x41bdf4['push'](_0x41bdf4['shift']());}};_0x294a6a(++_0x31fa09);}(_0x86a0,0x143));var _0x086a=function(_0x320cf4,_0xbc914e){_0x320cf4=_0x320cf4-0x0;var _0x4a4f9b=_0x86a0[_0x320cf4];return _0x4a4f9b;};'use strict';var Sequelize=require(_0x086a('0x0'));var _=require(_0x086a('0x1'));var util=require('util');module[_0x086a('0x2')]={'name':{'type':Sequelize['STRING'],'unique':_0x086a('0x3')},'description':{'type':Sequelize[_0x086a('0x4')]},'formData':{'type':Sequelize[_0x086a('0x5')](_0x086a('0x6')),'set':function(_0x144187){if(_['isObjectLike'](_0x144187)){this['setDataValue'](_0x086a('0x7'),JSON['stringify'](_0x144187));}else if(_[_0x086a('0x8')](_0x144187)){this[_0x086a('0x9')](_0x086a('0x7'),_0x144187);}else{this[_0x086a('0x9')](_0x086a('0x7'),util['format'](_0x086a('0xa'),this[_0x086a('0xb')](_0x086a('0x3'))||'',this[_0x086a('0xb')](_0x086a('0xc'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};