Built motion from commit (unavailable).|2.4.18
[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 _0x3ffc=['getDataValue','BOOLEAN','lodash','util','exports','STRING','name','TEXT','isObjectLike','formData','stringify','isString','setDataValue','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x3ffc,0x8e));var _0xc3ff=function(_0x4a4c78,_0x13d5b7){_0x4a4c78=_0x4a4c78-0x0;var _0xd58f32=_0x3ffc[_0x4a4c78];return _0xd58f32;};'use strict';var Sequelize=require('sequelize');var _=require(_0xc3ff('0x0'));var util=require(_0xc3ff('0x1'));module[_0xc3ff('0x2')]={'name':{'type':Sequelize[_0xc3ff('0x3')],'unique':_0xc3ff('0x4')},'description':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0xc3ff('0x5')]('long'),'set':function(_0x4fd4b1){if(_[_0xc3ff('0x6')](_0x4fd4b1)){this['setDataValue'](_0xc3ff('0x7'),JSON[_0xc3ff('0x8')](_0x4fd4b1));}else if(_[_0xc3ff('0x9')](_0x4fd4b1)){this[_0xc3ff('0xa')](_0xc3ff('0x7'),_0x4fd4b1);}else{this[_0xc3ff('0xa')](_0xc3ff('0x7'),util['format'](_0xc3ff('0xb'),this[_0xc3ff('0xc')](_0xc3ff('0x4'))||'',this['getDataValue']('description')||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xc3ff('0xd')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xc3ff('0xd')],'defaultValue':![]}};