956b06d665c4f253f4af910e06d2c255b53dc4e9
[motion2.git] / server / api / voiceMailMessage / voiceMailMessage.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9269=['VIRTUAL','getDataValue','STRING','BLOB','long','TIMESTAMP','literal','sequelize','exports'];(function(_0x1e1800,_0x481d01){var _0x11dcea=function(_0x2d0436){while(--_0x2d0436){_0x1e1800['push'](_0x1e1800['shift']());}};_0x11dcea(++_0x481d01);}(_0x9269,0x1c9));var _0x9926=function(_0x40750d,_0x593094){_0x40750d=_0x40750d-0x0;var _0x42d026=_0x9269[_0x40750d];return _0x42d026;};'use strict';var Sequelize=require(_0x9926('0x0'));module[_0x9926('0x1')]={'name':{'type':Sequelize[_0x9926('0x2')],'get':function(_0x32cfc0){return this[_0x9926('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x9926('0x5')](_0x9926('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x9926('0x4')],'defaultValue':''},'stamp':{'type':_0x9926('0x7'),'defaultValue':Sequelize[_0x9926('0x8')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};