ede065f58bed28bb6083ab9183e2545f8c92ee3d
[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 _0x0f55=['bluebird','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','IntegrationReport','report_integration','util','api'];(function(_0x27405e,_0x8bda1){var _0x25bfb3=function(_0x50f217){while(--_0x50f217){_0x27405e['push'](_0x27405e['shift']());}};_0x25bfb3(++_0x8bda1);}(_0x0f55,0xe4));var _0x50f5=function(_0x2d2e85,_0x22faa9){_0x2d2e85=_0x2d2e85-0x0;var _0x3e9f5e=_0x0f55[_0x2d2e85];return _0x3e9f5e;};'use strict';var _=require('lodash');var util=require(_0x50f5('0x0'));var logger=require('../../config/logger')(_0x50f5('0x1'));var moment=require('moment');var BPromise=require(_0x50f5('0x2'));var rp=require(_0x50f5('0x3'));var fs=require('fs');var path=require(_0x50f5('0x4'));var rimraf=require(_0x50f5('0x5'));var config=require(_0x50f5('0x6'));var attributes=require(_0x50f5('0x7'));module['exports']=function(_0x3c1cf1,_0x2f4eda){return _0x3c1cf1['define'](_0x50f5('0x8'),attributes,{'tableName':_0x50f5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};