Built motion from commit fe909640.|2.6.8
[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 _0xae15=['VoiceTransferReport','report_call_transfer','lodash','util','../../config/logger','api','bluebird','path','../../config/environment','./voiceTransferReport.attributes','exports'];(function(_0x448f77,_0x471928){var _0x2bb60c=function(_0x105054){while(--_0x105054){_0x448f77['push'](_0x448f77['shift']());}};_0x2bb60c(++_0x471928);}(_0xae15,0xd3));var _0x5ae1=function(_0x5ba404,_0x58832d){_0x5ba404=_0x5ba404-0x0;var _0x481591=_0xae15[_0x5ba404];return _0x481591;};'use strict';var _=require(_0x5ae1('0x0'));var util=require(_0x5ae1('0x1'));var logger=require(_0x5ae1('0x2'))(_0x5ae1('0x3'));var moment=require('moment');var BPromise=require(_0x5ae1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5ae1('0x5'));var rimraf=require('rimraf');var config=require(_0x5ae1('0x6'));var attributes=require(_0x5ae1('0x7'));module[_0x5ae1('0x8')]=function(_0x4b72b4,_0x5e02fe){return _0x4b72b4['define'](_0x5ae1('0x9'),attributes,{'tableName':_0x5ae1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};