Built motion from commit 7ab0e143.|2.5.49
[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 _0x5a60=['VIRTUAL','getDataValue','STRING','BLOB','long','TIMESTAMP','literal','sequelize','exports'];(function(_0x599e0a,_0x3162d9){var _0x3ac3e0=function(_0x4aad77){while(--_0x4aad77){_0x599e0a['push'](_0x599e0a['shift']());}};_0x3ac3e0(++_0x3162d9);}(_0x5a60,0x103));var _0x05a6=function(_0x99219c,_0x5cd76e){_0x99219c=_0x99219c-0x0;var _0x44ea42=_0x5a60[_0x99219c];return _0x44ea42;};'use strict';var Sequelize=require(_0x05a6('0x0'));module[_0x05a6('0x1')]={'name':{'type':Sequelize[_0x05a6('0x2')],'get':function(_0x4b112f){return this[_0x05a6('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x05a6('0x5')](_0x05a6('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x05a6('0x4')],'defaultValue':''},'stamp':{'type':_0x05a6('0x7'),'defaultValue':Sequelize[_0x05a6('0x8')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};