Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / squareProject / squareProject.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 _0x031d=['name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x2c1dcd,_0x350452){var _0x158ce5=function(_0x5c1c57){while(--_0x5c1c57){_0x2c1dcd['push'](_0x2c1dcd['shift']());}};_0x158ce5(++_0x350452);}(_0x031d,0x1b7));var _0xd031=function(_0x2605dc,_0x50cf7e){_0x2605dc=_0x2605dc-0x0;var _0x4568c9=_0x031d[_0x2605dc];return _0x4568c9;};'use strict';var Sequelize=require(_0xd031('0x0'));module[_0xd031('0x1')]={'name':{'type':Sequelize[_0xd031('0x2')],'unique':_0xd031('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xd031('0x2')]},'notes':{'type':Sequelize[_0xd031('0x4')]},'preproduction':{'type':Sequelize[_0xd031('0x5')](_0xd031('0x6')),'get':function(){if(this[_0xd031('0x7')](_0xd031('0x8'))){return this[_0xd031('0x7')](_0xd031('0x8'))[_0xd031('0x9')](_0xd031('0xa'));}}},'production':{'type':Sequelize[_0xd031('0x5')](_0xd031('0x6')),'get':function(){if(this[_0xd031('0x7')](_0xd031('0xb'))){return this[_0xd031('0x7')](_0xd031('0xb'))[_0xd031('0x9')]('utf8');}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xd031('0xc')]}};