Built motion from commit 13c3002c.|2.6.9
[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 _0x3ef7=['preproduction','utf8','long','production','toString','DATE','sequelize','STRING','name','TEXT','BLOB','getDataValue'];(function(_0x396e27,_0x13171c){var _0x39fb25=function(_0x180c69){while(--_0x180c69){_0x396e27['push'](_0x396e27['shift']());}};_0x39fb25(++_0x13171c);}(_0x3ef7,0xa2));var _0x73ef=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x3ef7[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0x73ef('0x0'));module['exports']={'name':{'type':Sequelize[_0x73ef('0x1')],'unique':_0x73ef('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x73ef('0x1')]},'notes':{'type':Sequelize[_0x73ef('0x3')]},'preproduction':{'type':Sequelize[_0x73ef('0x4')]('long'),'get':function(){if(this[_0x73ef('0x5')](_0x73ef('0x6'))){return this[_0x73ef('0x5')](_0x73ef('0x6'))['toString'](_0x73ef('0x7'));}}},'production':{'type':Sequelize[_0x73ef('0x4')](_0x73ef('0x8')),'get':function(){if(this[_0x73ef('0x5')](_0x73ef('0x9'))){return this['getDataValue'](_0x73ef('0x9'))[_0x73ef('0xa')]('utf8');}}},'savedAt':{'type':Sequelize[_0x73ef('0xb')]},'publishedAt':{'type':Sequelize[_0x73ef('0xb')]}};