750d88c079e44bc91f2dbf0b56923829f22ecf5e
[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 _0x712f=['lodash','util','api','moment','bluebird','request-promise','rimraf','./whatsappQueueReport.attributes','exports','report_whatsapp_queue','uniqueid'];(function(_0x424975,_0x1c34e4){var _0x257c9f=function(_0x489a62){while(--_0x489a62){_0x424975['push'](_0x424975['shift']());}};_0x257c9f(++_0x1c34e4);}(_0x712f,0x129));var _0xf712=function(_0x599065,_0x3ffe29){_0x599065=_0x599065-0x0;var _0x5668c7=_0x712f[_0x599065];return _0x5668c7;};'use strict';var _=require(_0xf712('0x0'));var util=require(_0xf712('0x1'));var logger=require('../../config/logger')(_0xf712('0x2'));var moment=require(_0xf712('0x3'));var BPromise=require(_0xf712('0x4'));var rp=require(_0xf712('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf712('0x6'));var config=require('../../config/environment');var attributes=require(_0xf712('0x7'));module[_0xf712('0x8')]=function(_0xba3023,_0x295611){return _0xba3023['define']('WhatsappQueueReport',attributes,{'tableName':_0xf712('0x9'),'paranoid':![],'indexes':[{'name':_0xf712('0xa'),'fields':[_0xf712('0xa')]}],'timestamps':!![]});};