ba8b99f5c30f028813def262b163b3d70a994185
[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 _0xdc45=['CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','INTEGER','STRING','BLOB'];(function(_0x40e91d,_0x1f5d73){var _0x1bd593=function(_0x135dce){while(--_0x135dce){_0x40e91d['push'](_0x40e91d['shift']());}};_0x1bd593(++_0x1f5d73);}(_0xdc45,0xf1));var _0x5dc4=function(_0x25a1b3,_0x2986bf){_0x25a1b3=_0x25a1b3-0x0;var _0x45e4f7=_0xdc45[_0x25a1b3];return _0x45e4f7;};'use strict';var Sequelize=require(_0x5dc4('0x0'));module[_0x5dc4('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x18ce29){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x5dc4('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x5dc4('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x5dc4('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize['literal'](_0x5dc4('0x5'))}};