ad7a037177fc2d570f158770cbc20751c241c033
[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 _0x53f3=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','exports','define','OpenchannelQueueReport','uniqueid'];(function(_0x16c3f7,_0x4a5263){var _0x239f9c=function(_0x5d8556){while(--_0x5d8556){_0x16c3f7['push'](_0x16c3f7['shift']());}};_0x239f9c(++_0x4a5263);}(_0x53f3,0xe0));var _0x353f=function(_0x554057,_0x251b54){_0x554057=_0x554057-0x0;var _0xb2ef63=_0x53f3[_0x554057];return _0xb2ef63;};'use strict';var _=require(_0x353f('0x0'));var util=require(_0x353f('0x1'));var logger=require(_0x353f('0x2'))(_0x353f('0x3'));var moment=require('moment');var BPromise=require(_0x353f('0x4'));var rp=require(_0x353f('0x5'));var fs=require('fs');var path=require(_0x353f('0x6'));var rimraf=require(_0x353f('0x7'));var config=require(_0x353f('0x8'));var attributes=require(_0x353f('0x9'));module[_0x353f('0xa')]=function(_0x1bbc4e,_0xed847a){return _0x1bbc4e[_0x353f('0xb')](_0x353f('0xc'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0x353f('0xd'),'fields':[_0x353f('0xd')]}],'timestamps':!![]});};