Built motion from commit ddca4d0d.|2.5.47
[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 _0x3fc5=['VIRTUAL','getDataValue','INTEGER','STRING','long','TIMESTAMP','literal','exports'];(function(_0x296809,_0x1c9665){var _0x18c0d3=function(_0x249156){while(--_0x249156){_0x296809['push'](_0x296809['shift']());}};_0x18c0d3(++_0x1c9665);}(_0x3fc5,0xd7));var _0x53fc=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0x3fc5[_0x618414];return _0x21c19a;};'use strict';var Sequelize=require('sequelize');module[_0x53fc('0x0')]={'name':{'type':Sequelize[_0x53fc('0x1')],'get':function(_0x4183b7){return this[_0x53fc('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x53fc('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x53fc('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x53fc('0x4')],'defaultValue':''},'stamp':{'type':_0x53fc('0x6'),'defaultValue':Sequelize[_0x53fc('0x7')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};