7e5f3b60f81a1584de429c04fb96f870d6309aef
[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 _0x405e=['VIRTUAL','getDataValue','STRING','BLOB','long','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','exports'];(function(_0x565ed7,_0x398228){var _0x183ad7=function(_0x5a43d7){while(--_0x5a43d7){_0x565ed7['push'](_0x565ed7['shift']());}};_0x183ad7(++_0x398228);}(_0x405e,0x167));var _0xe405=function(_0x5d122e,_0x1eb6d3){_0x5d122e=_0x5d122e-0x0;var _0x50abcd=_0x405e[_0x5d122e];return _0x50abcd;};'use strict';var Sequelize=require('sequelize');module[_0xe405('0x0')]={'name':{'type':Sequelize[_0xe405('0x1')],'get':function(_0x1fcdde){return this[_0xe405('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0xe405('0x4')](_0xe405('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xe405('0x3')],'defaultValue':''},'stamp':{'type':_0xe405('0x6'),'defaultValue':Sequelize[_0xe405('0x7')](_0xe405('0x8'))}};