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 _0x33ca=['rimraf','../../config/environment','./voiceMailMessage.attributes','define','VoiceMailMessage','voice_voicemail_messages','dir','lodash','api','moment','request-promise'];(function(_0x49684e,_0x9a24fb){var _0x54062f=function(_0x4e410a){while(--_0x4e410a){_0x49684e['push'](_0x49684e['shift']());}};_0x54062f(++_0x9a24fb);}(_0x33ca,0xf9));var _0xa33c=function(_0x5264fd,_0x1cfed9){_0x5264fd=_0x5264fd-0x0;var _0x1f97c1=_0x33ca[_0x5264fd];return _0x1f97c1;};'use strict';var _=require(_0xa33c('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa33c('0x1'));var moment=require(_0xa33c('0x2'));var BPromise=require('bluebird');var rp=require(_0xa33c('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa33c('0x4'));var config=require(_0xa33c('0x5'));var attributes=require(_0xa33c('0x6'));module['exports']=function(_0x2c9afa,_0x12ad2b){return _0x2c9afa[_0xa33c('0x7')](_0xa33c('0x8'),attributes,{'tableName':_0xa33c('0x9'),'paranoid':![],'indexes':[{'name':_0xa33c('0xa'),'fields':['dir']}],'timestamps':![]});};