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 _0xb98e=['define','voice_voicemail_messages','dir','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceMailMessage.attributes'];(function(_0x9d91a,_0x932e7a){var _0x534915=function(_0x18e4f5){while(--_0x18e4f5){_0x9d91a['push'](_0x9d91a['shift']());}};_0x534915(++_0x932e7a);}(_0xb98e,0x184));var _0xeb98=function(_0x2d67b3,_0x117772){_0x2d67b3=_0x2d67b3-0x0;var _0x924080=_0xb98e[_0x2d67b3];return _0x924080;};'use strict';var _=require(_0xeb98('0x0'));var util=require(_0xeb98('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xeb98('0x2'));var BPromise=require(_0xeb98('0x3'));var rp=require(_0xeb98('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeb98('0x5'));var config=require(_0xeb98('0x6'));var attributes=require(_0xeb98('0x7'));module['exports']=function(_0x33a16e,_0x5d12df){return _0x33a16e[_0xeb98('0x8')]('VoiceMailMessage',attributes,{'tableName':_0xeb98('0x9'),'paranoid':![],'indexes':[{'name':_0xeb98('0xa'),'fields':[_0xeb98('0xa')]}],'timestamps':![]});};