Built motion from commit 3c2ce842.|2.6.31
[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 _0x622a=['literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','long','TIMESTAMP'];(function(_0x870a2a,_0x4def3b){var _0x487a29=function(_0x11366f){while(--_0x11366f){_0x870a2a['push'](_0x870a2a['shift']());}};_0x487a29(++_0x4def3b);}(_0x622a,0x1d8));var _0xa622=function(_0x2147fa,_0x2df287){_0x2147fa=_0x2147fa-0x0;var _0xfdb821=_0x622a[_0x2147fa];return _0xfdb821;};'use strict';var Sequelize=require(_0xa622('0x0'));module[_0xa622('0x1')]={'name':{'type':Sequelize[_0xa622('0x2')],'get':function(_0xdae7ed){return this[_0xa622('0x3')]('id');}},'msgnum':{'type':Sequelize[_0xa622('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0xa622('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xa622('0x5')],'defaultValue':''},'stamp':{'type':_0xa622('0x7'),'defaultValue':Sequelize[_0xa622('0x8')](_0xa622('0x9'))}};