f838e47289dbef22246fe9b8a0bc253b546cdc55
[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 _0x2eda=['long','TIMESTAMP','VIRTUAL','getDataValue','INTEGER','STRING','BLOB'];(function(_0x221c25,_0x1f2b21){var _0x511e50=function(_0x5085c1){while(--_0x5085c1){_0x221c25['push'](_0x221c25['shift']());}};_0x511e50(++_0x1f2b21);}(_0x2eda,0x1ad));var _0xa2ed=function(_0x8ce4bd,_0x5f0309){_0x8ce4bd=_0x8ce4bd-0x0;var _0x4247d2=_0x2eda[_0x8ce4bd];return _0x4247d2;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xa2ed('0x0')],'get':function(_0x24770c){return this[_0xa2ed('0x1')]('id');}},'msgnum':{'type':Sequelize[_0xa2ed('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xa2ed('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0xa2ed('0x4')](_0xa2ed('0x5')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0xa2ed('0x6'),'allowNull':![]}};