Built motion from commit (unavailable).|2.5.24
[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 _0x89d9=['utf8','BLOB','production','DATE','sequelize','exports','name','STRING','long','getDataValue','preproduction','toString'];(function(_0x2abcbd,_0x3482e3){var _0x1097cf=function(_0x5f1675){while(--_0x5f1675){_0x2abcbd['push'](_0x2abcbd['shift']());}};_0x1097cf(++_0x3482e3);}(_0x89d9,0x1c0));var _0x989d=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0x89d9[_0x27af45];return _0x18df21;};'use strict';var Sequelize=require(_0x989d('0x0'));module[_0x989d('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x989d('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x989d('0x3')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0x989d('0x4')),'get':function(){if(this[_0x989d('0x5')](_0x989d('0x6'))){return this[_0x989d('0x5')](_0x989d('0x6'))[_0x989d('0x7')](_0x989d('0x8'));}}},'production':{'type':Sequelize[_0x989d('0x9')](_0x989d('0x4')),'get':function(){if(this[_0x989d('0x5')](_0x989d('0xa'))){return this[_0x989d('0x5')]('production')[_0x989d('0x7')](_0x989d('0x8'));}}},'savedAt':{'type':Sequelize[_0x989d('0xb')]},'publishedAt':{'type':Sequelize[_0x989d('0xb')]}};