Built motion from commit 9d7072cc.|2.5.39
[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 _0xedca=['sequelize','exports','STRING','name','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE'];(function(_0x37a45f,_0x67c5d6){var _0x15fe1c=function(_0x55c673){while(--_0x55c673){_0x37a45f['push'](_0x37a45f['shift']());}};_0x15fe1c(++_0x67c5d6);}(_0xedca,0x15c));var _0xaedc=function(_0x16fde3,_0x14eb86){_0x16fde3=_0x16fde3-0x0;var _0x441532=_0xedca[_0x16fde3];return _0x441532;};'use strict';var Sequelize=require(_0xaedc('0x0'));module[_0xaedc('0x1')]={'name':{'type':Sequelize[_0xaedc('0x2')],'unique':_0xaedc('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xaedc('0x4')](_0xaedc('0x5')),'get':function(){if(this[_0xaedc('0x6')]('preproduction')){return this['getDataValue'](_0xaedc('0x7'))[_0xaedc('0x8')](_0xaedc('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0xaedc('0x5')),'get':function(){if(this[_0xaedc('0x6')]('production')){return this[_0xaedc('0x6')](_0xaedc('0xa'))[_0xaedc('0x8')](_0xaedc('0x9'));}}},'savedAt':{'type':Sequelize[_0xaedc('0xb')]},'publishedAt':{'type':Sequelize[_0xaedc('0xb')]}};