7d52ef33a50c0e30a9757f64aea374fa1c3d547e
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.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 _0x2ca9=['define','VoiceTransferReport','report_call_transfer','util','api','moment','bluebird','rimraf','../../config/environment','./voiceTransferReport.attributes','exports'];(function(_0x2b181a,_0x410385){var _0x5dd7b4=function(_0x27bd8a){while(--_0x27bd8a){_0x2b181a['push'](_0x2b181a['shift']());}};_0x5dd7b4(++_0x410385);}(_0x2ca9,0x10b));var _0x92ca=function(_0x3fb77a,_0xe9249d){_0x3fb77a=_0x3fb77a-0x0;var _0x432d37=_0x2ca9[_0x3fb77a];return _0x432d37;};'use strict';var _=require('lodash');var util=require(_0x92ca('0x0'));var logger=require('../../config/logger')(_0x92ca('0x1'));var moment=require(_0x92ca('0x2'));var BPromise=require(_0x92ca('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x92ca('0x4'));var config=require(_0x92ca('0x5'));var attributes=require(_0x92ca('0x6'));module[_0x92ca('0x7')]=function(_0x3972e3,_0xa943ca){return _0x3972e3[_0x92ca('0x8')](_0x92ca('0x9'),attributes,{'tableName':_0x92ca('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};