Built motion from commit d5e4af8c.|2.6.23
[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 _0xb900=['define','IntegrationReport','report_integration','lodash','util','../../config/logger','api','bluebird','path','rimraf','./integrationReport.attributes'];(function(_0xb49b0c,_0x131f93){var _0x58206e=function(_0x2c78df){while(--_0x2c78df){_0xb49b0c['push'](_0xb49b0c['shift']());}};_0x58206e(++_0x131f93);}(_0xb900,0x121));var _0x0b90=function(_0x111de4,_0x346f51){_0x111de4=_0x111de4-0x0;var _0x2223a5=_0xb900[_0x111de4];return _0x2223a5;};'use strict';var _=require(_0x0b90('0x0'));var util=require(_0x0b90('0x1'));var logger=require(_0x0b90('0x2'))(_0x0b90('0x3'));var moment=require('moment');var BPromise=require(_0x0b90('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0b90('0x5'));var rimraf=require(_0x0b90('0x6'));var config=require('../../config/environment');var attributes=require(_0x0b90('0x7'));module['exports']=function(_0xe7718e,_0x1a2969){return _0xe7718e[_0x0b90('0x8')](_0x0b90('0x9'),attributes,{'tableName':_0x0b90('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};