Built motion from commit f0a64034.|2.6.11
[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 _0xc7a3=['bluebird','request-promise','rimraf','./reportAgentPreview.attributes','lodash','api'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xc7a3,0x1b4));var _0x3c7a=function(_0x10c507,_0x3153d1){_0x10c507=_0x10c507-0x0;var _0x4bd358=_0xc7a3[_0x10c507];return _0x4bd358;};'use strict';var _=require(_0x3c7a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3c7a('0x1'));var moment=require('moment');var BPromise=require(_0x3c7a('0x2'));var rp=require(_0x3c7a('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3c7a('0x4'));var config=require('../../config/environment');var attributes=require(_0x3c7a('0x5'));module['exports']=function(_0x236e77,_0xfa7f34){return _0x236e77['define']('ReportAgentPreview',attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});};