c0f5794817bef0d9e018a68346ab8512a084fd92
[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 _0xf357=['exports','getDataValue','INTEGER','STRING','BLOB','long'];(function(_0x59d60b,_0x5cd6d3){var _0x304a0e=function(_0x3c06bc){while(--_0x3c06bc){_0x59d60b['push'](_0x59d60b['shift']());}};_0x304a0e(++_0x5cd6d3);}(_0xf357,0x1c2));var _0x7f35=function(_0x426776,_0x3abffc){_0x426776=_0x426776-0x0;var _0x2641d8=_0xf357[_0x426776];return _0x2641d8;};'use strict';var Sequelize=require('sequelize');module[_0x7f35('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x390301){return this[_0x7f35('0x1')]('id');}},'msgnum':{'type':Sequelize[_0x7f35('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x7f35('0x4')](_0x7f35('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x7f35('0x3')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','allowNull':![]}};