df4a30ef04c2d9170adb948e8262f9d4ddfdcf97
[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 _0x9e81=['exports','getDataValue','INTEGER','STRING','BLOB','TIMESTAMP'];(function(_0x1c3f33,_0x1e1568){var _0x53b1e0=function(_0x4f57ed){while(--_0x4f57ed){_0x1c3f33['push'](_0x1c3f33['shift']());}};_0x53b1e0(++_0x1e1568);}(_0x9e81,0xba));var _0x19e8=function(_0xfc8faf,_0x86244a){_0xfc8faf=_0xfc8faf-0x0;var _0x48c40b=_0x9e81[_0xfc8faf];return _0x48c40b;};'use strict';var Sequelize=require('sequelize');module[_0x19e8('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x42d455){return this[_0x19e8('0x1')]('id');}},'msgnum':{'type':Sequelize[_0x19e8('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x19e8('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x19e8('0x3')],'defaultValue':''},'stamp':{'type':_0x19e8('0x5'),'allowNull':![]}};