a5425e82a1cfac9da7ca8f81ccf2538985f8750f
[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 _0x4612=['util','api','moment','bluebird','path','rimraf','./jscriptySessionReport.attributes','define','JscriptySessionReport','report_jscripty_sessions','lodash'];(function(_0x5dbb3e,_0x4b494d){var _0x138d23=function(_0x414fb4){while(--_0x414fb4){_0x5dbb3e['push'](_0x5dbb3e['shift']());}};_0x138d23(++_0x4b494d);}(_0x4612,0xe6));var _0x2461=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x4612[_0x501510];return _0x1e6ee5;};'use strict';var _=require(_0x2461('0x0'));var util=require(_0x2461('0x1'));var logger=require('../../config/logger')(_0x2461('0x2'));var moment=require(_0x2461('0x3'));var BPromise=require(_0x2461('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2461('0x5'));var rimraf=require(_0x2461('0x6'));var config=require('../../config/environment');var attributes=require(_0x2461('0x7'));module['exports']=function(_0x573126,_0x20cc6d){return _0x573126[_0x2461('0x8')](_0x2461('0x9'),attributes,{'tableName':_0x2461('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};