69731df935a67d2cce7afdf67583fad4c0035898
[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 _0x7054=['TIMESTAMP','literal','sequelize','exports','getDataValue','INTEGER','STRING','BLOB'];(function(_0x11e05d,_0x3a4491){var _0x335588=function(_0x35ec3f){while(--_0x35ec3f){_0x11e05d['push'](_0x11e05d['shift']());}};_0x335588(++_0x3a4491);}(_0x7054,0xca));var _0x4705=function(_0x342874,_0xae5304){_0x342874=_0x342874-0x0;var _0x503c39=_0x7054[_0x342874];return _0x503c39;};'use strict';var Sequelize=require(_0x4705('0x0'));module[_0x4705('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x2d6ca){return this[_0x4705('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x4705('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x4705('0x4')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x4705('0x4')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x4705('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x4705('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x4705('0x5')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x4705('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x4705('0x6'),'defaultValue':Sequelize[_0x4705('0x7')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};