Built motion from commit 1fa89557.|2.6.10
[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 _0xebfe=['moment','path','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash','util','api'];(function(_0x15e8ce,_0x334210){var _0x463fea=function(_0x9b9bf8){while(--_0x9b9bf8){_0x15e8ce['push'](_0x15e8ce['shift']());}};_0x463fea(++_0x334210);}(_0xebfe,0x1d6));var _0xeebf=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xebfe[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xeebf('0x0'));var util=require(_0xeebf('0x1'));var logger=require('../../config/logger')(_0xeebf('0x2'));var moment=require(_0xeebf('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xeebf('0x4'));var rimraf=require('rimraf');var config=require(_0xeebf('0x5'));var attributes=require(_0xeebf('0x6'));module[_0xeebf('0x7')]=function(_0x36d8f5,_0x1d59f5){return _0x36d8f5[_0xeebf('0x8')](_0xeebf('0x9'),attributes,{'tableName':_0xeebf('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};