Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / services / routing / rpc / faxQueue.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 _0x8f1e=['name','getFaxQueues','../client','Request','GetFaxQueue','timeout','User','Agents'];(function(_0x3a548b,_0xcccc77){var _0x311ea5=function(_0xc45d66){while(--_0xc45d66){_0x3a548b['push'](_0x3a548b['shift']());}};_0x311ea5(++_0xcccc77);}(_0x8f1e,0xf2));var _0xe8f1=function(_0x39900c,_0x4023e3){_0x39900c=_0x39900c-0x0;var _0x2590f4=_0x8f1e[_0x39900c];return _0x2590f4;};'use strict';var client=require(_0xe8f1('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xe8f1('0x1')](_0xe8f1('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xe8f1('0x3'),'strategy'],'include':[{'model':_0xe8f1('0x4'),'as':_0xe8f1('0x5'),'attributes':['id',_0xe8f1('0x6'),'online','faxPause']}]},'log':_0xe8f1('0x7')});};};