2310f0f651c847153c01fa986af612467d598675
[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 _0x7aca=['getDataValue','description','BOOLEAN','sequelize','lodash','util','name','STRING','TEXT','long','isObjectLike','setDataValue','stringify','isString','formData','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}'];(function(_0x3e0112,_0x20a04b){var _0x259624=function(_0x149802){while(--_0x149802){_0x3e0112['push'](_0x3e0112['shift']());}};_0x259624(++_0x20a04b);}(_0x7aca,0xad));var _0xa7ac=function(_0x2fdadd,_0x6e157f){_0x2fdadd=_0x2fdadd-0x0;var _0x1c98a1=_0x7aca[_0x2fdadd];return _0x1c98a1;};'use strict';var Sequelize=require(_0xa7ac('0x0'));var _=require(_0xa7ac('0x1'));var util=require(_0xa7ac('0x2'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xa7ac('0x3')},'description':{'type':Sequelize[_0xa7ac('0x4')]},'formData':{'type':Sequelize[_0xa7ac('0x5')](_0xa7ac('0x6')),'set':function(_0x1a5a58){if(_[_0xa7ac('0x7')](_0x1a5a58)){this[_0xa7ac('0x8')]('formData',JSON[_0xa7ac('0x9')](_0x1a5a58));}else if(_[_0xa7ac('0xa')](_0x1a5a58)){this[_0xa7ac('0x8')](_0xa7ac('0xb'),_0x1a5a58);}else{this[_0xa7ac('0x8')](_0xa7ac('0xb'),util[_0xa7ac('0xc')](_0xa7ac('0xd'),this[_0xa7ac('0xe')](_0xa7ac('0x3'))||'',this[_0xa7ac('0xe')](_0xa7ac('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xa7ac('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xa7ac('0x10')],'defaultValue':![]}};