Built motion from commit (unavailable).|2.5.8
[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 _0x941b=['exports','define','IntegrationReport','lodash','util','api','bluebird','path','rimraf','../../config/environment','./integrationReport.attributes'];(function(_0x33fa0a,_0x4f9bf1){var _0x4d5308=function(_0x102e06){while(--_0x102e06){_0x33fa0a['push'](_0x33fa0a['shift']());}};_0x4d5308(++_0x4f9bf1);}(_0x941b,0x142));var _0xb941=function(_0x2b75b6,_0x64e22b){_0x2b75b6=_0x2b75b6-0x0;var _0x4896db=_0x941b[_0x2b75b6];return _0x4896db;};'use strict';var _=require(_0xb941('0x0'));var util=require(_0xb941('0x1'));var logger=require('../../config/logger')(_0xb941('0x2'));var moment=require('moment');var BPromise=require(_0xb941('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb941('0x4'));var rimraf=require(_0xb941('0x5'));var config=require(_0xb941('0x6'));var attributes=require(_0xb941('0x7'));module[_0xb941('0x8')]=function(_0x475e3f,_0x224ace){return _0x475e3f[_0xb941('0x9')](_0xb941('0xa'),attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};