e899084867a9a88be276e158bcc823339fb3d578
[motion2.git] / server / api / reportAgentPreview / reportAgentPreview.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 _0x4cde=['./reportAgentPreview.attributes','exports','define','report_agent_preview','lodash','../../config/logger','moment','bluebird','request-promise','../../config/environment'];(function(_0x59b439,_0x14ae7b){var _0x521ea3=function(_0x5af627){while(--_0x5af627){_0x59b439['push'](_0x59b439['shift']());}};_0x521ea3(++_0x14ae7b);}(_0x4cde,0x18a));var _0xe4cd=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4cde[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xe4cd('0x0'));var util=require('util');var logger=require(_0xe4cd('0x1'))('api');var moment=require(_0xe4cd('0x2'));var BPromise=require(_0xe4cd('0x3'));var rp=require(_0xe4cd('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe4cd('0x5'));var attributes=require(_0xe4cd('0x6'));module[_0xe4cd('0x7')]=function(_0xaffbd5,_0xb642c0){return _0xaffbd5[_0xe4cd('0x8')]('ReportAgentPreview',attributes,{'tableName':_0xe4cd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};