23b01a905476ad1cd10b8dcd9fb5651e255151ff
[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 _0x6e45=['lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer'];(function(_0xc8c12b,_0x1271b0){var _0x4fc308=function(_0x822809){while(--_0x822809){_0xc8c12b['push'](_0xc8c12b['shift']());}};_0x4fc308(++_0x1271b0);}(_0x6e45,0x145));var _0x56e4=function(_0x59beb6,_0x57ff96){_0x59beb6=_0x59beb6-0x0;var _0x49c37b=_0x6e45[_0x59beb6];return _0x49c37b;};'use strict';var _=require(_0x56e4('0x0'));var util=require(_0x56e4('0x1'));var logger=require(_0x56e4('0x2'))(_0x56e4('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x56e4('0x4'));var fs=require('fs');var path=require(_0x56e4('0x5'));var rimraf=require(_0x56e4('0x6'));var config=require(_0x56e4('0x7'));var attributes=require(_0x56e4('0x8'));module[_0x56e4('0x9')]=function(_0x25b1e6,_0x4410a8){return _0x25b1e6[_0x56e4('0xa')](_0x56e4('0xb'),attributes,{'tableName':_0x56e4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};