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 _0x4306=['mailbox_context','mailbox','context','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMail.attributes','define','VoiceMail'];(function(_0x3efa14,_0x8a416c){var _0x41fa4d=function(_0x3c8981){while(--_0x3c8981){_0x3efa14['push'](_0x3efa14['shift']());}};_0x41fa4d(++_0x8a416c);}(_0x4306,0x7b));var _0x6430=function(_0x3da2ce,_0x5b9d54){_0x3da2ce=_0x3da2ce-0x0;var _0x594c7d=_0x4306[_0x3da2ce];return _0x594c7d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6430('0x0'))('api');var moment=require('moment');var BPromise=require(_0x6430('0x1'));var rp=require(_0x6430('0x2'));var fs=require('fs');var path=require(_0x6430('0x3'));var rimraf=require(_0x6430('0x4'));var config=require(_0x6430('0x5'));var attributes=require(_0x6430('0x6'));module['exports']=function(_0x6ee85c,_0x33ecdf){return _0x6ee85c[_0x6430('0x7')](_0x6430('0x8'),attributes,{'tableName':'voice_voicemail','paranoid':![],'indexes':[{'name':_0x6430('0x9'),'fields':[_0x6430('0xa'),_0x6430('0xb')]}],'timestamps':!![]});};