Built motion from commit 06eb8eb0.|2.6.31
[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 _0xbdf3=['STRING','BLOB','long','TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER'];(function(_0x39a7b3,_0x9c5210){var _0x1e25e2=function(_0x530d86){while(--_0x530d86){_0x39a7b3['push'](_0x39a7b3['shift']());}};_0x1e25e2(++_0x9c5210);}(_0xbdf3,0x1cf));var _0x3bdf=function(_0x5d7227,_0x12aebe){_0x5d7227=_0x5d7227-0x0;var _0x15ac55=_0xbdf3[_0x5d7227];return _0x15ac55;};'use strict';var Sequelize=require(_0x3bdf('0x0'));module[_0x3bdf('0x1')]={'name':{'type':Sequelize[_0x3bdf('0x2')],'get':function(_0x531ca1){return this[_0x3bdf('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x3bdf('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x3bdf('0x6')](_0x3bdf('0x7')),'defaultValue':null},'flag':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x3bdf('0x5')],'defaultValue':''},'stamp':{'type':_0x3bdf('0x8'),'defaultValue':Sequelize['literal']('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};