Built motion from commit b5413ace.|2.6.9
[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 _0x43fa=['exports','INTEGER','STRING','BLOB','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP'];(function(_0x41e2af,_0x3662f8){var _0x41df19=function(_0x3b307e){while(--_0x3b307e){_0x41e2af['push'](_0x41e2af['shift']());}};_0x41df19(++_0x3662f8);}(_0x43fa,0x150));var _0xa43f=function(_0x1762b4,_0x33d836){_0x1762b4=_0x1762b4-0x0;var _0x29beda=_0x43fa[_0x1762b4];return _0x29beda;};'use strict';var Sequelize=require('sequelize');module[_0xa43f('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x5a479d){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0xa43f('0x1')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'callerid':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'recording':{'type':Sequelize[_0xa43f('0x3')]('long'),'defaultValue':null},'flag':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xa43f('0x2')],'defaultValue':''},'stamp':{'type':_0xa43f('0x4'),'defaultValue':Sequelize[_0xa43f('0x5')](_0xa43f('0x6'))}};