Built motion from commit 25580385.|2.6.2
[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 _0x1806=['report_call_transfer','util','api','moment','bluebird','path','../../config/environment','exports','define'];(function(_0x378e7f,_0x3c3fed){var _0x3bf22c=function(_0x1a205c){while(--_0x1a205c){_0x378e7f['push'](_0x378e7f['shift']());}};_0x3bf22c(++_0x3c3fed);}(_0x1806,0xbe));var _0x6180=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x1806[_0x397e5f];return _0x5302b8;};'use strict';var _=require('lodash');var util=require(_0x6180('0x0'));var logger=require('../../config/logger')(_0x6180('0x1'));var moment=require(_0x6180('0x2'));var BPromise=require(_0x6180('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6180('0x4'));var rimraf=require('rimraf');var config=require(_0x6180('0x5'));var attributes=require('./voiceTransferReport.attributes');module[_0x6180('0x6')]=function(_0x13bcf0,_0x418324){return _0x13bcf0[_0x6180('0x7')]('VoiceTransferReport',attributes,{'tableName':_0x6180('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};