044a6e07d69fa91c1868daab813c3280bf42255e
[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 _0x75d9=['CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','VIRTUAL','getDataValue','STRING','BLOB','long','TIMESTAMP'];(function(_0x2f64b4,_0x3262e6){var _0x3562c0=function(_0x216fc5){while(--_0x216fc5){_0x2f64b4['push'](_0x2f64b4['shift']());}};_0x3562c0(++_0x3262e6);}(_0x75d9,0xa1));var _0x975d=function(_0x2c1aa8,_0x3e0609){_0x2c1aa8=_0x2c1aa8-0x0;var _0x4019f5=_0x75d9[_0x2c1aa8];return _0x4019f5;};'use strict';var Sequelize=require(_0x975d('0x0'));module['exports']={'name':{'type':Sequelize[_0x975d('0x1')],'get':function(_0x284eb8){return this[_0x975d('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x975d('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x975d('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0x975d('0x3')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x975d('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x975d('0x4')](_0x975d('0x5')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x975d('0x3')],'defaultValue':''},'stamp':{'type':_0x975d('0x6'),'defaultValue':Sequelize['literal'](_0x975d('0x7'))}};