Built motion from commit (unavailable).|2.5.13
[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 _0xcc30=['util','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','ReportAgentPreview','lodash'];(function(_0x336847,_0x5843c2){var _0x2c01f3=function(_0x54cab1){while(--_0x54cab1){_0x336847['push'](_0x336847['shift']());}};_0x2c01f3(++_0x5843c2);}(_0xcc30,0x1b7));var _0x0cc3=function(_0x143a91,_0x235332){_0x143a91=_0x143a91-0x0;var _0x1906f5=_0xcc30[_0x143a91];return _0x1906f5;};'use strict';var _=require(_0x0cc3('0x0'));var util=require(_0x0cc3('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x0cc3('0x2'));var BPromise=require(_0x0cc3('0x3'));var rp=require(_0x0cc3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0cc3('0x5'));var config=require(_0x0cc3('0x6'));var attributes=require('./reportAgentPreview.attributes');module[_0x0cc3('0x7')]=function(_0x301210,_0x1eaae6){return _0x301210[_0x0cc3('0x8')](_0x0cc3('0x9'),attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});};