Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappQueueReport / whatsappQueueReport.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 _0xaedd=['api','moment','request-promise','path','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports','define','uniqueid','lodash','../../config/logger'];(function(_0x4d1bee,_0x127e8c){var _0x100df5=function(_0x3f6efa){while(--_0x3f6efa){_0x4d1bee['push'](_0x4d1bee['shift']());}};_0x100df5(++_0x127e8c);}(_0xaedd,0x9a));var _0xdaed=function(_0x4db850,_0x5f00e3){_0x4db850=_0x4db850-0x0;var _0x36fd42=_0xaedd[_0x4db850];return _0x36fd42;};'use strict';var _=require(_0xdaed('0x0'));var util=require('util');var logger=require(_0xdaed('0x1'))(_0xdaed('0x2'));var moment=require(_0xdaed('0x3'));var BPromise=require('bluebird');var rp=require(_0xdaed('0x4'));var fs=require('fs');var path=require(_0xdaed('0x5'));var rimraf=require(_0xdaed('0x6'));var config=require(_0xdaed('0x7'));var attributes=require(_0xdaed('0x8'));module[_0xdaed('0x9')]=function(_0x1e00a7,_0xbeb898){return _0x1e00a7[_0xdaed('0xa')]('WhatsappQueueReport',attributes,{'tableName':'report_whatsapp_queue','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xdaed('0xb')]}],'timestamps':!![]});};