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 _0x3235=['name','TEXT','BLOB','getDataValue','preproduction','toString','utf8','long','production','exports','STRING'];(function(_0x3fa5f6,_0x206889){var _0x543711=function(_0x4558ed){while(--_0x4558ed){_0x3fa5f6['push'](_0x3fa5f6['shift']());}};_0x543711(++_0x206889);}(_0x3235,0x195));var _0x5323=function(_0x42aa03,_0x16ca82){_0x42aa03=_0x42aa03-0x0;var _0x360afe=_0x3235[_0x42aa03];return _0x360afe;};'use strict';var Sequelize=require('sequelize');module[_0x5323('0x0')]={'name':{'type':Sequelize[_0x5323('0x1')],'unique':_0x5323('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x5323('0x3')]},'preproduction':{'type':Sequelize[_0x5323('0x4')]('long'),'get':function(){if(this['getDataValue']('preproduction')){return this[_0x5323('0x5')](_0x5323('0x6'))[_0x5323('0x7')](_0x5323('0x8'));}}},'production':{'type':Sequelize[_0x5323('0x4')](_0x5323('0x9')),'get':function(){if(this[_0x5323('0x5')](_0x5323('0xa'))){return this[_0x5323('0x5')]('production')[_0x5323('0x7')](_0x5323('0x8'));}}}};