Built motion from commit 775e2a94.|2.6.3
[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 _0xabfb=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceCallReport','report_call','uniqueid','lodash','util'];(function(_0x45e500,_0x1b1055){var _0x1030c1=function(_0x335e3c){while(--_0x335e3c){_0x45e500['push'](_0x45e500['shift']());}};_0x1030c1(++_0x1b1055);}(_0xabfb,0x1a2));var _0xbabf=function(_0x836465,_0x5442ae){_0x836465=_0x836465-0x0;var _0x2150ea=_0xabfb[_0x836465];return _0x2150ea;};'use strict';var _=require(_0xbabf('0x0'));var util=require(_0xbabf('0x1'));var logger=require(_0xbabf('0x2'))(_0xbabf('0x3'));var moment=require(_0xbabf('0x4'));var BPromise=require(_0xbabf('0x5'));var rp=require(_0xbabf('0x6'));var fs=require('fs');var path=require(_0xbabf('0x7'));var rimraf=require(_0xbabf('0x8'));var config=require(_0xbabf('0x9'));var attributes=require('./voiceCallReport.attributes');module[_0xbabf('0xa')]=function(_0x41c019,_0x48fbbe){return _0x41c019[_0xbabf('0xb')](_0xbabf('0xc'),attributes,{'tableName':_0xbabf('0xd'),'paranoid':![],'indexes':[{'fields':[_0xbabf('0xe')]}],'timestamps':!![]});};