a20a7e23e9e8763c6f10b0e5cc0674fc721962fe
[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 _0xbf28=['moment','request-promise','path','rimraf','./integrationReport.attributes','exports','report_integration','util'];(function(_0xa3a6d4,_0xdb44b9){var _0x570398=function(_0x304d9d){while(--_0x304d9d){_0xa3a6d4['push'](_0xa3a6d4['shift']());}};_0x570398(++_0xdb44b9);}(_0xbf28,0x1bf));var _0x8bf2=function(_0x49e4f2,_0x171386){_0x49e4f2=_0x49e4f2-0x0;var _0x40085b=_0xbf28[_0x49e4f2];return _0x40085b;};'use strict';var _=require('lodash');var util=require(_0x8bf2('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x8bf2('0x1'));var BPromise=require('bluebird');var rp=require(_0x8bf2('0x2'));var fs=require('fs');var path=require(_0x8bf2('0x3'));var rimraf=require(_0x8bf2('0x4'));var config=require('../../config/environment');var attributes=require(_0x8bf2('0x5'));module[_0x8bf2('0x6')]=function(_0x69aee0,_0xa0726f){return _0x69aee0['define']('IntegrationReport',attributes,{'tableName':_0x8bf2('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};