Built motion from commit d5e4af8c.|2.6.23
[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 _0x98f6=['report_integration','lodash','api','moment','bluebird','request-promise','path','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport'];(function(_0x303c30,_0x16edcb){var _0x43161b=function(_0x3330ff){while(--_0x3330ff){_0x303c30['push'](_0x303c30['shift']());}};_0x43161b(++_0x16edcb);}(_0x98f6,0x79));var _0x698f=function(_0x58df23,_0x3e9eb9){_0x58df23=_0x58df23-0x0;var _0x2fcd18=_0x98f6[_0x58df23];return _0x2fcd18;};'use strict';var _=require(_0x698f('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x698f('0x1'));var moment=require(_0x698f('0x2'));var BPromise=require(_0x698f('0x3'));var rp=require(_0x698f('0x4'));var fs=require('fs');var path=require(_0x698f('0x5'));var rimraf=require('rimraf');var config=require(_0x698f('0x6'));var attributes=require(_0x698f('0x7'));module[_0x698f('0x8')]=function(_0xc57c24,_0x13fd0a){return _0xc57c24[_0x698f('0x9')](_0x698f('0xa'),attributes,{'tableName':_0x698f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};