Built motion from commit 5b761a7b.|2.5.36
[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 _0xd1c2=['BLOB','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0xd1c2,0xe2));var _0x2d1c=function(_0x334fe5,_0x128162){_0x334fe5=_0x334fe5-0x0;var _0x3ed3d4=_0xd1c2[_0x334fe5];return _0x3ed3d4;};'use strict';var Sequelize=require(_0x2d1c('0x0'));module[_0x2d1c('0x1')]={'name':{'type':Sequelize[_0x2d1c('0x2')],'get':function(_0x5bb59b){return this[_0x2d1c('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x2d1c('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'recording':{'type':Sequelize[_0x2d1c('0x6')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x2d1c('0x5')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize['literal'](_0x2d1c('0x7'))}};