Built motion from commit 1fa89557.|2.6.10
[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 _0x553a=['name','TEXT','BLOB','long','getDataValue','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x5eafa2,_0x26390a){var _0x45bfd6=function(_0x5dcbe0){while(--_0x5dcbe0){_0x5eafa2['push'](_0x5eafa2['shift']());}};_0x45bfd6(++_0x26390a);}(_0x553a,0x141));var _0xa553=function(_0x3439bc,_0xc03879){_0x3439bc=_0x3439bc-0x0;var _0x484801=_0x553a[_0x3439bc];return _0x484801;};'use strict';var Sequelize=require(_0xa553('0x0'));module[_0xa553('0x1')]={'name':{'type':Sequelize[_0xa553('0x2')],'unique':_0xa553('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xa553('0x2')]},'notes':{'type':Sequelize[_0xa553('0x4')]},'preproduction':{'type':Sequelize[_0xa553('0x5')](_0xa553('0x6')),'get':function(){if(this[_0xa553('0x7')]('preproduction')){return this[_0xa553('0x7')]('preproduction')[_0xa553('0x8')](_0xa553('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0xa553('0x6')),'get':function(){if(this['getDataValue'](_0xa553('0xa'))){return this[_0xa553('0x7')]('production')[_0xa553('0x8')](_0xa553('0x9'));}}},'savedAt':{'type':Sequelize[_0xa553('0xb')]},'publishedAt':{'type':Sequelize[_0xa553('0xb')]}};