f486d0f4337e264258adba671370cf782da07f73
[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 _0x2502=['INTEGER','STRING','BLOB','TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue'];(function(_0x1fcbe2,_0x2b5199){var _0x2d22ef=function(_0x591e27){while(--_0x591e27){_0x1fcbe2['push'](_0x1fcbe2['shift']());}};_0x2d22ef(++_0x2b5199);}(_0x2502,0x1f4));var _0x2250=function(_0x178171,_0x2b00ba){_0x178171=_0x178171-0x0;var _0x3ae949=_0x2502[_0x178171];return _0x3ae949;};'use strict';var Sequelize=require(_0x2250('0x0'));module[_0x2250('0x1')]={'name':{'type':Sequelize[_0x2250('0x2')],'get':function(_0x51e2c0){return this[_0x2250('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x2250('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x2250('0x6')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x2250('0x5')],'defaultValue':''},'stamp':{'type':_0x2250('0x7'),'allowNull':![]}};