Built motion from commit b0a9a629.|2.6.33
[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 _0x1609=['Request','GetFaxQueue','strategy','User','Agents','online','getFaxQueues','../client'];(function(_0x5ac4d8,_0x205e8a){var _0x4cb4c3=function(_0x3d28fe){while(--_0x3d28fe){_0x5ac4d8['push'](_0x5ac4d8['shift']());}};_0x4cb4c3(++_0x205e8a);}(_0x1609,0xb7));var _0x9160=function(_0x580576,_0x2f107d){_0x580576=_0x580576-0x0;var _0x3f55a0=_0x1609[_0x580576];return _0x3f55a0;};'use strict';var client=require(_0x9160('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x9160('0x1')](_0x9160('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x9160('0x3')],'include':[{'model':_0x9160('0x4'),'as':_0x9160('0x5'),'attributes':['id','name',_0x9160('0x6'),'faxPause']}]},'log':_0x9160('0x7')});};};