Built motion from commit fade34fd.|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 _0x7fcc=['BLOB','long','getDataValue','preproduction','toString','utf8','production','sequelize','exports','STRING','name','TEXT'];(function(_0x5369fd,_0x3a2678){var _0x259ded=function(_0x2c1fa6){while(--_0x2c1fa6){_0x5369fd['push'](_0x5369fd['shift']());}};_0x259ded(++_0x3a2678);}(_0x7fcc,0x8b));var _0xc7fc=function(_0x1aa5aa,_0x2d0fd7){_0x1aa5aa=_0x1aa5aa-0x0;var _0x5e1b76=_0x7fcc[_0x1aa5aa];return _0x5e1b76;};'use strict';var Sequelize=require(_0xc7fc('0x0'));module[_0xc7fc('0x1')]={'name':{'type':Sequelize[_0xc7fc('0x2')],'unique':_0xc7fc('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xc7fc('0x2')]},'notes':{'type':Sequelize[_0xc7fc('0x4')]},'preproduction':{'type':Sequelize[_0xc7fc('0x5')](_0xc7fc('0x6')),'get':function(){if(this[_0xc7fc('0x7')](_0xc7fc('0x8'))){return this[_0xc7fc('0x7')]('preproduction')[_0xc7fc('0x9')](_0xc7fc('0xa'));}}},'production':{'type':Sequelize[_0xc7fc('0x5')](_0xc7fc('0x6')),'get':function(){if(this['getDataValue'](_0xc7fc('0xb'))){return this[_0xc7fc('0x7')]('production')[_0xc7fc('0x9')](_0xc7fc('0xa'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize['DATE']}};