Built motion from commit f7863d46.|2.5.41
[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 _0x37b2=['name','TEXT','BLOB','getDataValue','preproduction','toString','long','production','DATE','sequelize','STRING'];(function(_0x29933a,_0x2507e7){var _0x3424e9=function(_0x5379d0){while(--_0x5379d0){_0x29933a['push'](_0x29933a['shift']());}};_0x3424e9(++_0x2507e7);}(_0x37b2,0xa3));var _0x237b=function(_0x43a4b5,_0xa3e9bc){_0x43a4b5=_0x43a4b5-0x0;var _0x54ab5e=_0x37b2[_0x43a4b5];return _0x54ab5e;};'use strict';var Sequelize=require(_0x237b('0x0'));module['exports']={'name':{'type':Sequelize[_0x237b('0x1')],'unique':_0x237b('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x237b('0x1')]},'notes':{'type':Sequelize[_0x237b('0x3')]},'preproduction':{'type':Sequelize[_0x237b('0x4')]('long'),'get':function(){if(this[_0x237b('0x5')](_0x237b('0x6'))){return this[_0x237b('0x5')](_0x237b('0x6'))[_0x237b('0x7')]('utf8');}}},'production':{'type':Sequelize['BLOB'](_0x237b('0x8')),'get':function(){if(this[_0x237b('0x5')](_0x237b('0x9'))){return this[_0x237b('0x5')](_0x237b('0x9'))[_0x237b('0x7')]('utf8');}}},'savedAt':{'type':Sequelize[_0x237b('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};