Built motion from commit da617fac.|2.6.6
[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 _0x6ae3=['VIRTUAL','getDataValue','STRING','long','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports'];(function(_0x25f04b,_0x33a755){var _0x2cd5db=function(_0x26bea9){while(--_0x26bea9){_0x25f04b['push'](_0x25f04b['shift']());}};_0x2cd5db(++_0x33a755);}(_0x6ae3,0x19e));var _0x36ae=function(_0x148307,_0x517875){_0x148307=_0x148307-0x0;var _0x92d820=_0x6ae3[_0x148307];return _0x92d820;};'use strict';var Sequelize=require(_0x36ae('0x0'));module[_0x36ae('0x1')]={'name':{'type':Sequelize[_0x36ae('0x2')],'get':function(_0x2347aa){return this[_0x36ae('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x36ae('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x36ae('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x36ae('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x36ae('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x36ae('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x36ae('0x4')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x36ae('0x6')](_0x36ae('0x7'))}};