7a63e75583de9a371d2bd2220919f8ecff4467fb
[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 _0x221f=['lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./jscriptySessionReport.attributes','define','JscriptySessionReport','report_jscripty_sessions'];(function(_0x4bcb0d,_0x3d98bb){var _0x314b27=function(_0x355be6){while(--_0x355be6){_0x4bcb0d['push'](_0x4bcb0d['shift']());}};_0x314b27(++_0x3d98bb);}(_0x221f,0x114));var _0xf221=function(_0x2c396c,_0x4db177){_0x2c396c=_0x2c396c-0x0;var _0x26219b=_0x221f[_0x2c396c];return _0x26219b;};'use strict';var _=require(_0xf221('0x0'));var util=require(_0xf221('0x1'));var logger=require('../../config/logger')(_0xf221('0x2'));var moment=require('moment');var BPromise=require(_0xf221('0x3'));var rp=require(_0xf221('0x4'));var fs=require('fs');var path=require(_0xf221('0x5'));var rimraf=require(_0xf221('0x6'));var config=require(_0xf221('0x7'));var attributes=require(_0xf221('0x8'));module['exports']=function(_0x6fd6a9,_0x3e4646){return _0x6fd6a9[_0xf221('0x9')](_0xf221('0xa'),attributes,{'tableName':_0xf221('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};