Built motion from commit (unavailable).|2.5.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 _0xaa69=['TEXT','BLOB','getDataValue','preproduction','toString','long','production','utf8','DATE','STRING','name'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xaa69,0x153));var _0x9aa6=function(_0x2d3e45,_0x16d47a){_0x2d3e45=_0x2d3e45-0x0;var _0x369ff5=_0xaa69[_0x2d3e45];return _0x369ff5;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x9aa6('0x0')],'unique':_0x9aa6('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x9aa6('0x0')]},'notes':{'type':Sequelize[_0x9aa6('0x2')]},'preproduction':{'type':Sequelize[_0x9aa6('0x3')]('long'),'get':function(){if(this[_0x9aa6('0x4')]('preproduction')){return this[_0x9aa6('0x4')](_0x9aa6('0x5'))[_0x9aa6('0x6')]('utf8');}}},'production':{'type':Sequelize[_0x9aa6('0x3')](_0x9aa6('0x7')),'get':function(){if(this['getDataValue'](_0x9aa6('0x8'))){return this['getDataValue']('production')['toString'](_0x9aa6('0x9'));}}},'savedAt':{'type':Sequelize[_0x9aa6('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};