fe620aef712a9f23c64ac4e90039e71a5b0ea12b
[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 _0x18ee=['ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0x18ee,0x11f));var _0xe18e=function(_0x230508,_0x2a358b){_0x230508=_0x230508-0x0;var _0xf29c9a=_0x18ee[_0x230508];return _0xf29c9a;};'use strict';var _=require(_0xe18e('0x0'));var util=require(_0xe18e('0x1'));var logger=require(_0xe18e('0x2'))(_0xe18e('0x3'));var moment=require(_0xe18e('0x4'));var BPromise=require(_0xe18e('0x5'));var rp=require(_0xe18e('0x6'));var fs=require('fs');var path=require(_0xe18e('0x7'));var rimraf=require(_0xe18e('0x8'));var config=require(_0xe18e('0x9'));var attributes=require(_0xe18e('0xa'));module[_0xe18e('0xb')]=function(_0x383947,_0x10ddfb){return _0x383947[_0xe18e('0xc')](_0xe18e('0xd'),attributes,{'tableName':_0xe18e('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};