Built motion from commit 85328c08.|2.5.50
[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 _0x330f=['define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./integrationReport.attributes','exports'];(function(_0x11005e,_0x20c3d2){var _0x29338f=function(_0x3384e9){while(--_0x3384e9){_0x11005e['push'](_0x11005e['shift']());}};_0x29338f(++_0x20c3d2);}(_0x330f,0x92));var _0xf330=function(_0x5f50b5,_0xa8db83){_0x5f50b5=_0x5f50b5-0x0;var _0x54c383=_0x330f[_0x5f50b5];return _0x54c383;};'use strict';var _=require(_0xf330('0x0'));var util=require(_0xf330('0x1'));var logger=require(_0xf330('0x2'))(_0xf330('0x3'));var moment=require(_0xf330('0x4'));var BPromise=require(_0xf330('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf330('0x6'));var config=require(_0xf330('0x7'));var attributes=require(_0xf330('0x8'));module[_0xf330('0x9')]=function(_0x14b93a,_0x5c925c){return _0x14b93a[_0xf330('0xa')](_0xf330('0xb'),attributes,{'tableName':_0xf330('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};