01a6b3c1184b5f74d78d09c5369c6b892367a915
[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 _0x5f02=['VIRTUAL','STRING','long','TIMESTAMP','literal','exports'];(function(_0x34843e,_0x4c4224){var _0x598f7f=function(_0x12a44c){while(--_0x12a44c){_0x34843e['push'](_0x34843e['shift']());}};_0x598f7f(++_0x4c4224);}(_0x5f02,0x1e5));var _0x25f0=function(_0x290531,_0x332751){_0x290531=_0x290531-0x0;var _0x18bee4=_0x5f02[_0x290531];return _0x18bee4;};'use strict';var Sequelize=require('sequelize');module[_0x25f0('0x0')]={'name':{'type':Sequelize[_0x25f0('0x1')],'get':function(_0x4a7031){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'callerid':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x25f0('0x2')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x25f0('0x3')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x25f0('0x4'),'defaultValue':Sequelize[_0x25f0('0x5')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};