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 _0xc77f=['utf8','production','DATE','sequelize','name','STRING','BLOB','long','getDataValue','toString'];(function(_0x457a12,_0x866982){var _0x470fad=function(_0x2252f5){while(--_0x2252f5){_0x457a12['push'](_0x457a12['shift']());}};_0x470fad(++_0x866982);}(_0xc77f,0x1d9));var _0xfc77=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0xc77f[_0x122096];return _0x3d1966;};'use strict';var Sequelize=require(_0xfc77('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xfc77('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0xfc77('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xfc77('0x3')](_0xfc77('0x4')),'get':function(){if(this[_0xfc77('0x5')]('preproduction')){return this[_0xfc77('0x5')]('preproduction')[_0xfc77('0x6')](_0xfc77('0x7'));}}},'production':{'type':Sequelize['BLOB'](_0xfc77('0x4')),'get':function(){if(this[_0xfc77('0x5')](_0xfc77('0x8'))){return this[_0xfc77('0x5')](_0xfc77('0x8'))['toString'](_0xfc77('0x7'));}}},'savedAt':{'type':Sequelize[_0xfc77('0x9')]},'publishedAt':{'type':Sequelize['DATE']}};