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 _0xc260=['uniqueid','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./voiceRecording.attributes','exports','define','voice_recordings'];(function(_0x1ee7a7,_0x2478b0){var _0x291a52=function(_0x54718c){while(--_0x54718c){_0x1ee7a7['push'](_0x1ee7a7['shift']());}};_0x291a52(++_0x2478b0);}(_0xc260,0x151));var _0x0c26=function(_0x16cba7,_0x30f84f){_0x16cba7=_0x16cba7-0x0;var _0x60459b=_0xc260[_0x16cba7];return _0x60459b;};'use strict';var _=require('lodash');var util=require(_0x0c26('0x0'));var logger=require(_0x0c26('0x1'))(_0x0c26('0x2'));var moment=require('moment');var BPromise=require(_0x0c26('0x3'));var rp=require(_0x0c26('0x4'));var fs=require('fs');var path=require(_0x0c26('0x5'));var rimraf=require('rimraf');var config=require(_0x0c26('0x6'));var attributes=require(_0x0c26('0x7'));module[_0x0c26('0x8')]=function(_0x2d0272,_0x5a705d){return _0x2d0272[_0x0c26('0x9')]('VoiceRecording',attributes,{'tableName':_0x0c26('0xa'),'paranoid':![],'indexes':[{'name':_0x0c26('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};