31d5fffd9956f568099a462a965927628f80fd7e
[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 _0xbca3=['lodash','util','api','request-promise','path','rimraf','exports','define','VoiceTransferReport'];(function(_0x1927dc,_0x235225){var _0x4882dc=function(_0x419205){while(--_0x419205){_0x1927dc['push'](_0x1927dc['shift']());}};_0x4882dc(++_0x235225);}(_0xbca3,0xd8));var _0x3bca=function(_0x3f6475,_0x4a907f){_0x3f6475=_0x3f6475-0x0;var _0x10f510=_0xbca3[_0x3f6475];return _0x10f510;};'use strict';var _=require(_0x3bca('0x0'));var util=require(_0x3bca('0x1'));var logger=require('../../config/logger')(_0x3bca('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x3bca('0x3'));var fs=require('fs');var path=require(_0x3bca('0x4'));var rimraf=require(_0x3bca('0x5'));var config=require('../../config/environment');var attributes=require('./voiceTransferReport.attributes');module[_0x3bca('0x6')]=function(_0x2edf24,_0x3258cd){return _0x2edf24[_0x3bca('0x7')](_0x3bca('0x8'),attributes,{'tableName':'report_call_transfer','paranoid':![],'indexes':[],'timestamps':!![]});};