15b5a9405616ccb543482bd6d08bc2b9e754bcaa
[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 _0x70e8=['long','TIMESTAMP','sequelize','getDataValue','STRING'];(function(_0x5d7322,_0x5f6d9a){var _0x2e7665=function(_0x482c6c){while(--_0x482c6c){_0x5d7322['push'](_0x5d7322['shift']());}};_0x2e7665(++_0x5f6d9a);}(_0x70e8,0x18d));var _0x870e=function(_0xc11a51,_0x32efc0){_0xc11a51=_0xc11a51-0x0;var _0x362a11=_0x70e8[_0xc11a51];return _0x362a11;};'use strict';var Sequelize=require(_0x870e('0x0'));module['exports']={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x46cb62){return this[_0x870e('0x1')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'callerid':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x870e('0x3')),'defaultValue':null},'flag':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x870e('0x2')],'defaultValue':''},'stamp':{'type':_0x870e('0x4'),'allowNull':![]}};