Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / jscriptyProject / jscriptyProject.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa8b0=['stringify','isString','formData','format','getDataValue','description','BOOLEAN','sequelize','STRING','name','TEXT','setDataValue'];(function(_0x1723b1,_0x50da60){var _0x4dab96=function(_0x142129){while(--_0x142129){_0x1723b1['push'](_0x1723b1['shift']());}};_0x4dab96(++_0x50da60);}(_0xa8b0,0xdf));var _0x0a8b=function(_0x3c3698,_0xa0bf08){_0x3c3698=_0x3c3698-0x0;var _0x4e6637=_0xa8b0[_0x3c3698];return _0x4e6637;};'use strict';var Sequelize=require(_0x0a8b('0x0'));var _=require('lodash');var util=require('util');module['exports']={'name':{'type':Sequelize[_0x0a8b('0x1')],'unique':_0x0a8b('0x2')},'description':{'type':Sequelize[_0x0a8b('0x1')]},'formData':{'type':Sequelize[_0x0a8b('0x3')]('long'),'set':function(_0x283303){if(_['isObjectLike'](_0x283303)){this[_0x0a8b('0x4')]('formData',JSON[_0x0a8b('0x5')](_0x283303));}else if(_[_0x0a8b('0x6')](_0x283303)){this[_0x0a8b('0x4')](_0x0a8b('0x7'),_0x283303);}else{this[_0x0a8b('0x4')](_0x0a8b('0x7'),util[_0x0a8b('0x8')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0x0a8b('0x9')]('name')||'',this[_0x0a8b('0x9')](_0x0a8b('0xa'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x0a8b('0xb')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x0a8b('0xb')],'defaultValue':![]}};