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 _0x2ca2=['long','preproduction','getDataValue','toString','BLOB','production','utf8','DATE','sequelize','exports','STRING','name'];(function(_0x468383,_0x15c0f1){var _0x9dc1c4=function(_0x203a23){while(--_0x203a23){_0x468383['push'](_0x468383['shift']());}};_0x9dc1c4(++_0x15c0f1);}(_0x2ca2,0x11c));var _0x22ca=function(_0x3c4313,_0x4c508f){_0x3c4313=_0x3c4313-0x0;var _0x177120=_0x2ca2[_0x3c4313];return _0x177120;};'use strict';var Sequelize=require(_0x22ca('0x0'));module[_0x22ca('0x1')]={'name':{'type':Sequelize[_0x22ca('0x2')],'unique':_0x22ca('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x22ca('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB'](_0x22ca('0x4')),'get':function(){if(this['getDataValue'](_0x22ca('0x5'))){return this[_0x22ca('0x6')](_0x22ca('0x5'))[_0x22ca('0x7')]('utf8');}}},'production':{'type':Sequelize[_0x22ca('0x8')]('long'),'get':function(){if(this[_0x22ca('0x6')]('production')){return this[_0x22ca('0x6')](_0x22ca('0x9'))[_0x22ca('0x7')](_0x22ca('0xa'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x22ca('0xb')]}};