Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / openchannelQueueReport / openchannelQueueReport.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 _0x550b=['../../config/logger','api','bluebird','path','rimraf','./openchannelQueueReport.attributes','exports','define','OpenchannelQueueReport','uniqueid','lodash','util'];(function(_0x348896,_0x1f7e6e){var _0x16453f=function(_0x2815de){while(--_0x2815de){_0x348896['push'](_0x348896['shift']());}};_0x16453f(++_0x1f7e6e);}(_0x550b,0x17e));var _0xb550=function(_0x255d5b,_0x4f6f35){_0x255d5b=_0x255d5b-0x0;var _0x3e141a=_0x550b[_0x255d5b];return _0x3e141a;};'use strict';var _=require(_0xb550('0x0'));var util=require(_0xb550('0x1'));var logger=require(_0xb550('0x2'))(_0xb550('0x3'));var moment=require('moment');var BPromise=require(_0xb550('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb550('0x5'));var rimraf=require(_0xb550('0x6'));var config=require('../../config/environment');var attributes=require(_0xb550('0x7'));module[_0xb550('0x8')]=function(_0x4dd1b4,_0x517fe4){return _0x4dd1b4[_0xb550('0x9')](_0xb550('0xa'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0xb550('0xb'),'fields':[_0xb550('0xb')]}],'timestamps':!![]});};