f0f920f042da3d898545770afeebe5ef7ccd6b63
[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 _0x5a49=['moment','path','rimraf','../../config/environment','./jscriptySessionReport.attributes','define','report_jscripty_sessions','lodash','util','../../config/logger'];(function(_0xdea41a,_0x552987){var _0x15d0d8=function(_0x1e0d0b){while(--_0x1e0d0b){_0xdea41a['push'](_0xdea41a['shift']());}};_0x15d0d8(++_0x552987);}(_0x5a49,0x1e7));var _0x95a4=function(_0x16910b,_0xca7898){_0x16910b=_0x16910b-0x0;var _0x2ac267=_0x5a49[_0x16910b];return _0x2ac267;};'use strict';var _=require(_0x95a4('0x0'));var util=require(_0x95a4('0x1'));var logger=require(_0x95a4('0x2'))('api');var moment=require(_0x95a4('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x95a4('0x4'));var rimraf=require(_0x95a4('0x5'));var config=require(_0x95a4('0x6'));var attributes=require(_0x95a4('0x7'));module['exports']=function(_0x5b1468,_0x370542){return _0x5b1468[_0x95a4('0x8')]('JscriptySessionReport',attributes,{'tableName':_0x95a4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};