39988d4cb9ce82e809c261543aedef5baba2644d
[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 _0xfa6c=['getDataValue','STRING','BLOB','long','TIMESTAMP','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','VIRTUAL'];(function(_0x5d643e,_0x335374){var _0x1f5999=function(_0x34f803){while(--_0x34f803){_0x5d643e['push'](_0x5d643e['shift']());}};_0x1f5999(++_0x335374);}(_0xfa6c,0xae));var _0xcfa6=function(_0x4aba8d,_0xa6b131){_0x4aba8d=_0x4aba8d-0x0;var _0x257230=_0xfa6c[_0x4aba8d];return _0x257230;};'use strict';var Sequelize=require(_0xcfa6('0x0'));module['exports']={'name':{'type':Sequelize[_0xcfa6('0x1')],'get':function(_0x113d9e){return this[_0xcfa6('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0xcfa6('0x4')](_0xcfa6('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xcfa6('0x3')],'defaultValue':''},'stamp':{'type':_0xcfa6('0x6'),'defaultValue':Sequelize['literal'](_0xcfa6('0x7'))}};