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 _0x12fb=['bluebird','request-promise','path','voice_voicemail_messages','lodash','util','../../config/logger','moment'];(function(_0x9e5458,_0x110d88){var _0x5f22dd=function(_0x54ca33){while(--_0x54ca33){_0x9e5458['push'](_0x9e5458['shift']());}};_0x5f22dd(++_0x110d88);}(_0x12fb,0x10c));var _0xb12f=function(_0x2deed4,_0x2793e8){_0x2deed4=_0x2deed4-0x0;var _0xfb91f4=_0x12fb[_0x2deed4];return _0xfb91f4;};'use strict';var _=require(_0xb12f('0x0'));var util=require(_0xb12f('0x1'));var logger=require(_0xb12f('0x2'))('api');var moment=require(_0xb12f('0x3'));var BPromise=require(_0xb12f('0x4'));var rp=require(_0xb12f('0x5'));var fs=require('fs');var path=require(_0xb12f('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./voiceMailMessage.attributes');module['exports']=function(_0x2ad54d,_0x2914d3){return _0x2ad54d['define']('VoiceMailMessage',attributes,{'tableName':_0xb12f('0x7'),'paranoid':![],'indexes':[{'name':'dir','fields':['dir']}],'timestamps':![]});};