c4b2fd8c67a8af4e9377a6937899a753c1b454d5
[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 _0x8b01=['STRING','long','TIMESTAMP','exports','VIRTUAL','INTEGER'];(function(_0x18e9ff,_0x466062){var _0x29d72f=function(_0x492082){while(--_0x492082){_0x18e9ff['push'](_0x18e9ff['shift']());}};_0x29d72f(++_0x466062);}(_0x8b01,0xd5));var _0x18b0=function(_0x53a22c,_0x119487){_0x53a22c=_0x53a22c-0x0;var _0x41fcbf=_0x8b01[_0x53a22c];return _0x41fcbf;};'use strict';var Sequelize=require('sequelize');module[_0x18b0('0x0')]={'name':{'type':Sequelize[_0x18b0('0x1')],'get':function(_0x294c57){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x18b0('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x18b0('0x4')),'defaultValue':null},'flag':{'type':Sequelize[_0x18b0('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x18b0('0x5'),'allowNull':![]}};