Built motion from commit (unavailable).|2.5.26
[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 _0xc4c5=['lodash','util','exports','STRING','name','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','BOOLEAN','sequelize'];(function(_0x483b66,_0x75e963){var _0x5d38f1=function(_0x27e6a2){while(--_0x27e6a2){_0x483b66['push'](_0x483b66['shift']());}};_0x5d38f1(++_0x75e963);}(_0xc4c5,0x1a8));var _0x5c4c=function(_0x38f367,_0x22df2a){_0x38f367=_0x38f367-0x0;var _0x4f864a=_0xc4c5[_0x38f367];return _0x4f864a;};'use strict';var Sequelize=require(_0x5c4c('0x0'));var _=require(_0x5c4c('0x1'));var util=require(_0x5c4c('0x2'));module[_0x5c4c('0x3')]={'name':{'type':Sequelize[_0x5c4c('0x4')],'unique':_0x5c4c('0x5')},'description':{'type':Sequelize[_0x5c4c('0x4')]},'formData':{'type':Sequelize[_0x5c4c('0x6')](_0x5c4c('0x7')),'set':function(_0x41f0bc){if(_[_0x5c4c('0x8')](_0x41f0bc)){this[_0x5c4c('0x9')](_0x5c4c('0xa'),JSON[_0x5c4c('0xb')](_0x41f0bc));}else if(_[_0x5c4c('0xc')](_0x41f0bc)){this[_0x5c4c('0x9')](_0x5c4c('0xa'),_0x41f0bc);}else{this['setDataValue'](_0x5c4c('0xa'),util[_0x5c4c('0xd')](_0x5c4c('0xe'),this[_0x5c4c('0xf')]('name')||'',this[_0x5c4c('0xf')]('description')||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x5c4c('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x5c4c('0x10')],'defaultValue':![]}};