8d6136e9e27ddcb95112edf577fe6cd794d5f0e4
[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 _0xba47=['VIRTUAL','getDataValue','STRING','sequelize','exports'];(function(_0x5e3b04,_0xbb6795){var _0x1fc44d=function(_0x3472a1){while(--_0x3472a1){_0x5e3b04['push'](_0x5e3b04['shift']());}};_0x1fc44d(++_0xbb6795);}(_0xba47,0x16b));var _0x7ba4=function(_0x2bf040,_0x53d563){_0x2bf040=_0x2bf040-0x0;var _0x5b7eb4=_0xba47[_0x2bf040];return _0x5b7eb4;};'use strict';var Sequelize=require(_0x7ba4('0x0'));module[_0x7ba4('0x1')]={'name':{'type':Sequelize[_0x7ba4('0x2')],'get':function(_0x180f5a){return this[_0x7ba4('0x3')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB']('long'),'defaultValue':null},'flag':{'type':Sequelize[_0x7ba4('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','allowNull':![]}};