Built motion from commit 58b0471d.|2.6.29
[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 _0xd5d5=['api','moment','request-promise','path','../../config/environment','exports','define','VoiceTransferReport','report_call_transfer','lodash'];(function(_0x286822,_0x5b5f44){var _0x14c777=function(_0x2015af){while(--_0x2015af){_0x286822['push'](_0x286822['shift']());}};_0x14c777(++_0x5b5f44);}(_0xd5d5,0x135));var _0x5d5d=function(_0x4ed32d,_0x327695){_0x4ed32d=_0x4ed32d-0x0;var _0xf624df=_0xd5d5[_0x4ed32d];return _0xf624df;};'use strict';var _=require(_0x5d5d('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5d5d('0x1'));var moment=require(_0x5d5d('0x2'));var BPromise=require('bluebird');var rp=require(_0x5d5d('0x3'));var fs=require('fs');var path=require(_0x5d5d('0x4'));var rimraf=require('rimraf');var config=require(_0x5d5d('0x5'));var attributes=require('./voiceTransferReport.attributes');module[_0x5d5d('0x6')]=function(_0x1090c7,_0x1f3383){return _0x1090c7[_0x5d5d('0x7')](_0x5d5d('0x8'),attributes,{'tableName':_0x5d5d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};