Built motion from commit 9d1906d1.|2.5.40
[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 _0xcdd6=['voice_recordings','uniqueid','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./voiceRecording.attributes','exports','define'];(function(_0x246c64,_0x4430ff){var _0x2793d1=function(_0x37d575){while(--_0x37d575){_0x246c64['push'](_0x246c64['shift']());}};_0x2793d1(++_0x4430ff);}(_0xcdd6,0x1be));var _0x6cdd=function(_0x821115,_0xa6972d){_0x821115=_0x821115-0x0;var _0x4f8af3=_0xcdd6[_0x821115];return _0x4f8af3;};'use strict';var _=require('lodash');var util=require(_0x6cdd('0x0'));var logger=require(_0x6cdd('0x1'))(_0x6cdd('0x2'));var moment=require(_0x6cdd('0x3'));var BPromise=require('bluebird');var rp=require(_0x6cdd('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6cdd('0x5'));var config=require(_0x6cdd('0x6'));var attributes=require(_0x6cdd('0x7'));module[_0x6cdd('0x8')]=function(_0x41e486,_0x5dd920){return _0x41e486[_0x6cdd('0x9')]('VoiceRecording',attributes,{'tableName':_0x6cdd('0xa'),'paranoid':![],'indexes':[{'name':_0x6cdd('0xb'),'fields':[_0x6cdd('0xb')]}],'timestamps':!![]});};