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 _0xe06f=['bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','define','OpenchannelQueueReport','report_openchannel_queue','uniqueid','lodash','util','api'];(function(_0xea7b8d,_0x50a8ee){var _0x5ebd39=function(_0x339c05){while(--_0x339c05){_0xea7b8d['push'](_0xea7b8d['shift']());}};_0x5ebd39(++_0x50a8ee);}(_0xe06f,0x65));var _0xfe06=function(_0x1ee1c4,_0x772d17){_0x1ee1c4=_0x1ee1c4-0x0;var _0x16bf67=_0xe06f[_0x1ee1c4];return _0x16bf67;};'use strict';var _=require(_0xfe06('0x0'));var util=require(_0xfe06('0x1'));var logger=require('../../config/logger')(_0xfe06('0x2'));var moment=require('moment');var BPromise=require(_0xfe06('0x3'));var rp=require(_0xfe06('0x4'));var fs=require('fs');var path=require(_0xfe06('0x5'));var rimraf=require(_0xfe06('0x6'));var config=require(_0xfe06('0x7'));var attributes=require(_0xfe06('0x8'));module['exports']=function(_0x4b4be6,_0x530973){return _0x4b4be6[_0xfe06('0x9')](_0xfe06('0xa'),attributes,{'tableName':_0xfe06('0xb'),'paranoid':![],'indexes':[{'name':_0xfe06('0xc'),'fields':[_0xfe06('0xc')]}],'timestamps':!![]});};