Built motion from commit f7863d46.|2.5.41
[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 _0xfd2d=['lodash','util','../../config/logger','api','moment','bluebird','exports','define','VoiceTransferReport','report_call_transfer'];(function(_0xea0aed,_0xb72d29){var _0x499f3a=function(_0x2980b){while(--_0x2980b){_0xea0aed['push'](_0xea0aed['shift']());}};_0x499f3a(++_0xb72d29);}(_0xfd2d,0x1f4));var _0xdfd2=function(_0x3b5efa,_0x46a981){_0x3b5efa=_0x3b5efa-0x0;var _0x3f797d=_0xfd2d[_0x3b5efa];return _0x3f797d;};'use strict';var _=require(_0xdfd2('0x0'));var util=require(_0xdfd2('0x1'));var logger=require(_0xdfd2('0x2'))(_0xdfd2('0x3'));var moment=require(_0xdfd2('0x4'));var BPromise=require(_0xdfd2('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./voiceTransferReport.attributes');module[_0xdfd2('0x6')]=function(_0x10c0c3,_0x30b441){return _0x10c0c3[_0xdfd2('0x7')](_0xdfd2('0x8'),attributes,{'tableName':_0xdfd2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};