a5ab9f86dc7206c9c530d40bf81ff74575cb0dd2
[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 _0x5df5=['STRING','BLOB','long','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','getDataValue'];(function(_0x166464,_0x5a1076){var _0x276d05=function(_0x584eca){while(--_0x584eca){_0x166464['push'](_0x166464['shift']());}};_0x276d05(++_0x5a1076);}(_0x5df5,0x194));var _0x55df=function(_0x5eda00,_0x3f5085){_0x5eda00=_0x5eda00-0x0;var _0x5a2c0b=_0x5df5[_0x5eda00];return _0x5a2c0b;};'use strict';var Sequelize=require(_0x55df('0x0'));module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x1eb520){return this[_0x55df('0x1')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'callerid':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'origtime':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'duration':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'recording':{'type':Sequelize[_0x55df('0x3')](_0x55df('0x4')),'defaultValue':null},'flag':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x55df('0x2')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x55df('0x5')](_0x55df('0x6'))}};