Built motion from commit (unavailable).|2.4.18
[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 _0x25ad=['sequelize','exports','STRING','TEXT','BLOB','long','preproduction','getDataValue','toString','production','utf8'];(function(_0x409335,_0x201165){var _0x47d3b6=function(_0x42b1b2){while(--_0x42b1b2){_0x409335['push'](_0x409335['shift']());}};_0x47d3b6(++_0x201165);}(_0x25ad,0x84));var _0xd25a=function(_0x5adb18,_0x222326){_0x5adb18=_0x5adb18-0x0;var _0x420c98=_0x25ad[_0x5adb18];return _0x420c98;};'use strict';var Sequelize=require(_0xd25a('0x0'));module[_0xd25a('0x1')]={'name':{'type':Sequelize[_0xd25a('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xd25a('0x2')]},'notes':{'type':Sequelize[_0xd25a('0x3')]},'preproduction':{'type':Sequelize[_0xd25a('0x4')](_0xd25a('0x5')),'get':function(){if(this['getDataValue'](_0xd25a('0x6'))){return this[_0xd25a('0x7')](_0xd25a('0x6'))[_0xd25a('0x8')]('utf8');}}},'production':{'type':Sequelize[_0xd25a('0x4')](_0xd25a('0x5')),'get':function(){if(this[_0xd25a('0x7')](_0xd25a('0x9'))){return this[_0xd25a('0x7')](_0xd25a('0x9'))[_0xd25a('0x8')](_0xd25a('0xa'));}}}};