625b8625c91cd0790fa69dc4a2a945b7ca688202
[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 _0x3188=['Agents','online','faxPause','../client','Request','GetFaxQueue','name','timeout','strategy','User'];(function(_0x30fe45,_0x3e20c8){var _0x1f7420=function(_0x406220){while(--_0x406220){_0x30fe45['push'](_0x30fe45['shift']());}};_0x1f7420(++_0x3e20c8);}(_0x3188,0x14d));var _0x8318=function(_0x50365c,_0x3c0c8b){_0x50365c=_0x50365c-0x0;var _0x330f1e=_0x3188[_0x50365c];return _0x330f1e;};'use strict';var client=require(_0x8318('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x8318('0x1')](_0x8318('0x2'),{'options':{'raw':![],'attributes':['id',_0x8318('0x3'),_0x8318('0x4'),_0x8318('0x5')],'include':[{'model':_0x8318('0x6'),'as':_0x8318('0x7'),'attributes':['id',_0x8318('0x3'),_0x8318('0x8'),_0x8318('0x9')]}]},'log':'getFaxQueues'});};};