182342ec8c832e6a59385eb37ac6e3be8b646ef5
[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 _0x53ac=['request-promise','path','rimraf','../../config/environment','./jscriptySessionReport.attributes','exports','JscriptySessionReport','report_jscripty_sessions','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x34e71b,_0x324029){var _0x47688c=function(_0x2dda40){while(--_0x2dda40){_0x34e71b['push'](_0x34e71b['shift']());}};_0x47688c(++_0x324029);}(_0x53ac,0x1f2));var _0xc53a=function(_0x8ed317,_0x5b50bc){_0x8ed317=_0x8ed317-0x0;var _0x3d07de=_0x53ac[_0x8ed317];return _0x3d07de;};'use strict';var _=require(_0xc53a('0x0'));var util=require(_0xc53a('0x1'));var logger=require(_0xc53a('0x2'))(_0xc53a('0x3'));var moment=require(_0xc53a('0x4'));var BPromise=require(_0xc53a('0x5'));var rp=require(_0xc53a('0x6'));var fs=require('fs');var path=require(_0xc53a('0x7'));var rimraf=require(_0xc53a('0x8'));var config=require(_0xc53a('0x9'));var attributes=require(_0xc53a('0xa'));module[_0xc53a('0xb')]=function(_0x1f15b0,_0x59239c){return _0x1f15b0['define'](_0xc53a('0xc'),attributes,{'tableName':_0xc53a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};