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 _0xdc1c=['voice_voicemail_messages','dir','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','define'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xdc1c,0xb6));var _0xcdc1=function(_0x3333e6,_0x5bc2cf){_0x3333e6=_0x3333e6-0x0;var _0x3c591c=_0xdc1c[_0x3333e6];return _0x3c591c;};'use strict';var _=require(_0xcdc1('0x0'));var util=require('util');var logger=require(_0xcdc1('0x1'))('api');var moment=require(_0xcdc1('0x2'));var BPromise=require(_0xcdc1('0x3'));var rp=require(_0xcdc1('0x4'));var fs=require('fs');var path=require(_0xcdc1('0x5'));var rimraf=require('rimraf');var config=require(_0xcdc1('0x6'));var attributes=require('./voiceMailMessage.attributes');module['exports']=function(_0x2084e8,_0x7036c4){return _0x2084e8[_0xcdc1('0x7')]('VoiceMailMessage',attributes,{'tableName':_0xcdc1('0x8'),'paranoid':![],'indexes':[{'name':_0xcdc1('0x9'),'fields':[_0xcdc1('0x9')]}],'timestamps':![]});};