Built motion from commit (unavailable).|2.4.6
[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 _0x8e00=['report_integration','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','exports','IntegrationReport'];(function(_0x51cf44,_0x2b04e1){var _0xb4dbd6=function(_0x23bc29){while(--_0x23bc29){_0x51cf44['push'](_0x51cf44['shift']());}};_0xb4dbd6(++_0x2b04e1);}(_0x8e00,0x109));var _0x08e0=function(_0x3f7116,_0x56fa09){_0x3f7116=_0x3f7116-0x0;var _0x5789a9=_0x8e00[_0x3f7116];return _0x5789a9;};'use strict';var _=require(_0x08e0('0x0'));var util=require(_0x08e0('0x1'));var logger=require(_0x08e0('0x2'))(_0x08e0('0x3'));var moment=require(_0x08e0('0x4'));var BPromise=require('bluebird');var rp=require(_0x08e0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x08e0('0x6'));var config=require(_0x08e0('0x7'));var attributes=require('./integrationReport.attributes');module[_0x08e0('0x8')]=function(_0x504319,_0x3e8b30){return _0x504319['define'](_0x08e0('0x9'),attributes,{'tableName':_0x08e0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};