Built motion from commit (unavailable).|2.5.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 _0x62ec=['TEXT','BLOB','long','getDataValue','production','toString','utf8','DATE','sequelize','exports','STRING','name'];(function(_0x5c0ad6,_0x354790){var _0x554599=function(_0x57b7f9){while(--_0x57b7f9){_0x5c0ad6['push'](_0x5c0ad6['shift']());}};_0x554599(++_0x354790);}(_0x62ec,0xe0));var _0xc62e=function(_0x412fbb,_0x18ca2a){_0x412fbb=_0x412fbb-0x0;var _0x3002f1=_0x62ec[_0x412fbb];return _0x3002f1;};'use strict';var Sequelize=require(_0xc62e('0x0'));module[_0xc62e('0x1')]={'name':{'type':Sequelize[_0xc62e('0x2')],'unique':_0xc62e('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xc62e('0x2')]},'notes':{'type':Sequelize[_0xc62e('0x4')]},'preproduction':{'type':Sequelize[_0xc62e('0x5')](_0xc62e('0x6')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0xc62e('0x7')]('preproduction')['toString']('utf8');}}},'production':{'type':Sequelize[_0xc62e('0x5')](_0xc62e('0x6')),'get':function(){if(this[_0xc62e('0x7')](_0xc62e('0x8'))){return this[_0xc62e('0x7')](_0xc62e('0x8'))[_0xc62e('0x9')](_0xc62e('0xa'));}}},'savedAt':{'type':Sequelize[_0xc62e('0xb')]},'publishedAt':{'type':Sequelize[_0xc62e('0xb')]}};