9f4a77a7fcdd95788c0bf9958e04f1f796a33546
[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 _0xa831=['INTEGER','STRING','BLOB','literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','exports','VIRTUAL'];(function(_0x560176,_0x224214){var _0x2031fb=function(_0xa5c4d7){while(--_0xa5c4d7){_0x560176['push'](_0x560176['shift']());}};_0x2031fb(++_0x224214);}(_0xa831,0xf3));var _0x1a83=function(_0x267d8d,_0xe90f65){_0x267d8d=_0x267d8d-0x0;var _0x11a98f=_0xa831[_0x267d8d];return _0x11a98f;};'use strict';var Sequelize=require('sequelize');module[_0x1a83('0x0')]={'name':{'type':Sequelize[_0x1a83('0x1')],'get':function(_0x239739){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x1a83('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x1a83('0x4')]('long'),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x1a83('0x3')],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x1a83('0x5')](_0x1a83('0x6'))}};