cc08bbfa3231fe90c2a8a8fc0df6ed2557edc27e
[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 _0x518b=['api','moment','rimraf','../../config/environment','define','VoiceTransferReport','report_call_transfer','lodash','util','../../config/logger'];(function(_0x5359c0,_0x13b40e){var _0x4e0db1=function(_0x468d1c){while(--_0x468d1c){_0x5359c0['push'](_0x5359c0['shift']());}};_0x4e0db1(++_0x13b40e);}(_0x518b,0x15b));var _0xb518=function(_0x4f8661,_0x18bdf4){_0x4f8661=_0x4f8661-0x0;var _0x2484ba=_0x518b[_0x4f8661];return _0x2484ba;};'use strict';var _=require(_0xb518('0x0'));var util=require(_0xb518('0x1'));var logger=require(_0xb518('0x2'))(_0xb518('0x3'));var moment=require(_0xb518('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb518('0x5'));var config=require(_0xb518('0x6'));var attributes=require('./voiceTransferReport.attributes');module['exports']=function(_0x376e3e,_0x485944){return _0x376e3e[_0xb518('0x7')](_0xb518('0x8'),attributes,{'tableName':_0xb518('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};