Built motion from commit b5996064.|2.6.21
[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 _0xa497=['./whatsappQueueReport.attributes','exports','define','report_whatsapp_queue','uniqueid','lodash','../../config/logger','api','request-promise','rimraf','../../config/environment'];(function(_0x55ff79,_0x3d45e7){var _0x579067=function(_0x3650e4){while(--_0x3650e4){_0x55ff79['push'](_0x55ff79['shift']());}};_0x579067(++_0x3d45e7);}(_0xa497,0xd6));var _0x7a49=function(_0x45f192,_0x2f944a){_0x45f192=_0x45f192-0x0;var _0x4df067=_0xa497[_0x45f192];return _0x4df067;};'use strict';var _=require(_0x7a49('0x0'));var util=require('util');var logger=require(_0x7a49('0x1'))(_0x7a49('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x7a49('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7a49('0x4'));var config=require(_0x7a49('0x5'));var attributes=require(_0x7a49('0x6'));module[_0x7a49('0x7')]=function(_0x252c96,_0x330452){return _0x252c96[_0x7a49('0x8')]('WhatsappQueueReport',attributes,{'tableName':_0x7a49('0x9'),'paranoid':![],'indexes':[{'name':_0x7a49('0xa'),'fields':[_0x7a49('0xa')]}],'timestamps':!![]});};