Built motion from commit 00bf23f6.|2.6.16
[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 _0xaa76=['VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long','TIMESTAMP','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','exports'];(function(_0x174047,_0x10cdc7){var _0x59b98e=function(_0x2d9010){while(--_0x2d9010){_0x174047['push'](_0x174047['shift']());}};_0x59b98e(++_0x10cdc7);}(_0xaa76,0xef));var _0x6aa7=function(_0x25c774,_0x6fb9d9){_0x25c774=_0x25c774-0x0;var _0x40512c=_0xaa76[_0x25c774];return _0x40512c;};'use strict';var Sequelize=require('sequelize');module[_0x6aa7('0x0')]={'name':{'type':Sequelize[_0x6aa7('0x1')],'get':function(_0x2dfd03){return this[_0x6aa7('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x6aa7('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x6aa7('0x5')](_0x6aa7('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x6aa7('0x4')],'defaultValue':''},'stamp':{'type':_0x6aa7('0x7'),'defaultValue':Sequelize[_0x6aa7('0x8')](_0x6aa7('0x9'))}};