f8b75dc81dfb5929b0aa44b9db4df7adf74baced
[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 _0x0d1e=['define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports'];(function(_0x3a3f0c,_0x174f79){var _0x184722=function(_0x4fb5c3){while(--_0x4fb5c3){_0x3a3f0c['push'](_0x3a3f0c['shift']());}};_0x184722(++_0x174f79);}(_0x0d1e,0x153));var _0xe0d1=function(_0x27dce9,_0x10d2f8){_0x27dce9=_0x27dce9-0x0;var _0x1fec31=_0x0d1e[_0x27dce9];return _0x1fec31;};'use strict';var _=require(_0xe0d1('0x0'));var util=require(_0xe0d1('0x1'));var logger=require(_0xe0d1('0x2'))(_0xe0d1('0x3'));var moment=require('moment');var BPromise=require(_0xe0d1('0x4'));var rp=require(_0xe0d1('0x5'));var fs=require('fs');var path=require(_0xe0d1('0x6'));var rimraf=require(_0xe0d1('0x7'));var config=require(_0xe0d1('0x8'));var attributes=require(_0xe0d1('0x9'));module[_0xe0d1('0xa')]=function(_0x27ad0a,_0x2567fd){return _0x27ad0a[_0xe0d1('0xb')](_0xe0d1('0xc'),attributes,{'tableName':_0xe0d1('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};