Built motion from commit f7863d46.|2.5.41
[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 _0x07de=['../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x35edc4,_0x49e240){var _0x269ba5=function(_0x1d2806){while(--_0x1d2806){_0x35edc4['push'](_0x35edc4['shift']());}};_0x269ba5(++_0x49e240);}(_0x07de,0xc9));var _0xe07d=function(_0x551201,_0x46672d){_0x551201=_0x551201-0x0;var _0x39ce87=_0x07de[_0x551201];return _0x39ce87;};'use strict';var _=require(_0xe07d('0x0'));var util=require(_0xe07d('0x1'));var logger=require(_0xe07d('0x2'))(_0xe07d('0x3'));var moment=require(_0xe07d('0x4'));var BPromise=require(_0xe07d('0x5'));var rp=require(_0xe07d('0x6'));var fs=require('fs');var path=require(_0xe07d('0x7'));var rimraf=require(_0xe07d('0x8'));var config=require(_0xe07d('0x9'));var attributes=require(_0xe07d('0xa'));module[_0xe07d('0xb')]=function(_0x3f6d53,_0x598376){return _0x3f6d53[_0xe07d('0xc')](_0xe07d('0xd'),attributes,{'tableName':_0xe07d('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};