a4076be09c0b5836677bb0deb418a8a8f8d05322
[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 _0x16cf=['api','moment','rimraf','../../config/environment','define','JscriptySessionReport','report_jscripty_sessions','lodash','util','../../config/logger'];(function(_0x349627,_0x2868b3){var _0x3b9bc2=function(_0xbed52e){while(--_0xbed52e){_0x349627['push'](_0x349627['shift']());}};_0x3b9bc2(++_0x2868b3);}(_0x16cf,0x1f1));var _0xf16c=function(_0x23e0c8,_0x5d42d5){_0x23e0c8=_0x23e0c8-0x0;var _0x15a2d5=_0x16cf[_0x23e0c8];return _0x15a2d5;};'use strict';var _=require(_0xf16c('0x0'));var util=require(_0xf16c('0x1'));var logger=require(_0xf16c('0x2'))(_0xf16c('0x3'));var moment=require(_0xf16c('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf16c('0x5'));var config=require(_0xf16c('0x6'));var attributes=require('./jscriptySessionReport.attributes');module['exports']=function(_0x44e1c1,_0x5e2229){return _0x44e1c1[_0xf16c('0x7')](_0xf16c('0x8'),attributes,{'tableName':_0xf16c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};