Built motion from commit (unavailable).|2.3.95
[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 _0xb064=['lodash','util','../../config/logger','request-promise','exports','define','ReportAgentPreview'];(function(_0x388933,_0x13eee6){var _0x66ef4d=function(_0x365f87){while(--_0x365f87){_0x388933['push'](_0x388933['shift']());}};_0x66ef4d(++_0x13eee6);}(_0xb064,0x69));var _0x4b06=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0xb064[_0x618414];return _0x21c19a;};'use strict';var _=require(_0x4b06('0x0'));var util=require(_0x4b06('0x1'));var logger=require(_0x4b06('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4b06('0x3'));var attributes=require('./reportAgentPreview.attributes');module[_0x4b06('0x4')]=function(_0x4bc315,_0x26bcaf){return _0x4bc315[_0x4b06('0x5')](_0x4b06('0x6'),attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});};