Built motion from commit (unavailable).|2.5.31
[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 _0xefca=['isString','formData','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','isObjectLike','setDataValue','stringify'];(function(_0x1492a7,_0x48b69b){var _0x4ed8eb=function(_0x21213f){while(--_0x21213f){_0x1492a7['push'](_0x1492a7['shift']());}};_0x4ed8eb(++_0x48b69b);}(_0xefca,0xe7));var _0xaefc=function(_0x553a87,_0x1d621f){_0x553a87=_0x553a87-0x0;var _0x12d1e6=_0xefca[_0x553a87];return _0x12d1e6;};'use strict';var Sequelize=require(_0xaefc('0x0'));var _=require(_0xaefc('0x1'));var util=require(_0xaefc('0x2'));module[_0xaefc('0x3')]={'name':{'type':Sequelize[_0xaefc('0x4')],'unique':_0xaefc('0x5')},'description':{'type':Sequelize[_0xaefc('0x4')]},'formData':{'type':Sequelize['TEXT']('long'),'set':function(_0x580683){if(_[_0xaefc('0x6')](_0x580683)){this[_0xaefc('0x7')]('formData',JSON[_0xaefc('0x8')](_0x580683));}else if(_[_0xaefc('0x9')](_0x580683)){this[_0xaefc('0x7')]('formData',_0x580683);}else{this[_0xaefc('0x7')](_0xaefc('0xa'),util[_0xaefc('0xb')](_0xaefc('0xc'),this[_0xaefc('0xd')](_0xaefc('0x5'))||'',this[_0xaefc('0xd')](_0xaefc('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xaefc('0xf')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xaefc('0xf')],'defaultValue':![]}};