fb13a9bd45a6927040fe6a96e30ad848d214e039
[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 _0x9be1=['exports','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','api','moment','request-promise','rimraf','./reportAgentPreview.attributes'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x9be1,0x1c0));var _0x19be=function(_0x59e230,_0x1e2355){_0x59e230=_0x59e230-0x0;var _0x3f121e=_0x9be1[_0x59e230];return _0x3f121e;};'use strict';var _=require(_0x19be('0x0'));var util=require(_0x19be('0x1'));var logger=require(_0x19be('0x2'))(_0x19be('0x3'));var moment=require(_0x19be('0x4'));var BPromise=require('bluebird');var rp=require(_0x19be('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x19be('0x6'));var config=require('../../config/environment');var attributes=require(_0x19be('0x7'));module[_0x19be('0x8')]=function(_0x399521,_0xbcbd3d){return _0x399521[_0x19be('0x9')](_0x19be('0xa'),attributes,{'tableName':_0x19be('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};