553fc108ec46ee1f0fb415bcbb8a03883a5b05d8
[motion2.git] / server / services / routing / rpc / interval.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 _0x7be1=['../client','getIntervals','Request','name','Interval','Intervals','interval'];(function(_0x78db5e,_0x3b9804){var _0x250b88=function(_0x20a40f){while(--_0x20a40f){_0x78db5e['push'](_0x78db5e['shift']());}};_0x250b88(++_0x3b9804);}(_0x7be1,0x165));var _0x17be=function(_0x155e04,_0x28cd61){_0x155e04=_0x155e04-0x0;var _0x4590d0=_0x7be1[_0x155e04];return _0x4590d0;};'use strict';var client=require(_0x17be('0x0'));exports[_0x17be('0x1')]=function(){return function(){return client[_0x17be('0x2')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x17be('0x3')],'include':[{'model':_0x17be('0x4'),'as':_0x17be('0x5'),'attributes':['id',_0x17be('0x3'),_0x17be('0x6')]}]},'log':'getIntervals'});};};