Built motion from commit (unavailable).|2.5.26
[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 _0x3870=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','exports','report_openchannel_queue','uniqueid','lodash','util','../../config/logger'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x3870,0x15b));var _0x0387=function(_0x33dc51,_0x1d6b24){_0x33dc51=_0x33dc51-0x0;var _0x5bbd34=_0x3870[_0x33dc51];return _0x5bbd34;};'use strict';var _=require(_0x0387('0x0'));var util=require(_0x0387('0x1'));var logger=require(_0x0387('0x2'))(_0x0387('0x3'));var moment=require(_0x0387('0x4'));var BPromise=require(_0x0387('0x5'));var rp=require(_0x0387('0x6'));var fs=require('fs');var path=require(_0x0387('0x7'));var rimraf=require(_0x0387('0x8'));var config=require(_0x0387('0x9'));var attributes=require(_0x0387('0xa'));module[_0x0387('0xb')]=function(_0x2e1bf7,_0x363c4e){return _0x2e1bf7['define']('OpenchannelQueueReport',attributes,{'tableName':_0x0387('0xc'),'paranoid':![],'indexes':[{'name':_0x0387('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};