025cb57528264f0405500e40b48a1ed344ad27f0
[motion2.git] / server / api / jscriptySessionReport / jscriptySessionReport.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 _0x37cb=['JscriptySessionReport','report_jscripty_sessions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./jscriptySessionReport.attributes','exports','define'];(function(_0x10b4d4,_0x5981f5){var _0x297bd2=function(_0x5c4414){while(--_0x5c4414){_0x10b4d4['push'](_0x10b4d4['shift']());}};_0x297bd2(++_0x5981f5);}(_0x37cb,0x12d));var _0xb37c=function(_0x263a74,_0xc31414){_0x263a74=_0x263a74-0x0;var _0x2aa86c=_0x37cb[_0x263a74];return _0x2aa86c;};'use strict';var _=require(_0xb37c('0x0'));var util=require(_0xb37c('0x1'));var logger=require(_0xb37c('0x2'))(_0xb37c('0x3'));var moment=require(_0xb37c('0x4'));var BPromise=require(_0xb37c('0x5'));var rp=require(_0xb37c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xb37c('0x7'));var attributes=require(_0xb37c('0x8'));module[_0xb37c('0x9')]=function(_0x26b8e7,_0xdcf896){return _0x26b8e7[_0xb37c('0xa')](_0xb37c('0xb'),attributes,{'tableName':_0xb37c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};