d468eabab25d410254a70cc825a566f74ba7f262
[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 _0xf97b=['../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','util','api','moment','path','rimraf'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0xf97b,0xea));var _0xbf97=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0xf97b[_0x59ee6f];return _0x4c0979;};'use strict';var _=require(_0xbf97('0x0'));var util=require(_0xbf97('0x1'));var logger=require('../../config/logger')(_0xbf97('0x2'));var moment=require(_0xbf97('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbf97('0x4'));var rimraf=require(_0xbf97('0x5'));var config=require(_0xbf97('0x6'));var attributes=require(_0xbf97('0x7'));module[_0xbf97('0x8')]=function(_0x264775,_0x583713){return _0x264775[_0xbf97('0x9')](_0xbf97('0xa'),attributes,{'tableName':_0xbf97('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};