c0e958d01f18120aa6d22c4d6ab64241a3ff909b
[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 _0x9efc=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','report_integration','lodash','util','../../config/logger','api','moment'];(function(_0xacf489,_0x1efe81){var _0x56e2a0=function(_0x26adbd){while(--_0x26adbd){_0xacf489['push'](_0xacf489['shift']());}};_0x56e2a0(++_0x1efe81);}(_0x9efc,0x174));var _0xc9ef=function(_0x590a38,_0x2bc65c){_0x590a38=_0x590a38-0x0;var _0xf36626=_0x9efc[_0x590a38];return _0xf36626;};'use strict';var _=require(_0xc9ef('0x0'));var util=require(_0xc9ef('0x1'));var logger=require(_0xc9ef('0x2'))(_0xc9ef('0x3'));var moment=require(_0xc9ef('0x4'));var BPromise=require(_0xc9ef('0x5'));var rp=require(_0xc9ef('0x6'));var fs=require('fs');var path=require(_0xc9ef('0x7'));var rimraf=require(_0xc9ef('0x8'));var config=require(_0xc9ef('0x9'));var attributes=require('./integrationReport.attributes');module[_0xc9ef('0xa')]=function(_0x38b649,_0x1f30ea){return _0x38b649[_0xc9ef('0xb')]('IntegrationReport',attributes,{'tableName':_0xc9ef('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};