Built motion from commit (unavailable).|2.5.4
[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 _0xa960=['api','bluebird','path','rimraf','./integrationReport.attributes','define','report_integration','lodash'];(function(_0x4b05a1,_0x2fc152){var _0x5a2aba=function(_0x4f09cb){while(--_0x4f09cb){_0x4b05a1['push'](_0x4b05a1['shift']());}};_0x5a2aba(++_0x2fc152);}(_0xa960,0x1cf));var _0x0a96=function(_0x1be94d,_0x3ccbcd){_0x1be94d=_0x1be94d-0x0;var _0x5908a0=_0xa960[_0x1be94d];return _0x5908a0;};'use strict';var _=require(_0x0a96('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0a96('0x1'));var moment=require('moment');var BPromise=require(_0x0a96('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0a96('0x3'));var rimraf=require(_0x0a96('0x4'));var config=require('../../config/environment');var attributes=require(_0x0a96('0x5'));module['exports']=function(_0x1fcddb,_0x1da89c){return _0x1fcddb[_0x0a96('0x6')]('IntegrationReport',attributes,{'tableName':_0x0a96('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};