Built motion from commit (unavailable).|2.5.21
[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 _0xea2e=['define','VoiceRecording','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceRecording.attributes','exports'];(function(_0x1f95f5,_0x5680ad){var _0x2de0b8=function(_0x5259ad){while(--_0x5259ad){_0x1f95f5['push'](_0x1f95f5['shift']());}};_0x2de0b8(++_0x5680ad);}(_0xea2e,0x129));var _0xeea2=function(_0x3e338f,_0x5ef052){_0x3e338f=_0x3e338f-0x0;var _0x1db6ec=_0xea2e[_0x3e338f];return _0x1db6ec;};'use strict';var _=require(_0xeea2('0x0'));var util=require(_0xeea2('0x1'));var logger=require(_0xeea2('0x2'))('api');var moment=require(_0xeea2('0x3'));var BPromise=require(_0xeea2('0x4'));var rp=require(_0xeea2('0x5'));var fs=require('fs');var path=require(_0xeea2('0x6'));var rimraf=require(_0xeea2('0x7'));var config=require(_0xeea2('0x8'));var attributes=require(_0xeea2('0x9'));module[_0xeea2('0xa')]=function(_0x35d5de,_0x4785fa){return _0x35d5de[_0xeea2('0xb')](_0xeea2('0xc'),attributes,{'tableName':'voice_recordings','paranoid':![],'indexes':[{'name':_0xeea2('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};