Built motion from commit (unavailable).|2.3.4
[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 _0xad78=['api','moment','request-promise','./openchannelQueueReport.attributes','exports','define','OpenchannelQueueReport','report_openchannel_queue','uniqueid','lodash'];(function(_0x104359,_0x1fdb82){var _0x8a2a98=function(_0x27842d){while(--_0x27842d){_0x104359['push'](_0x104359['shift']());}};_0x8a2a98(++_0x1fdb82);}(_0xad78,0x149));var _0x8ad7=function(_0xd20adb,_0x48f653){_0xd20adb=_0xd20adb-0x0;var _0x2fc15a=_0xad78[_0xd20adb];return _0x2fc15a;};'use strict';var _=require(_0x8ad7('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8ad7('0x1'));var moment=require(_0x8ad7('0x2'));var BPromise=require('bluebird');var rp=require(_0x8ad7('0x3'));var attributes=require(_0x8ad7('0x4'));module[_0x8ad7('0x5')]=function(_0x296a52,_0x1baf32){return _0x296a52[_0x8ad7('0x6')](_0x8ad7('0x7'),attributes,{'tableName':_0x8ad7('0x8'),'paranoid':![],'indexes':[{'name':_0x8ad7('0x9'),'fields':[_0x8ad7('0x9')]}],'timestamps':!![]});};