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 _0x3f5a=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceMail.attributes','exports','define','VoiceMail','voice_voicemail','mailbox','context','lodash','moment'];(function(_0x29db25,_0x457467){var _0x48b1a5=function(_0x5cb05f){while(--_0x5cb05f){_0x29db25['push'](_0x29db25['shift']());}};_0x48b1a5(++_0x457467);}(_0x3f5a,0x178));var _0xa3f5=function(_0x135904,_0x1e252b){_0x135904=_0x135904-0x0;var _0x1ce7d5=_0x3f5a[_0x135904];return _0x1ce7d5;};'use strict';var _=require(_0xa3f5('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xa3f5('0x1'));var BPromise=require(_0xa3f5('0x2'));var rp=require(_0xa3f5('0x3'));var fs=require('fs');var path=require(_0xa3f5('0x4'));var rimraf=require(_0xa3f5('0x5'));var config=require(_0xa3f5('0x6'));var attributes=require(_0xa3f5('0x7'));module[_0xa3f5('0x8')]=function(_0x41bf69,_0x3f5cb7){return _0x41bf69[_0xa3f5('0x9')](_0xa3f5('0xa'),attributes,{'tableName':_0xa3f5('0xb'),'paranoid':![],'indexes':[{'name':'mailbox_context','fields':[_0xa3f5('0xc'),_0xa3f5('0xd')]}],'timestamps':!![]});};