Built motion from commit 47436d59.|2.6.7
[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 _0x03a2=['request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x2eaedd,_0x285551){var _0x223011=function(_0x44fbd2){while(--_0x44fbd2){_0x2eaedd['push'](_0x2eaedd['shift']());}};_0x223011(++_0x285551);}(_0x03a2,0x72));var _0x203a=function(_0x4a3730,_0x1c9930){_0x4a3730=_0x4a3730-0x0;var _0x21e5ec=_0x03a2[_0x4a3730];return _0x21e5ec;};'use strict';var _=require(_0x203a('0x0'));var util=require(_0x203a('0x1'));var logger=require(_0x203a('0x2'))(_0x203a('0x3'));var moment=require(_0x203a('0x4'));var BPromise=require(_0x203a('0x5'));var rp=require(_0x203a('0x6'));var fs=require('fs');var path=require(_0x203a('0x7'));var rimraf=require(_0x203a('0x8'));var config=require(_0x203a('0x9'));var attributes=require(_0x203a('0xa'));module[_0x203a('0xb')]=function(_0x305305,_0x17e056){return _0x305305[_0x203a('0xc')](_0x203a('0xd'),attributes,{'tableName':_0x203a('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};