Built motion from commit (unavailable).|2.3.3
[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 _0x6bb4=['define','OpenchannelQueueReport','uniqueid','lodash','util','../../config/logger','moment','bluebird','./openchannelQueueReport.attributes','exports'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0x6bb4,0x1a7));var _0x46bb=function(_0x19a562,_0x4b669f){_0x19a562=_0x19a562-0x0;var _0x3bd3f3=_0x6bb4[_0x19a562];return _0x3bd3f3;};'use strict';var _=require(_0x46bb('0x0'));var util=require(_0x46bb('0x1'));var logger=require(_0x46bb('0x2'))('api');var moment=require(_0x46bb('0x3'));var BPromise=require(_0x46bb('0x4'));var rp=require('request-promise');var attributes=require(_0x46bb('0x5'));module[_0x46bb('0x6')]=function(_0x2eefcc,_0x3c8bef){return _0x2eefcc[_0x46bb('0x7')](_0x46bb('0x8'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x46bb('0x9')]}],'timestamps':!![]});};