ceff8992da6e42e21f7f46ec6726e55be08ac1e0
[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 _0x1ac4=['define','report_integration','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./integrationReport.attributes','exports'];(function(_0x3dd991,_0x4bef12){var _0x251609=function(_0x371481){while(--_0x371481){_0x3dd991['push'](_0x3dd991['shift']());}};_0x251609(++_0x4bef12);}(_0x1ac4,0x1a4));var _0x41ac=function(_0x1d5695,_0x1bc9d1){_0x1d5695=_0x1d5695-0x0;var _0x194f36=_0x1ac4[_0x1d5695];return _0x194f36;};'use strict';var _=require('lodash');var util=require(_0x41ac('0x0'));var logger=require(_0x41ac('0x1'))(_0x41ac('0x2'));var moment=require(_0x41ac('0x3'));var BPromise=require('bluebird');var rp=require(_0x41ac('0x4'));var fs=require('fs');var path=require(_0x41ac('0x5'));var rimraf=require('rimraf');var config=require(_0x41ac('0x6'));var attributes=require(_0x41ac('0x7'));module[_0x41ac('0x8')]=function(_0x1a9cd4,_0x3f6a0e){return _0x1a9cd4[_0x41ac('0x9')]('IntegrationReport',attributes,{'tableName':_0x41ac('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};