Built motion from commit 3c2ce842.|2.6.31
[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 _0x74a7=['production','DATE','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8'];(function(_0x1d2cd,_0x5b4e3f){var _0x214827=function(_0x2645b9){while(--_0x2645b9){_0x1d2cd['push'](_0x1d2cd['shift']());}};_0x214827(++_0x5b4e3f);}(_0x74a7,0x91));var _0x774a=function(_0x1ab6b1,_0x430845){_0x1ab6b1=_0x1ab6b1-0x0;var _0x18a719=_0x74a7[_0x1ab6b1];return _0x18a719;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x774a('0x0')],'unique':_0x774a('0x1'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x774a('0x2')]},'preproduction':{'type':Sequelize[_0x774a('0x3')](_0x774a('0x4')),'get':function(){if(this[_0x774a('0x5')]('preproduction')){return this[_0x774a('0x5')](_0x774a('0x6'))[_0x774a('0x7')](_0x774a('0x8'));}}},'production':{'type':Sequelize[_0x774a('0x3')](_0x774a('0x4')),'get':function(){if(this['getDataValue'](_0x774a('0x9'))){return this[_0x774a('0x5')](_0x774a('0x9'))[_0x774a('0x7')](_0x774a('0x8'));}}},'savedAt':{'type':Sequelize[_0x774a('0xa')]},'publishedAt':{'type':Sequelize[_0x774a('0xa')]}};