Built motion from commit (unavailable).|2.5.21
[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 _0x7dff=['sequelize','lodash','util','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description'];(function(_0x57d00d,_0x3bb282){var _0x2d2b37=function(_0x595b76){while(--_0x595b76){_0x57d00d['push'](_0x57d00d['shift']());}};_0x2d2b37(++_0x3bb282);}(_0x7dff,0x1e0));var _0xf7df=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0x7dff[_0xbb091];return _0x467a04;};'use strict';var Sequelize=require(_0xf7df('0x0'));var _=require(_0xf7df('0x1'));var util=require(_0xf7df('0x2'));module['exports']={'name':{'type':Sequelize[_0xf7df('0x3')],'unique':_0xf7df('0x4')},'description':{'type':Sequelize[_0xf7df('0x3')]},'formData':{'type':Sequelize[_0xf7df('0x5')](_0xf7df('0x6')),'set':function(_0x47472e){if(_[_0xf7df('0x7')](_0x47472e)){this[_0xf7df('0x8')](_0xf7df('0x9'),JSON[_0xf7df('0xa')](_0x47472e));}else if(_[_0xf7df('0xb')](_0x47472e)){this[_0xf7df('0x8')](_0xf7df('0x9'),_0x47472e);}else{this[_0xf7df('0x8')](_0xf7df('0x9'),util['format'](_0xf7df('0xc'),this[_0xf7df('0xd')](_0xf7df('0x4'))||'',this[_0xf7df('0xd')](_0xf7df('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};