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 _0x175a=['BLOB','production','exports','name','STRING','TEXT','long','getDataValue','preproduction','toString','utf8'];(function(_0x2720fa,_0x42e622){var _0x5b8c0b=function(_0x4f57f7){while(--_0x4f57f7){_0x2720fa['push'](_0x2720fa['shift']());}};_0x5b8c0b(++_0x42e622);}(_0x175a,0x1db));var _0xa175=function(_0x683884,_0x36a537){_0x683884=_0x683884-0x0;var _0x4b454a=_0x175a[_0x683884];return _0x4b454a;};'use strict';var Sequelize=require('sequelize');module[_0xa175('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xa175('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0xa175('0x2')]},'notes':{'type':Sequelize[_0xa175('0x3')]},'preproduction':{'type':Sequelize['BLOB'](_0xa175('0x4')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0xa175('0x5')](_0xa175('0x6'))[_0xa175('0x7')](_0xa175('0x8'));}}},'production':{'type':Sequelize[_0xa175('0x9')]('long'),'get':function(){if(this[_0xa175('0x5')](_0xa175('0xa'))){return this[_0xa175('0x5')](_0xa175('0xa'))['toString'](_0xa175('0x8'));}}}};