9343a403f8a35debb065067d38b7c0e65cf38a58
[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 _0xe448=['../../config/environment','./integrationReport.attributes','exports','IntegrationReport','report_integration','lodash','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x465b46,_0x5d07e7){var _0x481a1f=function(_0x302f01){while(--_0x302f01){_0x465b46['push'](_0x465b46['shift']());}};_0x481a1f(++_0x5d07e7);}(_0xe448,0xe9));var _0x8e44=function(_0x5c5741,_0x1990b0){_0x5c5741=_0x5c5741-0x0;var _0x5c3243=_0xe448[_0x5c5741];return _0x5c3243;};'use strict';var _=require(_0x8e44('0x0'));var util=require('util');var logger=require(_0x8e44('0x1'))(_0x8e44('0x2'));var moment=require(_0x8e44('0x3'));var BPromise=require(_0x8e44('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8e44('0x5'));var rimraf=require(_0x8e44('0x6'));var config=require(_0x8e44('0x7'));var attributes=require(_0x8e44('0x8'));module[_0x8e44('0x9')]=function(_0x335b15,_0x214fc5){return _0x335b15['define'](_0x8e44('0xa'),attributes,{'tableName':_0x8e44('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};