71f578403a116bfec5cd056aa9f09761c25332db
[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 _0xd485=['isObjectLike','setDataValue','formData','stringify','format','getDataValue','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT','long'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xd485,0x18d));var _0x5d48=function(_0x35b7b2,_0x437bab){_0x35b7b2=_0x35b7b2-0x0;var _0x488ca0=_0xd485[_0x35b7b2];return _0x488ca0;};'use strict';var Sequelize=require(_0x5d48('0x0'));var _=require(_0x5d48('0x1'));var util=require(_0x5d48('0x2'));module[_0x5d48('0x3')]={'name':{'type':Sequelize[_0x5d48('0x4')],'unique':_0x5d48('0x5')},'description':{'type':Sequelize[_0x5d48('0x4')]},'formData':{'type':Sequelize[_0x5d48('0x6')](_0x5d48('0x7')),'set':function(_0x393903){if(_[_0x5d48('0x8')](_0x393903)){this[_0x5d48('0x9')](_0x5d48('0xa'),JSON[_0x5d48('0xb')](_0x393903));}else if(_['isString'](_0x393903)){this[_0x5d48('0x9')](_0x5d48('0xa'),_0x393903);}else{this[_0x5d48('0x9')](_0x5d48('0xa'),util[_0x5d48('0xc')]('{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}',this[_0x5d48('0xd')](_0x5d48('0x5'))||'',this[_0x5d48('0xd')]('description')||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x5d48('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x5d48('0xe')],'defaultValue':![]}};