1499249d94652b7cd1a7704ad521e5eb0698f495
[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 _0x033b=['INTEGER','STRING','BLOB','long','literal','sequelize','VIRTUAL'];(function(_0x3be5d9,_0x20c94d){var _0x3d19b0=function(_0x4f5976){while(--_0x4f5976){_0x3be5d9['push'](_0x3be5d9['shift']());}};_0x3d19b0(++_0x20c94d);}(_0x033b,0xe5));var _0xb033=function(_0x5784ca,_0x1e6f0a){_0x5784ca=_0x5784ca-0x0;var _0x6904a5=_0x033b[_0x5784ca];return _0x6904a5;};'use strict';var Sequelize=require(_0xb033('0x0'));module['exports']={'name':{'type':Sequelize[_0xb033('0x1')],'get':function(_0x5a0d01){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0xb033('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0xb033('0x4')](_0xb033('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0xb033('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xb033('0x6')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};