Built motion from commit (unavailable).|2.5.1
[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 _0xbb58=['getDataValue','description','BOOLEAN','lodash','exports','STRING','TEXT','long','isObjectLike','setDataValue','formData','stringify','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}'];(function(_0x3eca41,_0x4665c1){var _0x332066=function(_0x4dee50){while(--_0x4dee50){_0x3eca41['push'](_0x3eca41['shift']());}};_0x332066(++_0x4665c1);}(_0xbb58,0x1f2));var _0x8bb5=function(_0x4329f9,_0xe3c7cc){_0x4329f9=_0x4329f9-0x0;var _0x58985c=_0xbb58[_0x4329f9];return _0x58985c;};'use strict';var Sequelize=require('sequelize');var _=require(_0x8bb5('0x0'));var util=require('util');module[_0x8bb5('0x1')]={'name':{'type':Sequelize[_0x8bb5('0x2')],'unique':'name'},'description':{'type':Sequelize[_0x8bb5('0x2')]},'formData':{'type':Sequelize[_0x8bb5('0x3')](_0x8bb5('0x4')),'set':function(_0x2fbf28){if(_[_0x8bb5('0x5')](_0x2fbf28)){this[_0x8bb5('0x6')](_0x8bb5('0x7'),JSON[_0x8bb5('0x8')](_0x2fbf28));}else if(_[_0x8bb5('0x9')](_0x2fbf28)){this[_0x8bb5('0x6')](_0x8bb5('0x7'),_0x2fbf28);}else{this[_0x8bb5('0x6')](_0x8bb5('0x7'),util[_0x8bb5('0xa')](_0x8bb5('0xb'),this[_0x8bb5('0xc')]('name')||'',this[_0x8bb5('0xc')](_0x8bb5('0xd'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0x8bb5('0xe')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0x8bb5('0xe')],'defaultValue':![]}};