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 _0x22b6=['bluebird','path','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','lodash','util','../../config/logger','api','moment'];(function(_0x389c88,_0x46d30a){var _0x32b899=function(_0x2b70f2){while(--_0x2b70f2){_0x389c88['push'](_0x389c88['shift']());}};_0x32b899(++_0x46d30a);}(_0x22b6,0x12f));var _0x622b=function(_0x53230b,_0x23d272){_0x53230b=_0x53230b-0x0;var _0x31da0a=_0x22b6[_0x53230b];return _0x31da0a;};'use strict';var _=require(_0x622b('0x0'));var util=require(_0x622b('0x1'));var logger=require(_0x622b('0x2'))(_0x622b('0x3'));var moment=require(_0x622b('0x4'));var BPromise=require(_0x622b('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x622b('0x6'));var rimraf=require(_0x622b('0x7'));var config=require(_0x622b('0x8'));var attributes=require(_0x622b('0x9'));module[_0x622b('0xa')]=function(_0x1bf546,_0x126f2b){return _0x1bf546['define']('UserWhatsappQueue',attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};