087ffcc71ddc03e5088725923a94757f82f9c4d1
[motion2.git] / server / services / routing / rpc / whatsappQueue.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 _0xfdd1=['getWhatsappQueues','Request','name','timeout','strategy','User','Agents','online'];(function(_0x44c5d1,_0x2f0198){var _0x175f88=function(_0x380c90){while(--_0x380c90){_0x44c5d1['push'](_0x44c5d1['shift']());}};_0x175f88(++_0x2f0198);}(_0xfdd1,0x90));var _0x1fdd=function(_0x3198fd,_0x3729d8){_0x3198fd=_0x3198fd-0x0;var _0x2dd0b=_0xfdd1[_0x3198fd];return _0x2dd0b;};'use strict';var client=require('../client');exports[_0x1fdd('0x0')]=function(){return function(){return client[_0x1fdd('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x1fdd('0x2'),_0x1fdd('0x3'),_0x1fdd('0x4')],'include':[{'model':_0x1fdd('0x5'),'as':_0x1fdd('0x6'),'attributes':['id','name',_0x1fdd('0x7'),'whatsappPause']}]},'log':_0x1fdd('0x0')});};};