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 _0xe311=['mailbox','context','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMail.attributes','exports','define','VoiceMail','voice_voicemail','mailbox_context'];(function(_0x486cf7,_0x2dabb6){var _0x2dc8c5=function(_0xe16e91){while(--_0xe16e91){_0x486cf7['push'](_0x486cf7['shift']());}};_0x2dc8c5(++_0x2dabb6);}(_0xe311,0x1a2));var _0x1e31=function(_0x4d4c51,_0x4e67db){_0x4d4c51=_0x4d4c51-0x0;var _0x3f4aa3=_0xe311[_0x4d4c51];return _0x3f4aa3;};'use strict';var _=require('lodash');var util=require(_0x1e31('0x0'));var logger=require(_0x1e31('0x1'))('api');var moment=require(_0x1e31('0x2'));var BPromise=require(_0x1e31('0x3'));var rp=require(_0x1e31('0x4'));var fs=require('fs');var path=require(_0x1e31('0x5'));var rimraf=require(_0x1e31('0x6'));var config=require(_0x1e31('0x7'));var attributes=require(_0x1e31('0x8'));module[_0x1e31('0x9')]=function(_0x354b05,_0x435124){return _0x354b05[_0x1e31('0xa')](_0x1e31('0xb'),attributes,{'tableName':_0x1e31('0xc'),'paranoid':![],'indexes':[{'name':_0x1e31('0xd'),'fields':[_0x1e31('0xe'),_0x1e31('0xf')]}],'timestamps':!![]});};