Built motion from commit 19a84241.|2.5.34
[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 _0xe084=['request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports','define','report_integration','util','../../config/logger','bluebird'];(function(_0xffdf03,_0xc51295){var _0x562cec=function(_0x3c40c3){while(--_0x3c40c3){_0xffdf03['push'](_0xffdf03['shift']());}};_0x562cec(++_0xc51295);}(_0xe084,0x17e));var _0x4e08=function(_0x3b53e2,_0x56226e){_0x3b53e2=_0x3b53e2-0x0;var _0x5100cd=_0xe084[_0x3b53e2];return _0x5100cd;};'use strict';var _=require('lodash');var util=require(_0x4e08('0x0'));var logger=require(_0x4e08('0x1'))('api');var moment=require('moment');var BPromise=require(_0x4e08('0x2'));var rp=require(_0x4e08('0x3'));var fs=require('fs');var path=require(_0x4e08('0x4'));var rimraf=require(_0x4e08('0x5'));var config=require(_0x4e08('0x6'));var attributes=require(_0x4e08('0x7'));module[_0x4e08('0x8')]=function(_0x263fd5,_0x553e43){return _0x263fd5[_0x4e08('0x9')]('IntegrationReport',attributes,{'tableName':_0x4e08('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};