1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1315=['sequelize','exports','STRING','name','TEXT','BLOB','long','getDataValue','preproduction','utf8','production','toString','DATE'];(function(_0x5a7f64,_0x347d57){var _0x3d30f1=function(_0x4bd1d6){while(--_0x4bd1d6){_0x5a7f64['push'](_0x5a7f64['shift']());}};_0x3d30f1(++_0x347d57);}(_0x1315,0xdd));var _0x5131=function(_0x1c34e7,_0x33f9a8){_0x1c34e7=_0x1c34e7-0x0;var _0x378cb1=_0x1315[_0x1c34e7];return _0x378cb1;};'use strict';var Sequelize=require(_0x5131('0x0'));module[_0x5131('0x1')]={'name':{'type':Sequelize[_0x5131('0x2')],'unique':_0x5131('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x5131('0x2')]},'notes':{'type':Sequelize[_0x5131('0x4')]},'preproduction':{'type':Sequelize[_0x5131('0x5')](_0x5131('0x6')),'get':function(){if(this[_0x5131('0x7')]('preproduction')){return this[_0x5131('0x7')](_0x5131('0x8'))['toString'](_0x5131('0x9'));}}},'production':{'type':Sequelize[_0x5131('0x5')](_0x5131('0x6')),'get':function(){if(this[_0x5131('0x7')](_0x5131('0xa'))){return this[_0x5131('0x7')](_0x5131('0xa'))[_0x5131('0xb')]('utf8');}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x5131('0xc')]}};