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 _0x1e44=['util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./voiceMail.attributes','exports','define','VoiceMail','voice_voicemail','mailbox','context','lodash'];(function(_0x20173f,_0x13221e){var _0x529826=function(_0x3c89d6){while(--_0x3c89d6){_0x20173f['push'](_0x20173f['shift']());}};_0x529826(++_0x13221e);}(_0x1e44,0xb3));var _0x41e4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1e44[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x41e4('0x0'));var util=require(_0x41e4('0x1'));var logger=require(_0x41e4('0x2'))('api');var moment=require(_0x41e4('0x3'));var BPromise=require(_0x41e4('0x4'));var rp=require(_0x41e4('0x5'));var fs=require('fs');var path=require(_0x41e4('0x6'));var rimraf=require('rimraf');var config=require(_0x41e4('0x7'));var attributes=require(_0x41e4('0x8'));module[_0x41e4('0x9')]=function(_0x2c28d4,_0x10fba1){return _0x2c28d4[_0x41e4('0xa')](_0x41e4('0xb'),attributes,{'tableName':_0x41e4('0xc'),'paranoid':![],'indexes':[{'name':'mailbox_context','fields':[_0x41e4('0xd'),_0x41e4('0xe')]}],'timestamps':!![]});};