84c5ad287368a6e0ac5cb2f9547e6686fe130fa8
[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 _0x775d=['BLOB','long','sequelize','getDataValue','INTEGER','STRING'];(function(_0x253141,_0x396c1e){var _0x4472f3=function(_0x28b591){while(--_0x28b591){_0x253141['push'](_0x253141['shift']());}};_0x4472f3(++_0x396c1e);}(_0x775d,0xce));var _0xd775=function(_0x3e1d90,_0x37fb80){_0x3e1d90=_0x3e1d90-0x0;var _0x1a59dd=_0x775d[_0x3e1d90];return _0x1a59dd;};'use strict';var Sequelize=require(_0xd775('0x0'));module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x3478a1){return this[_0xd775('0x1')]('id');}},'msgnum':{'type':Sequelize[_0xd775('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0xd775('0x4')](_0xd775('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xd775('0x3')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','allowNull':![]}};