20fc4fdd11321dcc0c52c5c3c208f5b22c54b9c7
[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 _0x047d=['getDataValue','INTEGER','STRING','long','TIMESTAMP','literal','exports','VIRTUAL'];(function(_0x24aba8,_0xdf50f5){var _0x4f53b0=function(_0x1e54e1){while(--_0x1e54e1){_0x24aba8['push'](_0x24aba8['shift']());}};_0x4f53b0(++_0xdf50f5);}(_0x047d,0x19e));var _0xd047=function(_0xefc558,_0x17f4ab){_0xefc558=_0xefc558-0x0;var _0x1efb41=_0x047d[_0xefc558];return _0x1efb41;};'use strict';var Sequelize=require('sequelize');module[_0xd047('0x0')]={'name':{'type':Sequelize[_0xd047('0x1')],'get':function(_0x52d6c7){return this[_0xd047('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xd047('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0xd047('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0xd047('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0xd047('0x6'),'defaultValue':Sequelize[_0xd047('0x7')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};