Built motion from commit c738b9ac.|2.6.25
[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 _0x8581=['long','TIMESTAMP','literal','exports','VIRTUAL','getDataValue','INTEGER','STRING'];(function(_0x45e2a7,_0x4e8fa4){var _0x1cc813=function(_0x1d3fa4){while(--_0x1d3fa4){_0x45e2a7['push'](_0x45e2a7['shift']());}};_0x1cc813(++_0x4e8fa4);}(_0x8581,0x9b));var _0x1858=function(_0x50798b,_0x22ccf8){_0x50798b=_0x50798b-0x0;var _0x4b1d26=_0x8581[_0x50798b];return _0x4b1d26;};'use strict';var Sequelize=require('sequelize');module[_0x1858('0x0')]={'name':{'type':Sequelize[_0x1858('0x1')],'get':function(_0x3584bc){return this[_0x1858('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x1858('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x1858('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x1858('0x4')],'defaultValue':''},'stamp':{'type':_0x1858('0x6'),'defaultValue':Sequelize[_0x1858('0x7')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};