Built motion from commit (unavailable).|2.4.17
[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 _0x0707=['exports','define','IntegrationReport','report_integration','api','moment','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes'];(function(_0x2ba884,_0x3900fe){var _0x19e770=function(_0x45848e){while(--_0x45848e){_0x2ba884['push'](_0x2ba884['shift']());}};_0x19e770(++_0x3900fe);}(_0x0707,0x10c));var _0x7070=function(_0x3f6ffc,_0x236ea8){_0x3f6ffc=_0x3f6ffc-0x0;var _0x1f9d68=_0x0707[_0x3f6ffc];return _0x1f9d68;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x7070('0x0'));var moment=require(_0x7070('0x1'));var BPromise=require('bluebird');var rp=require(_0x7070('0x2'));var fs=require('fs');var path=require(_0x7070('0x3'));var rimraf=require(_0x7070('0x4'));var config=require(_0x7070('0x5'));var attributes=require(_0x7070('0x6'));module[_0x7070('0x7')]=function(_0x5944f4,_0x2dfa8c){return _0x5944f4[_0x7070('0x8')](_0x7070('0x9'),attributes,{'tableName':_0x7070('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};