Built motion from commit 5ae82ce5.|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 _0x182f=['DATE','exports','name','STRING','BLOB','long','getDataValue','preproduction','toString','production','utf8'];(function(_0xeb30d6,_0x46ba0a){var _0x42de1f=function(_0x1e3105){while(--_0x1e3105){_0xeb30d6['push'](_0xeb30d6['shift']());}};_0x42de1f(++_0x46ba0a);}(_0x182f,0x85));var _0xf182=function(_0x2eba44,_0x537222){_0x2eba44=_0x2eba44-0x0;var _0x24669c=_0x182f[_0x2eba44];return _0x24669c;};'use strict';var Sequelize=require('sequelize');module[_0xf182('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xf182('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0xf182('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xf182('0x3')](_0xf182('0x4')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0xf182('0x5')](_0xf182('0x6'))[_0xf182('0x7')]('utf8');}}},'production':{'type':Sequelize[_0xf182('0x3')](_0xf182('0x4')),'get':function(){if(this[_0xf182('0x5')](_0xf182('0x8'))){return this[_0xf182('0x5')]('production')[_0xf182('0x7')](_0xf182('0x9'));}}},'savedAt':{'type':Sequelize[_0xf182('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};