Built motion from commit (unavailable).|2.5.4
[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 _0xdaa6=['TEXT','BLOB','long','getDataValue','preproduction','toString','utf8','production','sequelize','exports','STRING','name'];(function(_0x5db7df,_0x5dd292){var _0x406e8b=function(_0x493654){while(--_0x493654){_0x5db7df['push'](_0x5db7df['shift']());}};_0x406e8b(++_0x5dd292);}(_0xdaa6,0x8c));var _0x6daa=function(_0xb7f342,_0x5d8463){_0xb7f342=_0xb7f342-0x0;var _0x329adc=_0xdaa6[_0xb7f342];return _0x329adc;};'use strict';var Sequelize=require(_0x6daa('0x0'));module[_0x6daa('0x1')]={'name':{'type':Sequelize[_0x6daa('0x2')],'unique':_0x6daa('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x6daa('0x2')]},'notes':{'type':Sequelize[_0x6daa('0x4')]},'preproduction':{'type':Sequelize[_0x6daa('0x5')](_0x6daa('0x6')),'get':function(){if(this[_0x6daa('0x7')]('preproduction')){return this['getDataValue'](_0x6daa('0x8'))[_0x6daa('0x9')](_0x6daa('0xa'));}}},'production':{'type':Sequelize['BLOB'](_0x6daa('0x6')),'get':function(){if(this['getDataValue'](_0x6daa('0xb'))){return this[_0x6daa('0x7')]('production')[_0x6daa('0x9')](_0x6daa('0xa'));}}}};