Built motion from commit (unavailable).|2.5.28
[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 _0xc43c=['getMailQueues','../client','Request','GetMailQueue','timeout','strategy','User','Agents','name','online','mailPause'];(function(_0x164e76,_0x4446cc){var _0x44e4b4=function(_0xec3ea1){while(--_0xec3ea1){_0x164e76['push'](_0x164e76['shift']());}};_0x44e4b4(++_0x4446cc);}(_0xc43c,0x7a));var _0xcc43=function(_0x6aefb8,_0x588fb4){_0x6aefb8=_0x6aefb8-0x0;var _0x1ce310=_0xc43c[_0x6aefb8];return _0x1ce310;};'use strict';var client=require(_0xcc43('0x0'));exports['getMailQueues']=function(){return function(){return client[_0xcc43('0x1')](_0xcc43('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xcc43('0x3'),_0xcc43('0x4')],'include':[{'model':_0xcc43('0x5'),'as':_0xcc43('0x6'),'attributes':['id',_0xcc43('0x7'),_0xcc43('0x8'),_0xcc43('0x9')]}]},'log':_0xcc43('0xa')});};};