45cfcc55da73b7c1885b8386790e17a51f01cadc
[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 _0x072d=['STRING','BLOB','long','TIMESTAMP','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','getDataValue'];(function(_0x3e2f58,_0xff6a3f){var _0x5662f3=function(_0x2cf254){while(--_0x2cf254){_0x3e2f58['push'](_0x3e2f58['shift']());}};_0x5662f3(++_0xff6a3f);}(_0x072d,0x11f));var _0xd072=function(_0x47f276,_0x170ca1){_0x47f276=_0x47f276-0x0;var _0x132a21=_0x072d[_0x47f276];return _0x132a21;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x19a5f7){return this[_0xd072('0x0')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'origtime':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'duration':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'recording':{'type':Sequelize[_0xd072('0x2')](_0xd072('0x3')),'defaultValue':null},'flag':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xd072('0x1')],'defaultValue':''},'stamp':{'type':_0xd072('0x4'),'defaultValue':Sequelize['literal'](_0xd072('0x5'))}};