Built motion from commit 85328c08.|2.5.50
[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 _0xab4f=['lodash','util','api','moment','request-promise','rimraf','../../config/environment','exports','VoiceTransferReport','report_call_transfer'];(function(_0x4715d2,_0x3371b2){var _0x141811=function(_0x520bc6){while(--_0x520bc6){_0x4715d2['push'](_0x4715d2['shift']());}};_0x141811(++_0x3371b2);}(_0xab4f,0x1e0));var _0xfab4=function(_0x178e48,_0x3c9509){_0x178e48=_0x178e48-0x0;var _0x440d7e=_0xab4f[_0x178e48];return _0x440d7e;};'use strict';var _=require(_0xfab4('0x0'));var util=require(_0xfab4('0x1'));var logger=require('../../config/logger')(_0xfab4('0x2'));var moment=require(_0xfab4('0x3'));var BPromise=require('bluebird');var rp=require(_0xfab4('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfab4('0x5'));var config=require(_0xfab4('0x6'));var attributes=require('./voiceTransferReport.attributes');module[_0xfab4('0x7')]=function(_0x4d4cd4,_0x59262d){return _0x4d4cd4['define'](_0xfab4('0x8'),attributes,{'tableName':_0xfab4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};