Built motion from commit (unavailable).|2.5.8
[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 _0x91d0=['util','exports','STRING','name','isObjectLike','setDataValue','formData','stringify','isString','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash'];(function(_0x20aae1,_0x51efd4){var _0x510601=function(_0x20895f){while(--_0x20895f){_0x20aae1['push'](_0x20aae1['shift']());}};_0x510601(++_0x51efd4);}(_0x91d0,0x1a2));var _0x091d=function(_0x495b3d,_0x4d3da4){_0x495b3d=_0x495b3d-0x0;var _0x4cb329=_0x91d0[_0x495b3d];return _0x4cb329;};'use strict';var Sequelize=require(_0x091d('0x0'));var _=require(_0x091d('0x1'));var util=require(_0x091d('0x2'));module[_0x091d('0x3')]={'name':{'type':Sequelize[_0x091d('0x4')],'unique':_0x091d('0x5')},'description':{'type':Sequelize[_0x091d('0x4')]},'formData':{'type':Sequelize['TEXT']('long'),'set':function(_0x2e54d3){if(_[_0x091d('0x6')](_0x2e54d3)){this[_0x091d('0x7')](_0x091d('0x8'),JSON[_0x091d('0x9')](_0x2e54d3));}else if(_[_0x091d('0xa')](_0x2e54d3)){this[_0x091d('0x7')](_0x091d('0x8'),_0x2e54d3);}else{this[_0x091d('0x7')](_0x091d('0x8'),util['format'](_0x091d('0xb'),this[_0x091d('0xc')](_0x091d('0x5'))||'',this[_0x091d('0xc')](_0x091d('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x091d('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x091d('0xe')],'defaultValue':![]}};