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 _0x4be7=['rimraf','../../config/environment','./voiceMail.attributes','exports','define','mailbox_context','mailbox','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x539dfc,_0x4c80ee){var _0x1c3bc7=function(_0x62148c){while(--_0x62148c){_0x539dfc['push'](_0x539dfc['shift']());}};_0x1c3bc7(++_0x4c80ee);}(_0x4be7,0xbd));var _0x74be=function(_0x865e28,_0x3de135){_0x865e28=_0x865e28-0x0;var _0x3c97d9=_0x4be7[_0x865e28];return _0x3c97d9;};'use strict';var _=require(_0x74be('0x0'));var util=require(_0x74be('0x1'));var logger=require(_0x74be('0x2'))(_0x74be('0x3'));var moment=require('moment');var BPromise=require(_0x74be('0x4'));var rp=require(_0x74be('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x74be('0x6'));var config=require(_0x74be('0x7'));var attributes=require(_0x74be('0x8'));module[_0x74be('0x9')]=function(_0x4e5d0f,_0x34f8cb){return _0x4e5d0f[_0x74be('0xa')]('VoiceMail',attributes,{'tableName':'voice_voicemail','paranoid':![],'indexes':[{'name':_0x74be('0xb'),'fields':[_0x74be('0xc'),'context']}],'timestamps':!![]});};