4e615ac433de3800e9c98d1ed36a4de0c408efbc
[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 _0x9586=['long','TIMESTAMP','sequelize','exports','getDataValue','INTEGER','STRING','BLOB'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x9586,0x1e2));var _0x6958=function(_0x24e599,_0x42b049){_0x24e599=_0x24e599-0x0;var _0x40ac39=_0x9586[_0x24e599];return _0x40ac39;};'use strict';var Sequelize=require(_0x6958('0x0'));module[_0x6958('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x39ffe7){return this[_0x6958('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x6958('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x6958('0x5')](_0x6958('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x6958('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x6958('0x7'),'allowNull':![]}};