Built motion from commit (unavailable).|2.5.17
[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 _0x3d90=['define','JscriptySessionReport','report_jscripty_sessions','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0xcbd959,_0x323ef6){var _0x7293aa=function(_0x1ec0d7){while(--_0x1ec0d7){_0xcbd959['push'](_0xcbd959['shift']());}};_0x7293aa(++_0x323ef6);}(_0x3d90,0x16f));var _0x03d9=function(_0x441014,_0x222e94){_0x441014=_0x441014-0x0;var _0x174974=_0x3d90[_0x441014];return _0x174974;};'use strict';var _=require(_0x03d9('0x0'));var util=require(_0x03d9('0x1'));var logger=require('../../config/logger')(_0x03d9('0x2'));var moment=require(_0x03d9('0x3'));var BPromise=require(_0x03d9('0x4'));var rp=require(_0x03d9('0x5'));var fs=require('fs');var path=require(_0x03d9('0x6'));var rimraf=require(_0x03d9('0x7'));var config=require(_0x03d9('0x8'));var attributes=require('./jscriptySessionReport.attributes');module[_0x03d9('0x9')]=function(_0x255439,_0x15091d){return _0x255439[_0x03d9('0xa')](_0x03d9('0xb'),attributes,{'tableName':_0x03d9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};