8b8d8c14fc7c453151eb7f3589a505b45bc51dab
[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 _0xdb6c=['request-promise','path','rimraf','exports','define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x19cbcc,_0x44384e){var _0x44d405=function(_0x475354){while(--_0x475354){_0x19cbcc['push'](_0x19cbcc['shift']());}};_0x44d405(++_0x44384e);}(_0xdb6c,0x180));var _0xcdb6=function(_0x419181,_0x5d70b7){_0x419181=_0x419181-0x0;var _0xacf6b1=_0xdb6c[_0x419181];return _0xacf6b1;};'use strict';var _=require(_0xcdb6('0x0'));var util=require(_0xcdb6('0x1'));var logger=require(_0xcdb6('0x2'))(_0xcdb6('0x3'));var moment=require(_0xcdb6('0x4'));var BPromise=require(_0xcdb6('0x5'));var rp=require(_0xcdb6('0x6'));var fs=require('fs');var path=require(_0xcdb6('0x7'));var rimraf=require(_0xcdb6('0x8'));var config=require('../../config/environment');var attributes=require('./integrationReport.attributes');module[_0xcdb6('0x9')]=function(_0x579e02,_0x365fb9){return _0x579e02[_0xcdb6('0xa')](_0xcdb6('0xb'),attributes,{'tableName':_0xcdb6('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};