Built motion from commit 47436d59.|2.6.7
[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 _0xef4d=['getDataValue','preproduction','toString','production','utf8','DATE','sequelize','exports','STRING','name','TEXT','BLOB','long'];(function(_0xb7b878,_0x5c3b92){var _0x3c84b9=function(_0x21d5a2){while(--_0x21d5a2){_0xb7b878['push'](_0xb7b878['shift']());}};_0x3c84b9(++_0x5c3b92);}(_0xef4d,0x165));var _0xdef4=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0xef4d[_0x487b0c];return _0x1adbdc;};'use strict';var Sequelize=require(_0xdef4('0x0'));module[_0xdef4('0x1')]={'name':{'type':Sequelize[_0xdef4('0x2')],'unique':_0xdef4('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xdef4('0x2')]},'notes':{'type':Sequelize[_0xdef4('0x4')]},'preproduction':{'type':Sequelize[_0xdef4('0x5')](_0xdef4('0x6')),'get':function(){if(this[_0xdef4('0x7')](_0xdef4('0x8'))){return this[_0xdef4('0x7')](_0xdef4('0x8'))[_0xdef4('0x9')]('utf8');}}},'production':{'type':Sequelize[_0xdef4('0x5')](_0xdef4('0x6')),'get':function(){if(this[_0xdef4('0x7')](_0xdef4('0xa'))){return this[_0xdef4('0x7')](_0xdef4('0xa'))[_0xdef4('0x9')](_0xdef4('0xb'));}}},'savedAt':{'type':Sequelize[_0xdef4('0xc')]},'publishedAt':{'type':Sequelize['DATE']}};