Built motion from commit (unavailable).|2.5.30
[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 _0x28eb=['exports','define','IntegrationReport','report_integration','lodash','util','api','moment','request-promise','path','rimraf','./integrationReport.attributes'];(function(_0x22a524,_0x32c0d0){var _0x2ebb53=function(_0x4899a6){while(--_0x4899a6){_0x22a524['push'](_0x22a524['shift']());}};_0x2ebb53(++_0x32c0d0);}(_0x28eb,0xf4));var _0xb28e=function(_0x35b322,_0x136051){_0x35b322=_0x35b322-0x0;var _0x158712=_0x28eb[_0x35b322];return _0x158712;};'use strict';var _=require(_0xb28e('0x0'));var util=require(_0xb28e('0x1'));var logger=require('../../config/logger')(_0xb28e('0x2'));var moment=require(_0xb28e('0x3'));var BPromise=require('bluebird');var rp=require(_0xb28e('0x4'));var fs=require('fs');var path=require(_0xb28e('0x5'));var rimraf=require(_0xb28e('0x6'));var config=require('../../config/environment');var attributes=require(_0xb28e('0x7'));module[_0xb28e('0x8')]=function(_0x20905e,_0x1732d2){return _0x20905e[_0xb28e('0x9')](_0xb28e('0xa'),attributes,{'tableName':_0xb28e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};