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 _0xece1=['utf8','DATE','sequelize','name','STRING','TEXT','BLOB','long','getDataValue','preproduction','toString','production'];(function(_0x2823c6,_0x357e98){var _0xe3ea8=function(_0x25a4be){while(--_0x25a4be){_0x2823c6['push'](_0x2823c6['shift']());}};_0xe3ea8(++_0x357e98);}(_0xece1,0xda));var _0x1ece=function(_0x2a3fe6,_0x7d2f2a){_0x2a3fe6=_0x2a3fe6-0x0;var _0x8712ff=_0xece1[_0x2a3fe6];return _0x8712ff;};'use strict';var Sequelize=require(_0x1ece('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x1ece('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x1ece('0x2')]},'notes':{'type':Sequelize[_0x1ece('0x3')]},'preproduction':{'type':Sequelize[_0x1ece('0x4')](_0x1ece('0x5')),'get':function(){if(this[_0x1ece('0x6')]('preproduction')){return this[_0x1ece('0x6')](_0x1ece('0x7'))[_0x1ece('0x8')]('utf8');}}},'production':{'type':Sequelize[_0x1ece('0x4')](_0x1ece('0x5')),'get':function(){if(this[_0x1ece('0x6')](_0x1ece('0x9'))){return this[_0x1ece('0x6')]('production')['toString'](_0x1ece('0xa'));}}},'savedAt':{'type':Sequelize[_0x1ece('0xb')]},'publishedAt':{'type':Sequelize['DATE']}};