Built motion from commit 753c950e.|2.5.42
[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 _0xcbe2=['TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','STRING','BLOB','long'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xcbe2,0xd9));var _0x2cbe=function(_0x39ba9d,_0x491034){_0x39ba9d=_0x39ba9d-0x0;var _0x5e80ea=_0xcbe2[_0x39ba9d];return _0x5e80ea;};'use strict';var Sequelize=require(_0x2cbe('0x0'));module[_0x2cbe('0x1')]={'name':{'type':Sequelize[_0x2cbe('0x2')],'get':function(_0x2dba65){return this[_0x2cbe('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x2cbe('0x5')](_0x2cbe('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x2cbe('0x4')],'defaultValue':''},'stamp':{'type':_0x2cbe('0x7'),'defaultValue':Sequelize['literal']('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};