Built motion from commit (unavailable).|2.3.1
[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 _0xc57c=['./openchannelQueueReport.attributes','exports','OpenchannelQueueReport','report_openchannel_queue','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1ad159,_0x12c5d7){var _0x27eb2c=function(_0x2e6433){while(--_0x2e6433){_0x1ad159['push'](_0x1ad159['shift']());}};_0x27eb2c(++_0x12c5d7);}(_0xc57c,0x9f));var _0xcc57=function(_0x316acc,_0x1e9637){_0x316acc=_0x316acc-0x0;var _0x24aa96=_0xc57c[_0x316acc];return _0x24aa96;};'use strict';var _=require(_0xcc57('0x0'));var util=require('util');var logger=require(_0xcc57('0x1'))(_0xcc57('0x2'));var moment=require(_0xcc57('0x3'));var BPromise=require(_0xcc57('0x4'));var rp=require(_0xcc57('0x5'));var attributes=require(_0xcc57('0x6'));module[_0xcc57('0x7')]=function(_0x217b01,_0x436b87){return _0x217b01['define'](_0xcc57('0x8'),attributes,{'tableName':_0xcc57('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xcc57('0xa')]}],'timestamps':!![]});};