29f60131efdc9373976199b5fce2f3906edb17bc
[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 _0x586c=['VIRTUAL','getDataValue','STRING','sequelize'];(function(_0xdab0d0,_0xed12c9){var _0x1c346c=function(_0x30bfe9){while(--_0x30bfe9){_0xdab0d0['push'](_0xdab0d0['shift']());}};_0x1c346c(++_0xed12c9);}(_0x586c,0x1c3));var _0xc586=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x586c[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0xc586('0x0'));module['exports']={'name':{'type':Sequelize[_0xc586('0x1')],'get':function(_0x2bfb48){return this[_0xc586('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'recording':{'type':Sequelize['BLOB']('long'),'defaultValue':null},'flag':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xc586('0x3')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','allowNull':![]}};