Built motion from commit (unavailable).|2.3.4
[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 _0xb43a=['define','JscriptySessionReport','report_jscripty_sessions','util','../../config/logger','api','moment','request-promise','exports'];(function(_0x51028d,_0x4a5d44){var _0x2bbef4=function(_0x219699){while(--_0x219699){_0x51028d['push'](_0x51028d['shift']());}};_0x2bbef4(++_0x4a5d44);}(_0xb43a,0x16b));var _0xab43=function(_0x4ed4d2,_0x47acf7){_0x4ed4d2=_0x4ed4d2-0x0;var _0x15ae2e=_0xb43a[_0x4ed4d2];return _0x15ae2e;};'use strict';var _=require('lodash');var util=require(_0xab43('0x0'));var logger=require(_0xab43('0x1'))(_0xab43('0x2'));var moment=require(_0xab43('0x3'));var BPromise=require('bluebird');var rp=require(_0xab43('0x4'));var attributes=require('./jscriptySessionReport.attributes');module[_0xab43('0x5')]=function(_0x25d329,_0x20c88f){return _0x25d329[_0xab43('0x6')](_0xab43('0x7'),attributes,{'tableName':_0xab43('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};