269c41fe90593a545f978f8b97874577e5d765fd
[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 _0x1519=['TIMESTAMP','literal','VIRTUAL','getDataValue','INTEGER','STRING','BLOB'];(function(_0x4d18c9,_0x585e12){var _0x676cf6=function(_0x33c949){while(--_0x33c949){_0x4d18c9['push'](_0x4d18c9['shift']());}};_0x676cf6(++_0x585e12);}(_0x1519,0x95));var _0x9151=function(_0x5cce42,_0x509649){_0x5cce42=_0x5cce42-0x0;var _0x40ff56=_0x1519[_0x5cce42];return _0x40ff56;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x9151('0x0')],'get':function(_0x3167b3){return this[_0x9151('0x1')]('id');}},'msgnum':{'type':Sequelize[_0x9151('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x9151('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x9151('0x3')],'defaultValue':''},'stamp':{'type':_0x9151('0x5'),'defaultValue':Sequelize[_0x9151('0x6')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};