c71950254cfb1d81752e15a581d7aeca590a7001
[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 _0xed4a=['report_call_transfer','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','VoiceTransferReport'];(function(_0xbf8ebe,_0x3b69a5){var _0x1e25e8=function(_0x40c390){while(--_0x40c390){_0xbf8ebe['push'](_0xbf8ebe['shift']());}};_0x1e25e8(++_0x3b69a5);}(_0xed4a,0xd2));var _0xaed4=function(_0x26fb6e,_0x57c48d){_0x26fb6e=_0x26fb6e-0x0;var _0x56bd4c=_0xed4a[_0x26fb6e];return _0x56bd4c;};'use strict';var _=require(_0xaed4('0x0'));var util=require(_0xaed4('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xaed4('0x2'));var BPromise=require(_0xaed4('0x3'));var rp=require(_0xaed4('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaed4('0x5'));var config=require(_0xaed4('0x6'));var attributes=require('./voiceTransferReport.attributes');module[_0xaed4('0x7')]=function(_0x2e132b,_0x2ffc29){return _0x2e132b[_0xaed4('0x8')](_0xaed4('0x9'),attributes,{'tableName':_0xaed4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};