9bf46d980d52764c86a6602919abc42013e0da54
[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 _0xc51e=['BLOB','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','STRING'];(function(_0x58b8db,_0x4e4c71){var _0x53aea6=function(_0x2c5d9b){while(--_0x2c5d9b){_0x58b8db['push'](_0x58b8db['shift']());}};_0x53aea6(++_0x4e4c71);}(_0xc51e,0x1b8));var _0xec51=function(_0x5cb7dd,_0x290cfb){_0x5cb7dd=_0x5cb7dd-0x0;var _0x5ee23e=_0xc51e[_0x5cb7dd];return _0x5ee23e;};'use strict';var Sequelize=require(_0xec51('0x0'));module[_0xec51('0x1')]={'name':{'type':Sequelize[_0xec51('0x2')],'get':function(_0x11c430){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0xec51('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xec51('0x3')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize['literal'](_0xec51('0x5'))}};