Built motion from commit (unavailable).|2.5.27
[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 _0xe4aa=['moment','bluebird','rimraf','./jscriptySessionReport.attributes','define','JscriptySessionReport','util','../../config/logger','api'];(function(_0x385662,_0x25e737){var _0x237d45=function(_0x345494){while(--_0x345494){_0x385662['push'](_0x385662['shift']());}};_0x237d45(++_0x25e737);}(_0xe4aa,0x8d));var _0xae4a=function(_0x2390a6,_0x4e4999){_0x2390a6=_0x2390a6-0x0;var _0x163c8f=_0xe4aa[_0x2390a6];return _0x163c8f;};'use strict';var _=require('lodash');var util=require(_0xae4a('0x0'));var logger=require(_0xae4a('0x1'))(_0xae4a('0x2'));var moment=require(_0xae4a('0x3'));var BPromise=require(_0xae4a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xae4a('0x5'));var config=require('../../config/environment');var attributes=require(_0xae4a('0x6'));module['exports']=function(_0x401ee6,_0x35fcf1){return _0x401ee6[_0xae4a('0x7')](_0xae4a('0x8'),attributes,{'tableName':'report_jscripty_sessions','paranoid':![],'indexes':[],'timestamps':!![]});};