1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1cd9=['mailbox','context','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','exports','define','VoiceMail','mailbox_context'];(function(_0x5ad220,_0x27407e){var _0xdec77d=function(_0x58d736){while(--_0x58d736){_0x5ad220['push'](_0x5ad220['shift']());}};_0xdec77d(++_0x27407e);}(_0x1cd9,0x1b4));var _0x91cd=function(_0x498e3e,_0x5cf823){_0x498e3e=_0x498e3e-0x0;var _0x247afb=_0x1cd9[_0x498e3e];return _0x247afb;};'use strict';var _=require(_0x91cd('0x0'));var util=require(_0x91cd('0x1'));var logger=require(_0x91cd('0x2'))('api');var moment=require(_0x91cd('0x3'));var BPromise=require(_0x91cd('0x4'));var rp=require(_0x91cd('0x5'));var fs=require('fs');var path=require(_0x91cd('0x6'));var rimraf=require(_0x91cd('0x7'));var config=require('../../config/environment');var attributes=require('./voiceMail.attributes');module[_0x91cd('0x8')]=function(_0x5cc40e,_0x289ae9){return _0x5cc40e[_0x91cd('0x9')](_0x91cd('0xa'),attributes,{'tableName':'voice_voicemail','paranoid':![],'indexes':[{'name':_0x91cd('0xb'),'fields':[_0x91cd('0xc'),_0x91cd('0xd')]}],'timestamps':!![]});};