9b45fe50886dc518cddfc209dcb377e550ea41b1
[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 _0x8e26=['getDataValue','STRING','BLOB','TIMESTAMP','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','VIRTUAL'];(function(_0x3d1b85,_0x10e828){var _0x31b1aa=function(_0xe883ca){while(--_0xe883ca){_0x3d1b85['push'](_0x3d1b85['shift']());}};_0x31b1aa(++_0x10e828);}(_0x8e26,0x1b7));var _0x68e2=function(_0x4ab629,_0x42a00d){_0x4ab629=_0x4ab629-0x0;var _0x4a5b65=_0x8e26[_0x4ab629];return _0x4a5b65;};'use strict';var Sequelize=require(_0x68e2('0x0'));module['exports']={'name':{'type':Sequelize[_0x68e2('0x1')],'get':function(_0x11faac){return this[_0x68e2('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x68e2('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x68e2('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x68e2('0x5'),'defaultValue':Sequelize['literal'](_0x68e2('0x6'))}};