8e8d4a90f95ec526db5312b12293daead9bb5159
[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 _0xcc78=['sequelize','VIRTUAL','getDataValue','STRING','BLOB','long','TIMESTAMP'];(function(_0x589b37,_0x5a7483){var _0x5f2c82=function(_0x1c0f7d){while(--_0x1c0f7d){_0x589b37['push'](_0x589b37['shift']());}};_0x5f2c82(++_0x5a7483);}(_0xcc78,0x19d));var _0x8cc7=function(_0x570889,_0x2eab0e){_0x570889=_0x570889-0x0;var _0x1a500b=_0xcc78[_0x570889];return _0x1a500b;};'use strict';var Sequelize=require(_0x8cc7('0x0'));module['exports']={'name':{'type':Sequelize[_0x8cc7('0x1')],'get':function(_0x132406){return this[_0x8cc7('0x2')]('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x8cc7('0x4')](_0x8cc7('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x8cc7('0x3')],'defaultValue':''},'stamp':{'type':_0x8cc7('0x6'),'allowNull':![]}};