Built motion from commit (unavailable).|2.5.2
[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 _0xb30b=['online','faxPause','getFaxQueues','../client','Request','GetFaxQueue','name','strategy'];(function(_0x12acae,_0x254970){var _0x5982c2=function(_0x5513f9){while(--_0x5513f9){_0x12acae['push'](_0x12acae['shift']());}};_0x5982c2(++_0x254970);}(_0xb30b,0xdb));var _0xbb30=function(_0xc34e78,_0x19638f){_0xc34e78=_0xc34e78-0x0;var _0x205de5=_0xb30b[_0xc34e78];return _0x205de5;};'use strict';var client=require(_0xbb30('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xbb30('0x1')](_0xbb30('0x2'),{'options':{'raw':![],'attributes':['id',_0xbb30('0x3'),'timeout',_0xbb30('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id',_0xbb30('0x3'),_0xbb30('0x5'),_0xbb30('0x6')]}]},'log':_0xbb30('0x7')});};};