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 _0xcf66=['VoiceMailMessage','voice_voicemail_messages','dir','lodash','util','../../config/logger','moment','bluebird','rimraf','../../config/environment','exports'];(function(_0x4efa23,_0x132071){var _0x170eea=function(_0x5a89ac){while(--_0x5a89ac){_0x4efa23['push'](_0x4efa23['shift']());}};_0x170eea(++_0x132071);}(_0xcf66,0x71));var _0x6cf6=function(_0x299109,_0x180358){_0x299109=_0x299109-0x0;var _0x1cf220=_0xcf66[_0x299109];return _0x1cf220;};'use strict';var _=require(_0x6cf6('0x0'));var util=require(_0x6cf6('0x1'));var logger=require(_0x6cf6('0x2'))('api');var moment=require(_0x6cf6('0x3'));var BPromise=require(_0x6cf6('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6cf6('0x5'));var config=require(_0x6cf6('0x6'));var attributes=require('./voiceMailMessage.attributes');module[_0x6cf6('0x7')]=function(_0x1fbedd,_0x2a573e){return _0x1fbedd['define'](_0x6cf6('0x8'),attributes,{'tableName':_0x6cf6('0x9'),'paranoid':![],'indexes':[{'name':_0x6cf6('0xa'),'fields':[_0x6cf6('0xa')]}],'timestamps':![]});};