Built motion from commit (unavailable).|2.5.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 _0xfdbd=['{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','sequelize','lodash','util','exports','STRING','name','TEXT','isObjectLike','setDataValue','formData','stringify','format'];(function(_0x476bf4,_0x2a3755){var _0x788ffe=function(_0x13fa11){while(--_0x13fa11){_0x476bf4['push'](_0x476bf4['shift']());}};_0x788ffe(++_0x2a3755);}(_0xfdbd,0x1d4));var _0xdfdb=function(_0x24e0c9,_0x284109){_0x24e0c9=_0x24e0c9-0x0;var _0x4448f0=_0xfdbd[_0x24e0c9];return _0x4448f0;};'use strict';var Sequelize=require(_0xdfdb('0x0'));var _=require(_0xdfdb('0x1'));var util=require(_0xdfdb('0x2'));module[_0xdfdb('0x3')]={'name':{'type':Sequelize[_0xdfdb('0x4')],'unique':_0xdfdb('0x5')},'description':{'type':Sequelize[_0xdfdb('0x4')]},'formData':{'type':Sequelize[_0xdfdb('0x6')]('long'),'set':function(_0x4ac9c4){if(_[_0xdfdb('0x7')](_0x4ac9c4)){this[_0xdfdb('0x8')](_0xdfdb('0x9'),JSON[_0xdfdb('0xa')](_0x4ac9c4));}else if(_['isString'](_0x4ac9c4)){this['setDataValue'](_0xdfdb('0x9'),_0x4ac9c4);}else{this['setDataValue'](_0xdfdb('0x9'),util[_0xdfdb('0xb')](_0xdfdb('0xc'),this[_0xdfdb('0xd')](_0xdfdb('0x5'))||'',this['getDataValue'](_0xdfdb('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};