Built motion from commit (unavailable).|2.4.21
[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 _0x085a=['bluebird','path','rimraf','./reportAgentPreview.attributes','exports','define','report_agent_preview','lodash','../../config/logger','api'];(function(_0x24217c,_0x535457){var _0x3766c1=function(_0x3b026d){while(--_0x3b026d){_0x24217c['push'](_0x24217c['shift']());}};_0x3766c1(++_0x535457);}(_0x085a,0xe3));var _0xa085=function(_0x52c8f8,_0x5b141b){_0x52c8f8=_0x52c8f8-0x0;var _0x3193ba=_0x085a[_0x52c8f8];return _0x3193ba;};'use strict';var _=require(_0xa085('0x0'));var util=require('util');var logger=require(_0xa085('0x1'))(_0xa085('0x2'));var moment=require('moment');var BPromise=require(_0xa085('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa085('0x4'));var rimraf=require(_0xa085('0x5'));var config=require('../../config/environment');var attributes=require(_0xa085('0x6'));module[_0xa085('0x7')]=function(_0x480400,_0x2d1da4){return _0x480400[_0xa085('0x8')]('ReportAgentPreview',attributes,{'tableName':_0xa085('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};