bbf2ac5395d71e656be6cb7690770c3ee65eab83
[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 _0x553f=['request-promise','rimraf','../../config/environment','define','report_integration','util','../../config/logger','moment','bluebird'];(function(_0x5f5cce,_0x138cc5){var _0x705ecf=function(_0x28bc5d){while(--_0x28bc5d){_0x5f5cce['push'](_0x5f5cce['shift']());}};_0x705ecf(++_0x138cc5);}(_0x553f,0xd4));var _0xf553=function(_0x580f11,_0x1c271c){_0x580f11=_0x580f11-0x0;var _0x231596=_0x553f[_0x580f11];return _0x231596;};'use strict';var _=require('lodash');var util=require(_0xf553('0x0'));var logger=require(_0xf553('0x1'))('api');var moment=require(_0xf553('0x2'));var BPromise=require(_0xf553('0x3'));var rp=require(_0xf553('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf553('0x5'));var config=require(_0xf553('0x6'));var attributes=require('./integrationReport.attributes');module['exports']=function(_0x1c6f1b,_0x420391){return _0x1c6f1b[_0xf553('0x7')]('IntegrationReport',attributes,{'tableName':_0xf553('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};