Built motion from commit 994c64e1.|2.6.1
[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 _0x8056=['Request','GetFaxQueue','name','timeout','strategy','User','Agents','online','faxPause','getFaxQueues','../client'];(function(_0xba021c,_0x1256c1){var _0x5340f1=function(_0x3c103d){while(--_0x3c103d){_0xba021c['push'](_0xba021c['shift']());}};_0x5340f1(++_0x1256c1);}(_0x8056,0xd0));var _0x6805=function(_0x2d50be,_0x4e2d7c){_0x2d50be=_0x2d50be-0x0;var _0x2d3545=_0x8056[_0x2d50be];return _0x2d3545;};'use strict';var client=require(_0x6805('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x6805('0x1')](_0x6805('0x2'),{'options':{'raw':![],'attributes':['id',_0x6805('0x3'),_0x6805('0x4'),_0x6805('0x5')],'include':[{'model':_0x6805('0x6'),'as':_0x6805('0x7'),'attributes':['id','name',_0x6805('0x8'),_0x6805('0x9')]}]},'log':_0x6805('0xa')});};};