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 _0xabfc=['uniqueid','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceRecording.attributes','VoiceRecording'];(function(_0x16d92a,_0x41ec05){var _0x426c4b=function(_0x174f1f){while(--_0x174f1f){_0x16d92a['push'](_0x16d92a['shift']());}};_0x426c4b(++_0x41ec05);}(_0xabfc,0x137));var _0xcabf=function(_0x513545,_0x158f2e){_0x513545=_0x513545-0x0;var _0x18b7c5=_0xabfc[_0x513545];return _0x18b7c5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xcabf('0x0'))('api');var moment=require(_0xcabf('0x1'));var BPromise=require(_0xcabf('0x2'));var rp=require(_0xcabf('0x3'));var fs=require('fs');var path=require(_0xcabf('0x4'));var rimraf=require(_0xcabf('0x5'));var config=require(_0xcabf('0x6'));var attributes=require(_0xcabf('0x7'));module['exports']=function(_0x3fd0f7,_0x27c5b8){return _0x3fd0f7['define'](_0xcabf('0x8'),attributes,{'tableName':'voice_recordings','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xcabf('0x9')]}],'timestamps':!![]});};