Built motion from commit 9d0783e6.|2.6.13
[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 _0xb98c=['CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long'];(function(_0x5474b4,_0x5027aa){var _0x33a0b5=function(_0x41fd6b){while(--_0x41fd6b){_0x5474b4['push'](_0x5474b4['shift']());}};_0x33a0b5(++_0x5027aa);}(_0xb98c,0x89));var _0xcb98=function(_0x3899d1,_0x4aa04c){_0x3899d1=_0x3899d1-0x0;var _0xeb4a7d=_0xb98c[_0x3899d1];return _0xeb4a7d;};'use strict';var Sequelize=require('sequelize');module[_0xcb98('0x0')]={'name':{'type':Sequelize[_0xcb98('0x1')],'get':function(_0x5e2c2c){return this[_0xcb98('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xcb98('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0xcb98('0x5')](_0xcb98('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xcb98('0x4')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize['literal'](_0xcb98('0x7'))}};