Built motion from commit 67e5df37.|2.0.68
[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 _0x6e24=['ReportAgentPreview','report_agent_preview','util','api','moment','request-promise','./reportAgentPreview.attributes','exports','define'];(function(_0x4b0664,_0x5036ff){var _0x1fa68f=function(_0x187c26){while(--_0x187c26){_0x4b0664['push'](_0x4b0664['shift']());}};_0x1fa68f(++_0x5036ff);}(_0x6e24,0xf5));var _0x46e2=function(_0x511a63,_0x188c8c){_0x511a63=_0x511a63-0x0;var _0x56967c=_0x6e24[_0x511a63];return _0x56967c;};'use strict';var _=require('lodash');var util=require(_0x46e2('0x0'));var logger=require('../../config/logger')(_0x46e2('0x1'));var moment=require(_0x46e2('0x2'));var BPromise=require('bluebird');var rp=require(_0x46e2('0x3'));var attributes=require(_0x46e2('0x4'));module[_0x46e2('0x5')]=function(_0x4f271f,_0x1a5d4f){return _0x4f271f[_0x46e2('0x6')](_0x46e2('0x7'),attributes,{'tableName':_0x46e2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};