Built motion from commit 25580385.|2.6.2
[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 _0x3a13=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','./integrationReport.attributes','exports','define','IntegrationReport','report_integration'];(function(_0x3fc0a7,_0x4d1a87){var _0x5d3d1a=function(_0x1bc629){while(--_0x1bc629){_0x3fc0a7['push'](_0x3fc0a7['shift']());}};_0x5d3d1a(++_0x4d1a87);}(_0x3a13,0xc3));var _0x33a1=function(_0x2bf141,_0x31eac7){_0x2bf141=_0x2bf141-0x0;var _0x48277b=_0x3a13[_0x2bf141];return _0x48277b;};'use strict';var _=require(_0x33a1('0x0'));var util=require(_0x33a1('0x1'));var logger=require(_0x33a1('0x2'))(_0x33a1('0x3'));var moment=require(_0x33a1('0x4'));var BPromise=require('bluebird');var rp=require(_0x33a1('0x5'));var fs=require('fs');var path=require(_0x33a1('0x6'));var rimraf=require(_0x33a1('0x7'));var config=require('../../config/environment');var attributes=require(_0x33a1('0x8'));module[_0x33a1('0x9')]=function(_0xd24b9,_0x4a5194){return _0xd24b9[_0x33a1('0xa')](_0x33a1('0xb'),attributes,{'tableName':_0x33a1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};