198077e2478002e020d88eab5aa1c749dea242c6
[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 _0xcac0=['lodash','util','../../config/logger','moment','bluebird','request-promise','define','report_integration'];(function(_0x1f5f1c,_0x24d009){var _0x3c8eb2=function(_0x15bbf3){while(--_0x15bbf3){_0x1f5f1c['push'](_0x1f5f1c['shift']());}};_0x3c8eb2(++_0x24d009);}(_0xcac0,0x1c8));var _0x0cac=function(_0x1b1008,_0x4b5367){_0x1b1008=_0x1b1008-0x0;var _0x4e1111=_0xcac0[_0x1b1008];return _0x4e1111;};'use strict';var _=require(_0x0cac('0x0'));var util=require(_0x0cac('0x1'));var logger=require(_0x0cac('0x2'))('api');var moment=require(_0x0cac('0x3'));var BPromise=require(_0x0cac('0x4'));var rp=require(_0x0cac('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./integrationReport.attributes');module['exports']=function(_0x233cf7,_0x4424ad){return _0x233cf7[_0x0cac('0x6')]('IntegrationReport',attributes,{'tableName':_0x0cac('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};