Built motion from commit (unavailable).|2.5.7
[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 _0x971a=['WhatsappQueueReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports'];(function(_0x449a8a,_0x3758c1){var _0x15198f=function(_0x3a3f27){while(--_0x3a3f27){_0x449a8a['push'](_0x449a8a['shift']());}};_0x15198f(++_0x3758c1);}(_0x971a,0x19a));var _0xa971=function(_0x464c32,_0x241609){_0x464c32=_0x464c32-0x0;var _0x1db3f3=_0x971a[_0x464c32];return _0x1db3f3;};'use strict';var _=require(_0xa971('0x0'));var util=require(_0xa971('0x1'));var logger=require(_0xa971('0x2'))(_0xa971('0x3'));var moment=require(_0xa971('0x4'));var BPromise=require(_0xa971('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa971('0x6'));var config=require(_0xa971('0x7'));var attributes=require(_0xa971('0x8'));module[_0xa971('0x9')]=function(_0x67ee3f,_0x52fe72){return _0x67ee3f['define'](_0xa971('0xa'),attributes,{'tableName':'report_whatsapp_queue','paranoid':![],'indexes':[{'name':_0xa971('0xb'),'fields':[_0xa971('0xb')]}],'timestamps':!![]});};