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 _0x55db=['request-promise','path','rimraf','exports','define','voice_voicemail_messages','dir','lodash','util','../../config/logger','api','moment'];(function(_0x5d1f6f,_0x120955){var _0x281d2b=function(_0x28edc8){while(--_0x28edc8){_0x5d1f6f['push'](_0x5d1f6f['shift']());}};_0x281d2b(++_0x120955);}(_0x55db,0xdf));var _0xb55d=function(_0x4edd82,_0x58ef7d){_0x4edd82=_0x4edd82-0x0;var _0x4da29e=_0x55db[_0x4edd82];return _0x4da29e;};'use strict';var _=require(_0xb55d('0x0'));var util=require(_0xb55d('0x1'));var logger=require(_0xb55d('0x2'))(_0xb55d('0x3'));var moment=require(_0xb55d('0x4'));var BPromise=require('bluebird');var rp=require(_0xb55d('0x5'));var fs=require('fs');var path=require(_0xb55d('0x6'));var rimraf=require(_0xb55d('0x7'));var config=require('../../config/environment');var attributes=require('./voiceMailMessage.attributes');module[_0xb55d('0x8')]=function(_0x78f96d,_0x12aae5){return _0x78f96d[_0xb55d('0x9')]('VoiceMailMessage',attributes,{'tableName':_0xb55d('0xa'),'paranoid':![],'indexes':[{'name':_0xb55d('0xb'),'fields':[_0xb55d('0xb')]}],'timestamps':![]});};