7de1e1d98c24666cad798cb762686ff3eaedf2e8
[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 _0xdea2=['exports','VIRTUAL','getDataValue','STRING','BLOB','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP'];(function(_0x20f317,_0x5bf689){var _0x3fbaa6=function(_0xe9ce){while(--_0xe9ce){_0x20f317['push'](_0x20f317['shift']());}};_0x3fbaa6(++_0x5bf689);}(_0xdea2,0x1b0));var _0x2dea=function(_0x5bd015,_0x4610d8){_0x5bd015=_0x5bd015-0x0;var _0x19356c=_0xdea2[_0x5bd015];return _0x19356c;};'use strict';var Sequelize=require('sequelize');module[_0x2dea('0x0')]={'name':{'type':Sequelize[_0x2dea('0x1')],'get':function(_0x45cdf7){return this[_0x2dea('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x2dea('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x2dea('0x3')],'defaultValue':''},'stamp':{'type':_0x2dea('0x5'),'defaultValue':Sequelize[_0x2dea('0x6')](_0x2dea('0x7'))}};