0a1c2757ac9c2a8d8ac38b89b14ab3dab43067f1
[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 _0xdd04=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','VoiceTransferReport','report_call_transfer'];(function(_0x3f130c,_0x4e4c2e){var _0x43feb1=function(_0x562a6e){while(--_0x562a6e){_0x3f130c['push'](_0x3f130c['shift']());}};_0x43feb1(++_0x4e4c2e);}(_0xdd04,0x15f));var _0x4dd0=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdd04[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x4dd0('0x0'));var util=require(_0x4dd0('0x1'));var logger=require('../../config/logger')(_0x4dd0('0x2'));var moment=require(_0x4dd0('0x3'));var BPromise=require(_0x4dd0('0x4'));var rp=require(_0x4dd0('0x5'));var fs=require('fs');var path=require(_0x4dd0('0x6'));var rimraf=require(_0x4dd0('0x7'));var config=require(_0x4dd0('0x8'));var attributes=require(_0x4dd0('0x9'));module[_0x4dd0('0xa')]=function(_0x4b8789,_0x215d82){return _0x4b8789['define'](_0x4dd0('0xb'),attributes,{'tableName':_0x4dd0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};