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 _0x4ba3=['toString','DATE','sequelize','exports','STRING','TEXT','BLOB','long','getDataValue','utf8','production'];(function(_0x340756,_0xad31ae){var _0x2ef745=function(_0x59ffde){while(--_0x59ffde){_0x340756['push'](_0x340756['shift']());}};_0x2ef745(++_0xad31ae);}(_0x4ba3,0xe9));var _0x34ba=function(_0x17d7e,_0x52bcfb){_0x17d7e=_0x17d7e-0x0;var _0x22dbca=_0x4ba3[_0x17d7e];return _0x22dbca;};'use strict';var Sequelize=require(_0x34ba('0x0'));module[_0x34ba('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x34ba('0x2')]},'notes':{'type':Sequelize[_0x34ba('0x3')]},'preproduction':{'type':Sequelize[_0x34ba('0x4')](_0x34ba('0x5')),'get':function(){if(this['getDataValue']('preproduction')){return this[_0x34ba('0x6')]('preproduction')['toString'](_0x34ba('0x7'));}}},'production':{'type':Sequelize[_0x34ba('0x4')](_0x34ba('0x5')),'get':function(){if(this[_0x34ba('0x6')](_0x34ba('0x8'))){return this[_0x34ba('0x6')](_0x34ba('0x8'))[_0x34ba('0x9')]('utf8');}}},'savedAt':{'type':Sequelize[_0x34ba('0xa')]},'publishedAt':{'type':Sequelize[_0x34ba('0xa')]}};