1963164f024c4b7ac67192d3790d924a74581b0f
[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 _0xd245=['INTEGER','STRING','BLOB','long','TIMESTAMP','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0xd245,0x96));var _0x5d24=function(_0x5ae8f7,_0x330d91){_0x5ae8f7=_0x5ae8f7-0x0;var _0x54c636=_0xd245[_0x5ae8f7];return _0x54c636;};'use strict';var Sequelize=require(_0x5d24('0x0'));module[_0x5d24('0x1')]={'name':{'type':Sequelize[_0x5d24('0x2')],'get':function(_0x4a89a1){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x5d24('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'origtime':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'duration':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x5d24('0x5')](_0x5d24('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x5d24('0x4')],'defaultValue':''},'stamp':{'type':_0x5d24('0x7'),'defaultValue':Sequelize['literal'](_0x5d24('0x8'))}};