Built motion from commit (unavailable).|2.5.30
[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 _0xd9f1=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','OpenchannelQueueReport','uniqueid','lodash','util'];(function(_0x3a1b35,_0x43f746){var _0x27fd53=function(_0x398150){while(--_0x398150){_0x3a1b35['push'](_0x3a1b35['shift']());}};_0x27fd53(++_0x43f746);}(_0xd9f1,0x1df));var _0x1d9f=function(_0xd9c274,_0x58f1ef){_0xd9c274=_0xd9c274-0x0;var _0x56aa81=_0xd9f1[_0xd9c274];return _0x56aa81;};'use strict';var _=require(_0x1d9f('0x0'));var util=require(_0x1d9f('0x1'));var logger=require('../../config/logger')(_0x1d9f('0x2'));var moment=require(_0x1d9f('0x3'));var BPromise=require(_0x1d9f('0x4'));var rp=require(_0x1d9f('0x5'));var fs=require('fs');var path=require(_0x1d9f('0x6'));var rimraf=require(_0x1d9f('0x7'));var config=require(_0x1d9f('0x8'));var attributes=require('./openchannelQueueReport.attributes');module[_0x1d9f('0x9')]=function(_0x3e88d4,_0x5f0bb7){return _0x3e88d4[_0x1d9f('0xa')](_0x1d9f('0xb'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0x1d9f('0xc'),'fields':[_0x1d9f('0xc')]}],'timestamps':!![]});};