Built motion from commit da617fac.|2.6.6
[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 _0xde70=['lodash','util','api','bluebird','request-promise','path','rimraf','./integrationReport.attributes','exports','IntegrationReport','report_integration'];(function(_0x41b65f,_0x416f40){var _0x5a3aca=function(_0xb5ff2d){while(--_0xb5ff2d){_0x41b65f['push'](_0x41b65f['shift']());}};_0x5a3aca(++_0x416f40);}(_0xde70,0x1b8));var _0x0de7=function(_0x43f47b,_0x311636){_0x43f47b=_0x43f47b-0x0;var _0x4af9a6=_0xde70[_0x43f47b];return _0x4af9a6;};'use strict';var _=require(_0x0de7('0x0'));var util=require(_0x0de7('0x1'));var logger=require('../../config/logger')(_0x0de7('0x2'));var moment=require('moment');var BPromise=require(_0x0de7('0x3'));var rp=require(_0x0de7('0x4'));var fs=require('fs');var path=require(_0x0de7('0x5'));var rimraf=require(_0x0de7('0x6'));var config=require('../../config/environment');var attributes=require(_0x0de7('0x7'));module[_0x0de7('0x8')]=function(_0x119861,_0x3264f8){return _0x119861['define'](_0x0de7('0x9'),attributes,{'tableName':_0x0de7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};