ff7fe5544dec831faba54971ee09f1a2fd700ceb
[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 _0x1f13=['rimraf','./integrationReport.attributes','define','report_integration','lodash','util','../../config/logger','api','moment','request-promise','path'];(function(_0x16cc3a,_0x41053a){var _0x50418e=function(_0x540b52){while(--_0x540b52){_0x16cc3a['push'](_0x16cc3a['shift']());}};_0x50418e(++_0x41053a);}(_0x1f13,0xbf));var _0x31f1=function(_0x9b8000,_0x5dbd59){_0x9b8000=_0x9b8000-0x0;var _0x35c1ee=_0x1f13[_0x9b8000];return _0x35c1ee;};'use strict';var _=require(_0x31f1('0x0'));var util=require(_0x31f1('0x1'));var logger=require(_0x31f1('0x2'))(_0x31f1('0x3'));var moment=require(_0x31f1('0x4'));var BPromise=require('bluebird');var rp=require(_0x31f1('0x5'));var fs=require('fs');var path=require(_0x31f1('0x6'));var rimraf=require(_0x31f1('0x7'));var config=require('../../config/environment');var attributes=require(_0x31f1('0x8'));module['exports']=function(_0x4a3ef1,_0x278942){return _0x4a3ef1[_0x31f1('0x9')]('IntegrationReport',attributes,{'tableName':_0x31f1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};