Built motion from commit 9d1906d1.|2.5.40
[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 _0x84ba=['util','api','moment','bluebird','path','rimraf','exports','define','lodash'];(function(_0x36de10,_0xfe25e8){var _0x58100f=function(_0x1fee3f){while(--_0x1fee3f){_0x36de10['push'](_0x36de10['shift']());}};_0x58100f(++_0xfe25e8);}(_0x84ba,0x13a));var _0xa84b=function(_0x43e542,_0x575858){_0x43e542=_0x43e542-0x0;var _0x529423=_0x84ba[_0x43e542];return _0x529423;};'use strict';var _=require(_0xa84b('0x0'));var util=require(_0xa84b('0x1'));var logger=require('../../config/logger')(_0xa84b('0x2'));var moment=require(_0xa84b('0x3'));var BPromise=require(_0xa84b('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa84b('0x5'));var rimraf=require(_0xa84b('0x6'));var config=require('../../config/environment');var attributes=require('./integrationReport.attributes');module[_0xa84b('0x7')]=function(_0x1288ff,_0x2a432b){return _0x1288ff[_0xa84b('0x8')]('IntegrationReport',attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};