Built motion from commit (unavailable).|2.5.15
[motion2.git] / server / api / integrationReport / integrationReport.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 _0xf251=['../../config/environment','exports','define','IntegrationReport','lodash','util','../../config/logger','moment','request-promise','rimraf'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xf251,0xfe));var _0x1f25=function(_0x2e70e9,_0xa62fbc){_0x2e70e9=_0x2e70e9-0x0;var _0x2686ad=_0xf251[_0x2e70e9];return _0x2686ad;};'use strict';var _=require(_0x1f25('0x0'));var util=require(_0x1f25('0x1'));var logger=require(_0x1f25('0x2'))('api');var moment=require(_0x1f25('0x3'));var BPromise=require('bluebird');var rp=require(_0x1f25('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1f25('0x5'));var config=require(_0x1f25('0x6'));var attributes=require('./integrationReport.attributes');module[_0x1f25('0x7')]=function(_0x2f7c15,_0x108597){return _0x2f7c15[_0x1f25('0x8')](_0x1f25('0x9'),attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};