Built motion from commit (unavailable).|2.5.21
[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 _0x8536=['IntegrationReport','report_integration','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','exports','define'];(function(_0x323c7e,_0x3d16ec){var _0x2b0f72=function(_0x5a2310){while(--_0x5a2310){_0x323c7e['push'](_0x323c7e['shift']());}};_0x2b0f72(++_0x3d16ec);}(_0x8536,0x19c));var _0x6853=function(_0x111ebe,_0x356dbb){_0x111ebe=_0x111ebe-0x0;var _0x42dcfa=_0x8536[_0x111ebe];return _0x42dcfa;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6853('0x0'))('api');var moment=require(_0x6853('0x1'));var BPromise=require(_0x6853('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6853('0x3'));var rimraf=require(_0x6853('0x4'));var config=require(_0x6853('0x5'));var attributes=require('./integrationReport.attributes');module[_0x6853('0x6')]=function(_0x471082,_0x2cc727){return _0x471082[_0x6853('0x7')](_0x6853('0x8'),attributes,{'tableName':_0x6853('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};