5171304a0411bece4661b68f331fda1e0ba982d9
[motion2.git] / server / services / routing / rpc / mailQueue.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 _0x87c2=['GetMailQueue','name','timeout','User','Agents','online','mailPause','getMailQueues'];(function(_0x1f0b43,_0x360e94){var _0x3a0048=function(_0x3c091f){while(--_0x3c091f){_0x1f0b43['push'](_0x1f0b43['shift']());}};_0x3a0048(++_0x360e94);}(_0x87c2,0x1bf));var _0x287c=function(_0x879c24,_0x4103a3){_0x879c24=_0x879c24-0x0;var _0x152298=_0x87c2[_0x879c24];return _0x152298;};'use strict';var client=require('../client');exports[_0x287c('0x0')]=function(){return function(){return client['Request'](_0x287c('0x1'),{'options':{'raw':![],'attributes':['id',_0x287c('0x2'),_0x287c('0x3'),'strategy'],'include':[{'model':_0x287c('0x4'),'as':_0x287c('0x5'),'attributes':['id','name',_0x287c('0x6'),_0x287c('0x7')]}]},'log':_0x287c('0x0')});};};