1e3597cf69879b9216eaebc53df9e4790a1012df
[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 _0x2dd6=['bluebird','request-promise','rimraf','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','lodash','util','../../config/logger','api','moment'];(function(_0x727dfa,_0x2327cf){var _0x1562ad=function(_0x47cd05){while(--_0x47cd05){_0x727dfa['push'](_0x727dfa['shift']());}};_0x1562ad(++_0x2327cf);}(_0x2dd6,0x1b5));var _0x62dd=function(_0x2a727f,_0xba5c2){_0x2a727f=_0x2a727f-0x0;var _0x550313=_0x2dd6[_0x2a727f];return _0x550313;};'use strict';var _=require(_0x62dd('0x0'));var util=require(_0x62dd('0x1'));var logger=require(_0x62dd('0x2'))(_0x62dd('0x3'));var moment=require(_0x62dd('0x4'));var BPromise=require(_0x62dd('0x5'));var rp=require(_0x62dd('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x62dd('0x7'));var config=require(_0x62dd('0x8'));var attributes=require(_0x62dd('0x9'));module[_0x62dd('0xa')]=function(_0x4a2dbf,_0x3fadb6){return _0x4a2dbf[_0x62dd('0xb')](_0x62dd('0xc'),attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};