Built motion from commit (unavailable).|2.4.4
[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 _0xaaed=['description','sequelize','lodash','exports','name','STRING','TEXT','long','setDataValue','formData','stringify','isString','format','getDataValue'];(function(_0x458a8f,_0x56eb85){var _0x1221a7=function(_0x289ee7){while(--_0x289ee7){_0x458a8f['push'](_0x458a8f['shift']());}};_0x1221a7(++_0x56eb85);}(_0xaaed,0x7f));var _0xdaae=function(_0x50318a,_0x2c4c4c){_0x50318a=_0x50318a-0x0;var _0x5ad263=_0xaaed[_0x50318a];return _0x5ad263;};'use strict';var Sequelize=require(_0xdaae('0x0'));var _=require(_0xdaae('0x1'));var util=require('util');module[_0xdaae('0x2')]={'name':{'type':Sequelize['STRING'],'unique':_0xdaae('0x3')},'description':{'type':Sequelize[_0xdaae('0x4')]},'formData':{'type':Sequelize[_0xdaae('0x5')](_0xdaae('0x6')),'set':function(_0xe4f2c8){if(_['isObjectLike'](_0xe4f2c8)){this[_0xdaae('0x7')](_0xdaae('0x8'),JSON[_0xdaae('0x9')](_0xe4f2c8));}else if(_[_0xdaae('0xa')](_0xe4f2c8)){this[_0xdaae('0x7')](_0xdaae('0x8'),_0xe4f2c8);}else{this[_0xdaae('0x7')](_0xdaae('0x8'),util[_0xdaae('0xb')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0xdaae('0xc')]('name')||'',this[_0xdaae('0xc')](_0xdaae('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};