Built motion from commit bab6f49e.|2.6.17
[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 _0xc010=['util','exports','STRING','name','TEXT','setDataValue','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash'];(function(_0x2438da,_0x57aba5){var _0x18a614=function(_0x9baf66){while(--_0x9baf66){_0x2438da['push'](_0x2438da['shift']());}};_0x18a614(++_0x57aba5);}(_0xc010,0x143));var _0x0c01=function(_0x474697,_0x54273b){_0x474697=_0x474697-0x0;var _0xf109d7=_0xc010[_0x474697];return _0xf109d7;};'use strict';var Sequelize=require(_0x0c01('0x0'));var _=require(_0x0c01('0x1'));var util=require(_0x0c01('0x2'));module[_0x0c01('0x3')]={'name':{'type':Sequelize[_0x0c01('0x4')],'unique':_0x0c01('0x5')},'description':{'type':Sequelize[_0x0c01('0x4')]},'formData':{'type':Sequelize[_0x0c01('0x6')]('long'),'set':function(_0x2447ee){if(_['isObjectLike'](_0x2447ee)){this[_0x0c01('0x7')]('formData',JSON['stringify'](_0x2447ee));}else if(_['isString'](_0x2447ee)){this['setDataValue']('formData',_0x2447ee);}else{this[_0x0c01('0x7')]('formData',util[_0x0c01('0x8')](_0x0c01('0x9'),this[_0x0c01('0xa')](_0x0c01('0x5'))||'',this[_0x0c01('0xa')](_0x0c01('0xb'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x0c01('0xc')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x0c01('0xc')],'defaultValue':![]}};