3ae61ea64b2177cdd3f95bb100c114e2a0ea1535
[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 _0x8f6b=['report_integration','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./integrationReport.attributes','define','IntegrationReport'];(function(_0x380974,_0x2f9563){var _0x12700b=function(_0xdc143e){while(--_0xdc143e){_0x380974['push'](_0x380974['shift']());}};_0x12700b(++_0x2f9563);}(_0x8f6b,0x6d));var _0xb8f6=function(_0x45e98e,_0x169b60){_0x45e98e=_0x45e98e-0x0;var _0x374dba=_0x8f6b[_0x45e98e];return _0x374dba;};'use strict';var _=require(_0xb8f6('0x0'));var util=require('util');var logger=require(_0xb8f6('0x1'))(_0xb8f6('0x2'));var moment=require(_0xb8f6('0x3'));var BPromise=require(_0xb8f6('0x4'));var rp=require(_0xb8f6('0x5'));var fs=require('fs');var path=require(_0xb8f6('0x6'));var rimraf=require('rimraf');var config=require(_0xb8f6('0x7'));var attributes=require(_0xb8f6('0x8'));module['exports']=function(_0x5cdc83,_0x5c802a){return _0x5cdc83[_0xb8f6('0x9')](_0xb8f6('0xa'),attributes,{'tableName':_0xb8f6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};