505a2f29afbcc556073511e5d9991bb7c2b5aa34
[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 _0x5f7a=['BLOB','long','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','getDataValue','STRING'];(function(_0x1ac120,_0x3e7e45){var _0x19b703=function(_0x5f32cb){while(--_0x5f32cb){_0x1ac120['push'](_0x1ac120['shift']());}};_0x19b703(++_0x3e7e45);}(_0x5f7a,0x1a1));var _0xa5f7=function(_0x334841,_0x2bbc4c){_0x334841=_0x334841-0x0;var _0x5beb4b=_0x5f7a[_0x334841];return _0x5beb4b;};'use strict';var Sequelize=require(_0xa5f7('0x0'));module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x240e47){return this[_0xa5f7('0x1')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'callerid':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'origtime':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'duration':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xa5f7('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0xa5f7('0x3')](_0xa5f7('0x4')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xa5f7('0x5')](_0xa5f7('0x6'))}};