Built motion from commit 56b8093a.|2.6.29
[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 _0x64bb=['request-promise','path','rimraf','../../config/environment','exports','define','report_agent_preview','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4e7583,_0x3f020f){var _0x392a98=function(_0x5298fe){while(--_0x5298fe){_0x4e7583['push'](_0x4e7583['shift']());}};_0x392a98(++_0x3f020f);}(_0x64bb,0x173));var _0xb64b=function(_0x25bb88,_0x3bacd7){_0x25bb88=_0x25bb88-0x0;var _0x16b6cf=_0x64bb[_0x25bb88];return _0x16b6cf;};'use strict';var _=require(_0xb64b('0x0'));var util=require(_0xb64b('0x1'));var logger=require(_0xb64b('0x2'))(_0xb64b('0x3'));var moment=require(_0xb64b('0x4'));var BPromise=require(_0xb64b('0x5'));var rp=require(_0xb64b('0x6'));var fs=require('fs');var path=require(_0xb64b('0x7'));var rimraf=require(_0xb64b('0x8'));var config=require(_0xb64b('0x9'));var attributes=require('./reportAgentPreview.attributes');module[_0xb64b('0xa')]=function(_0x47a9a8,_0x1c1ccb){return _0x47a9a8[_0xb64b('0xb')]('ReportAgentPreview',attributes,{'tableName':_0xb64b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};