Built motion from commit 639a1a7f.|2.6.19
[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 _0x97d7=['exports','VIRTUAL','STRING','BLOB','TIMESTAMP','literal'];(function(_0x3a8ad6,_0x56c2ab){var _0xb041fd=function(_0x27cbc2){while(--_0x27cbc2){_0x3a8ad6['push'](_0x3a8ad6['shift']());}};_0xb041fd(++_0x56c2ab);}(_0x97d7,0x18c));var _0x797d=function(_0x10ab62,_0x21d1da){_0x10ab62=_0x10ab62-0x0;var _0x3b325b=_0x97d7[_0x10ab62];return _0x3b325b;};'use strict';var Sequelize=require('sequelize');module[_0x797d('0x0')]={'name':{'type':Sequelize[_0x797d('0x1')],'get':function(_0x552afe){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'context':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'recording':{'type':Sequelize[_0x797d('0x3')]('long'),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x797d('0x2')],'defaultValue':''},'stamp':{'type':_0x797d('0x4'),'defaultValue':Sequelize[_0x797d('0x5')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};