Built motion from commit (unavailable).|2.5.16
[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 _0xf02a=['long','isObjectLike','setDataValue','formData','stringify','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT'];(function(_0x25cfbc,_0x39994b){var _0x3c3a16=function(_0x518b98){while(--_0x518b98){_0x25cfbc['push'](_0x25cfbc['shift']());}};_0x3c3a16(++_0x39994b);}(_0xf02a,0x15e));var _0xaf02=function(_0x496333,_0x1c47d6){_0x496333=_0x496333-0x0;var _0x44256e=_0xf02a[_0x496333];return _0x44256e;};'use strict';var Sequelize=require(_0xaf02('0x0'));var _=require(_0xaf02('0x1'));var util=require(_0xaf02('0x2'));module[_0xaf02('0x3')]={'name':{'type':Sequelize[_0xaf02('0x4')],'unique':_0xaf02('0x5')},'description':{'type':Sequelize[_0xaf02('0x4')]},'formData':{'type':Sequelize[_0xaf02('0x6')](_0xaf02('0x7')),'set':function(_0x3f48f0){if(_[_0xaf02('0x8')](_0x3f48f0)){this[_0xaf02('0x9')](_0xaf02('0xa'),JSON[_0xaf02('0xb')](_0x3f48f0));}else if(_['isString'](_0x3f48f0)){this['setDataValue'](_0xaf02('0xa'),_0x3f48f0);}else{this[_0xaf02('0x9')](_0xaf02('0xa'),util[_0xaf02('0xc')](_0xaf02('0xd'),this[_0xaf02('0xe')](_0xaf02('0x5'))||'',this['getDataValue'](_0xaf02('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xaf02('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xaf02('0x10')],'defaultValue':![]}};