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 _0x1806=['BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','STRING','name'];(function(_0x532832,_0x549bdd){var _0x125dcd=function(_0x5a4d2a){while(--_0x5a4d2a){_0x532832['push'](_0x532832['shift']());}};_0x125dcd(++_0x549bdd);}(_0x1806,0x94));var _0x6180=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x1806[_0x1ac595];return _0x455fff;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x6180('0x0')],'unique':_0x6180('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x6180('0x0')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x6180('0x2')](_0x6180('0x3')),'get':function(){if(this[_0x6180('0x4')](_0x6180('0x5'))){return this[_0x6180('0x4')]('preproduction')[_0x6180('0x6')](_0x6180('0x7'));}}},'production':{'type':Sequelize['BLOB'](_0x6180('0x3')),'get':function(){if(this['getDataValue'](_0x6180('0x8'))){return this[_0x6180('0x4')](_0x6180('0x8'))[_0x6180('0x6')](_0x6180('0x7'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x6180('0x9')]}};