c6ebacf81cf495978405d5fbf53d1850e0cbf55c
[motion2.git] / server / api / voiceRecording / voiceRecording.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x16ee=['rimraf','define','uniqueid','lodash','util','moment','request-promise','path'];(function(_0xf0bc07,_0x510ebf){var _0x1c50c2=function(_0x2e2bdf){while(--_0x2e2bdf){_0xf0bc07['push'](_0xf0bc07['shift']());}};_0x1c50c2(++_0x510ebf);}(_0x16ee,0x1e3));var _0xe16e=function(_0x23e6bb,_0x5c2d69){_0x23e6bb=_0x23e6bb-0x0;var _0x1e3b4c=_0x16ee[_0x23e6bb];return _0x1e3b4c;};'use strict';var _=require(_0xe16e('0x0'));var util=require(_0xe16e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe16e('0x2'));var BPromise=require('bluebird');var rp=require(_0xe16e('0x3'));var fs=require('fs');var path=require(_0xe16e('0x4'));var rimraf=require(_0xe16e('0x5'));var config=require('../../config/environment');var attributes=require('./voiceRecording.attributes');module['exports']=function(_0x409efa,_0x2c9902){return _0x409efa[_0xe16e('0x6')]('VoiceRecording',attributes,{'tableName':'voice_recordings','paranoid':![],'indexes':[{'name':_0xe16e('0x7'),'fields':[_0xe16e('0x7')]}],'timestamps':!![]});};