Built motion from commit (unavailable).|2.5.21
[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 _0x19e6=['rimraf','../../config/environment','exports','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment','path'];(function(_0x98f588,_0x5176a5){var _0x4ae56e=function(_0x1a901b){while(--_0x1a901b){_0x98f588['push'](_0x98f588['shift']());}};_0x4ae56e(++_0x5176a5);}(_0x19e6,0x17b));var _0x619e=function(_0x2edbda,_0x4e2b3a){_0x2edbda=_0x2edbda-0x0;var _0x2f2211=_0x19e6[_0x2edbda];return _0x2f2211;};'use strict';var _=require(_0x619e('0x0'));var util=require(_0x619e('0x1'));var logger=require(_0x619e('0x2'))(_0x619e('0x3'));var moment=require(_0x619e('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x619e('0x5'));var rimraf=require(_0x619e('0x6'));var config=require(_0x619e('0x7'));var attributes=require('./integrationReport.attributes');module[_0x619e('0x8')]=function(_0x2d0bbb,_0x3040a4){return _0x2d0bbb['define'](_0x619e('0x9'),attributes,{'tableName':_0x619e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};