Built motion from commit 775e2a94.|2.6.3
[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 _0xd3ea=['isObjectLike','setDataValue','formData','stringify','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','exports','STRING','name','TEXT','long'];(function(_0x55183b,_0x52cd27){var _0x2cf3ca=function(_0xf6d272){while(--_0xf6d272){_0x55183b['push'](_0x55183b['shift']());}};_0x2cf3ca(++_0x52cd27);}(_0xd3ea,0xbe));var _0xad3e=function(_0xae7c2f,_0xf31e04){_0xae7c2f=_0xae7c2f-0x0;var _0x5d7001=_0xd3ea[_0xae7c2f];return _0x5d7001;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');var util=require('util');module[_0xad3e('0x0')]={'name':{'type':Sequelize[_0xad3e('0x1')],'unique':_0xad3e('0x2')},'description':{'type':Sequelize[_0xad3e('0x1')]},'formData':{'type':Sequelize[_0xad3e('0x3')](_0xad3e('0x4')),'set':function(_0x5103a0){if(_[_0xad3e('0x5')](_0x5103a0)){this[_0xad3e('0x6')](_0xad3e('0x7'),JSON[_0xad3e('0x8')](_0x5103a0));}else if(_[_0xad3e('0x9')](_0x5103a0)){this[_0xad3e('0x6')](_0xad3e('0x7'),_0x5103a0);}else{this[_0xad3e('0x6')](_0xad3e('0x7'),util[_0xad3e('0xa')](_0xad3e('0xb'),this[_0xad3e('0xc')](_0xad3e('0x2'))||'',this[_0xad3e('0xc')](_0xad3e('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xad3e('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};