Built motion from commit 85328c08.|2.5.50
[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 _0xaa16=['exports','name','STRING','TEXT','isObjectLike','setDataValue','formData','stringify','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize'];(function(_0x22221f,_0x2d468){var _0x5e9e0d=function(_0x1c0425){while(--_0x1c0425){_0x22221f['push'](_0x22221f['shift']());}};_0x5e9e0d(++_0x2d468);}(_0xaa16,0xa4));var _0x6aa1=function(_0x2dbb49,_0x4955d6){_0x2dbb49=_0x2dbb49-0x0;var _0x59083b=_0xaa16[_0x2dbb49];return _0x59083b;};'use strict';var Sequelize=require(_0x6aa1('0x0'));var _=require('lodash');var util=require('util');module[_0x6aa1('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x6aa1('0x2')},'description':{'type':Sequelize[_0x6aa1('0x3')]},'formData':{'type':Sequelize[_0x6aa1('0x4')]('long'),'set':function(_0x384423){if(_[_0x6aa1('0x5')](_0x384423)){this[_0x6aa1('0x6')](_0x6aa1('0x7'),JSON[_0x6aa1('0x8')](_0x384423));}else if(_[_0x6aa1('0x9')](_0x384423)){this[_0x6aa1('0x6')](_0x6aa1('0x7'),_0x384423);}else{this[_0x6aa1('0x6')](_0x6aa1('0x7'),util[_0x6aa1('0xa')](_0x6aa1('0xb'),this[_0x6aa1('0xc')]('name')||'',this[_0x6aa1('0xc')](_0x6aa1('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x6aa1('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x6aa1('0xe')],'defaultValue':![]}};