1592a1400d81a6aff08ecfc8eb35517dc6844fe7
[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 _0xe7c5=['getDataValue','STRING','BLOB','long','sequelize','exports','VIRTUAL'];(function(_0x519c82,_0x1d19b2){var _0x2da612=function(_0x47bc80){while(--_0x47bc80){_0x519c82['push'](_0x519c82['shift']());}};_0x2da612(++_0x1d19b2);}(_0xe7c5,0x1af));var _0x5e7c=function(_0x518d5e,_0x17b17d){_0x518d5e=_0x518d5e-0x0;var _0x146f16=_0xe7c5[_0x518d5e];return _0x146f16;};'use strict';var Sequelize=require(_0x5e7c('0x0'));module[_0x5e7c('0x1')]={'name':{'type':Sequelize[_0x5e7c('0x2')],'get':function(_0x50858e){return this[_0x5e7c('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x5e7c('0x5')](_0x5e7c('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x5e7c('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','allowNull':![]}};