c4f810941d313632bf456401f20492a00a1f6ba7
[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 _0xb18e=['./openchannelQueueReport.attributes','exports','define','report_openchannel_queue','uniqueid','../../config/logger','moment','request-promise','path','../../config/environment'];(function(_0x5d2491,_0x276f6f){var _0x1d2d6d=function(_0x14fbab){while(--_0x14fbab){_0x5d2491['push'](_0x5d2491['shift']());}};_0x1d2d6d(++_0x276f6f);}(_0xb18e,0x181));var _0xeb18=function(_0x3cf5a3,_0x5a4492){_0x3cf5a3=_0x3cf5a3-0x0;var _0x39ba2d=_0xb18e[_0x3cf5a3];return _0x39ba2d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xeb18('0x0'))('api');var moment=require(_0xeb18('0x1'));var BPromise=require('bluebird');var rp=require(_0xeb18('0x2'));var fs=require('fs');var path=require(_0xeb18('0x3'));var rimraf=require('rimraf');var config=require(_0xeb18('0x4'));var attributes=require(_0xeb18('0x5'));module[_0xeb18('0x6')]=function(_0x409efb,_0x46d281){return _0x409efb[_0xeb18('0x7')]('OpenchannelQueueReport',attributes,{'tableName':_0xeb18('0x8'),'paranoid':![],'indexes':[{'name':_0xeb18('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};