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 _0x349f=['./voiceRecording.attributes','exports','define','VoiceRecording','voice_recordings','uniqueid','lodash','util','moment','bluebird','request-promise'];(function(_0x1f71d8,_0x278518){var _0x10b045=function(_0x57aea4){while(--_0x57aea4){_0x1f71d8['push'](_0x1f71d8['shift']());}};_0x10b045(++_0x278518);}(_0x349f,0x15b));var _0xf349=function(_0xe176c9,_0xfaadba){_0xe176c9=_0xe176c9-0x0;var _0x87ad17=_0x349f[_0xe176c9];return _0x87ad17;};'use strict';var _=require(_0xf349('0x0'));var util=require(_0xf349('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf349('0x2'));var BPromise=require(_0xf349('0x3'));var rp=require(_0xf349('0x4'));var attributes=require(_0xf349('0x5'));module[_0xf349('0x6')]=function(_0x23aad1,_0x2cee12){return _0x23aad1[_0xf349('0x7')](_0xf349('0x8'),attributes,{'tableName':_0xf349('0x9'),'paranoid':![],'indexes':[{'name':_0xf349('0xa'),'fields':[_0xf349('0xa')]}],'timestamps':!![]});};