Built motion from commit (unavailable).|2.4.21
[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 _0x6766=['lodash','util','../../config/logger','api','bluebird','path','rimraf','./integrationReport.attributes','exports','define','IntegrationReport','report_integration'];(function(_0x171091,_0x1afac9){var _0x13b30d=function(_0x3f574a){while(--_0x3f574a){_0x171091['push'](_0x171091['shift']());}};_0x13b30d(++_0x1afac9);}(_0x6766,0x1e0));var _0x6676=function(_0x220afa,_0xf5f6cc){_0x220afa=_0x220afa-0x0;var _0x1b79d1=_0x6766[_0x220afa];return _0x1b79d1;};'use strict';var _=require(_0x6676('0x0'));var util=require(_0x6676('0x1'));var logger=require(_0x6676('0x2'))(_0x6676('0x3'));var moment=require('moment');var BPromise=require(_0x6676('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6676('0x5'));var rimraf=require(_0x6676('0x6'));var config=require('../../config/environment');var attributes=require(_0x6676('0x7'));module[_0x6676('0x8')]=function(_0x322a7e,_0x123bb1){return _0x322a7e[_0x6676('0x9')](_0x6676('0xa'),attributes,{'tableName':_0x6676('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};