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 _0x7374=['name','BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING'];(function(_0x5ab2dc,_0x5ed057){var _0x278342=function(_0x5303df){while(--_0x5303df){_0x5ab2dc['push'](_0x5ab2dc['shift']());}};_0x278342(++_0x5ed057);}(_0x7374,0x1b9));var _0x4737=function(_0x2eef52,_0x1130c1){_0x2eef52=_0x2eef52-0x0;var _0x327d8a=_0x7374[_0x2eef52];return _0x327d8a;};'use strict';var Sequelize=require(_0x4737('0x0'));module[_0x4737('0x1')]={'name':{'type':Sequelize[_0x4737('0x2')],'unique':_0x4737('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x4737('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x4737('0x4')](_0x4737('0x5')),'get':function(){if(this[_0x4737('0x6')](_0x4737('0x7'))){return this['getDataValue']('preproduction')[_0x4737('0x8')](_0x4737('0x9'));}}},'production':{'type':Sequelize[_0x4737('0x4')](_0x4737('0x5')),'get':function(){if(this['getDataValue'](_0x4737('0xa'))){return this[_0x4737('0x6')](_0x4737('0xa'))[_0x4737('0x8')](_0x4737('0x9'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x4737('0xb')]}};