Built motion from commit (unavailable).|2.5.8
[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 _0x9fbd=['../../config/logger','bluebird','request-promise','path','../../config/environment','exports','JscriptySessionReport','report_jscripty_sessions','lodash'];(function(_0x3a683a,_0x599da3){var _0x1d4345=function(_0x100218){while(--_0x100218){_0x3a683a['push'](_0x3a683a['shift']());}};_0x1d4345(++_0x599da3);}(_0x9fbd,0x18b));var _0xd9fb=function(_0x58b2c2,_0x2a152c){_0x58b2c2=_0x58b2c2-0x0;var _0x4049cd=_0x9fbd[_0x58b2c2];return _0x4049cd;};'use strict';var _=require(_0xd9fb('0x0'));var util=require('util');var logger=require(_0xd9fb('0x1'))('api');var moment=require('moment');var BPromise=require(_0xd9fb('0x2'));var rp=require(_0xd9fb('0x3'));var fs=require('fs');var path=require(_0xd9fb('0x4'));var rimraf=require('rimraf');var config=require(_0xd9fb('0x5'));var attributes=require('./jscriptySessionReport.attributes');module[_0xd9fb('0x6')]=function(_0x3c0961,_0x50cebb){return _0x3c0961['define'](_0xd9fb('0x7'),attributes,{'tableName':_0xd9fb('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};