1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe909=['exports','define','UserWhatsappQueue','lodash','util','../../config/logger','api','moment','bluebird','rimraf','./userWhatsappQueue.attributes'];(function(_0x2b514b,_0x1e355a){var _0x1cc84d=function(_0x5c61ed){while(--_0x5c61ed){_0x2b514b['push'](_0x2b514b['shift']());}};_0x1cc84d(++_0x1e355a);}(_0xe909,0xdf));var _0x9e90=function(_0x225b4e,_0x179ee4){_0x225b4e=_0x225b4e-0x0;var _0x24237a=_0xe909[_0x225b4e];return _0x24237a;};'use strict';var _=require(_0x9e90('0x0'));var util=require(_0x9e90('0x1'));var logger=require(_0x9e90('0x2'))(_0x9e90('0x3'));var moment=require(_0x9e90('0x4'));var BPromise=require(_0x9e90('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x9e90('0x6'));var config=require('../../config/environment');var attributes=require(_0x9e90('0x7'));module[_0x9e90('0x8')]=function(_0x53cb8b,_0x15824d){return _0x53cb8b[_0x9e90('0x9')](_0x9e90('0xa'),attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};