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 _0x6e35=['api','moment','bluebird','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','user_has_whatsapp_queues','lodash','util','../../config/logger'];(function(_0x3744f7,_0x4cc42a){var _0x1e557c=function(_0x360f8e){while(--_0x360f8e){_0x3744f7['push'](_0x3744f7['shift']());}};_0x1e557c(++_0x4cc42a);}(_0x6e35,0xef));var _0x56e3=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0x6e35[_0x5d2803];return _0xdcad2c;};'use strict';var _=require(_0x56e3('0x0'));var util=require(_0x56e3('0x1'));var logger=require(_0x56e3('0x2'))(_0x56e3('0x3'));var moment=require(_0x56e3('0x4'));var BPromise=require(_0x56e3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x56e3('0x6'));var config=require(_0x56e3('0x7'));var attributes=require(_0x56e3('0x8'));module[_0x56e3('0x9')]=function(_0x118fd7,_0x4cd262){return _0x118fd7['define']('UserWhatsappQueue',attributes,{'tableName':_0x56e3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};