Built motion from commit 0900f080.|2.5.45
[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 _0x0597=['TIMESTAMP','literal','exports','getDataValue','STRING','long'];(function(_0x21d5db,_0x184145){var _0x48556c=function(_0x5a0534){while(--_0x5a0534){_0x21d5db['push'](_0x21d5db['shift']());}};_0x48556c(++_0x184145);}(_0x0597,0x8c));var _0x7059=function(_0x282913,_0x19deb2){_0x282913=_0x282913-0x0;var _0x44db50=_0x0597[_0x282913];return _0x44db50;};'use strict';var Sequelize=require('sequelize');module[_0x7059('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x20e337){return this[_0x7059('0x1')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'context':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x7059('0x2')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x7059('0x3')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x7059('0x4'),'defaultValue':Sequelize[_0x7059('0x5')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};