Built motion from commit (unavailable).|2.4.21
[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 _0x238f=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','OpenchannelQueueReport','uniqueid','lodash','util','../../config/logger'];(function(_0x1e3257,_0x29b350){var _0x22ce6a=function(_0x2302e5){while(--_0x2302e5){_0x1e3257['push'](_0x1e3257['shift']());}};_0x22ce6a(++_0x29b350);}(_0x238f,0xa5));var _0xf238=function(_0x52cce1,_0x5e9b72){_0x52cce1=_0x52cce1-0x0;var _0x4e42ae=_0x238f[_0x52cce1];return _0x4e42ae;};'use strict';var _=require(_0xf238('0x0'));var util=require(_0xf238('0x1'));var logger=require(_0xf238('0x2'))('api');var moment=require(_0xf238('0x3'));var BPromise=require(_0xf238('0x4'));var rp=require(_0xf238('0x5'));var fs=require('fs');var path=require(_0xf238('0x6'));var rimraf=require(_0xf238('0x7'));var config=require(_0xf238('0x8'));var attributes=require('./openchannelQueueReport.attributes');module[_0xf238('0x9')]=function(_0x2b9e9f,_0x4e4685){return _0x2b9e9f['define'](_0xf238('0xa'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0xf238('0xb'),'fields':[_0xf238('0xb')]}],'timestamps':!![]});};