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 _0x2723=['rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','define','user_has_whatsapp_queues','util','../../config/logger','request-promise','path'];(function(_0x323c7e,_0x3d16ec){var _0x2b0f72=function(_0x5a2310){while(--_0x5a2310){_0x323c7e['push'](_0x323c7e['shift']());}};_0x2b0f72(++_0x3d16ec);}(_0x2723,0xec));var _0x3272=function(_0x24fece,_0x39e47b){_0x24fece=_0x24fece-0x0;var _0x110d14=_0x2723[_0x24fece];return _0x110d14;};'use strict';var _=require('lodash');var util=require(_0x3272('0x0'));var logger=require(_0x3272('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x3272('0x2'));var fs=require('fs');var path=require(_0x3272('0x3'));var rimraf=require(_0x3272('0x4'));var config=require(_0x3272('0x5'));var attributes=require(_0x3272('0x6'));module[_0x3272('0x7')]=function(_0x4949bf,_0x23ad41){return _0x4949bf[_0x3272('0x8')]('UserWhatsappQueue',attributes,{'tableName':_0x3272('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};