087823e65d3445c003636f1869752e9a47c8ad93
[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 _0xd82b=['INTEGER','STRING','BLOB','long','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','VIRTUAL','getDataValue'];(function(_0x511a19,_0x417e36){var _0x499aa6=function(_0x270874){while(--_0x270874){_0x511a19['push'](_0x511a19['shift']());}};_0x499aa6(++_0x417e36);}(_0xd82b,0x1e7));var _0xbd82=function(_0x11e4c7,_0x5f15c5){_0x11e4c7=_0x11e4c7-0x0;var _0x42c19a=_0xd82b[_0x11e4c7];return _0x42c19a;};'use strict';var Sequelize=require(_0xbd82('0x0'));module['exports']={'name':{'type':Sequelize[_0xbd82('0x1')],'get':function(_0x452eca){return this[_0xbd82('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xbd82('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0xbd82('0x5')](_0xbd82('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xbd82('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0xbd82('0x7'),'defaultValue':Sequelize[_0xbd82('0x8')](_0xbd82('0x9'))}};