Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x2353=['uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./voiceCallReport.attributes','define','VoiceCallReport'];(function(_0x1a7065,_0x45f34f){var _0x1fd3b2=function(_0x1d2cba){while(--_0x1d2cba){_0x1a7065['push'](_0x1a7065['shift']());}};_0x1fd3b2(++_0x45f34f);}(_0x2353,0x79));var _0x3235=function(_0x27bb80,_0x41a1a9){_0x27bb80=_0x27bb80-0x0;var _0x5a20a5=_0x2353[_0x27bb80];return _0x5a20a5;};'use strict';var _=require(_0x3235('0x0'));var util=require(_0x3235('0x1'));var logger=require(_0x3235('0x2'))(_0x3235('0x3'));var moment=require(_0x3235('0x4'));var BPromise=require(_0x3235('0x5'));var rp=require(_0x3235('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3235('0x7'));var config=require('../../config/environment');var attributes=require(_0x3235('0x8'));module['exports']=function(_0x5ae4bd,_0x2537f2){return _0x5ae4bd[_0x3235('0x9')](_0x3235('0xa'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0x3235('0xb')]}],'timestamps':!![]});};