acc213bd1509bbe5b3396591340ca5433323f518
[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 _0x8d6a=['../client','getIntervals','Request','name','Intervals'];(function(_0x5d4c52,_0x59cb9c){var _0x1db45f=function(_0x289c72){while(--_0x289c72){_0x5d4c52['push'](_0x5d4c52['shift']());}};_0x1db45f(++_0x59cb9c);}(_0x8d6a,0x17c));var _0xa8d6=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x8d6a[_0x1facfa];return _0x9ec701;};'use strict';var client=require(_0xa8d6('0x0'));exports[_0xa8d6('0x1')]=function(){return function(){return client[_0xa8d6('0x2')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0xa8d6('0x3')],'include':[{'model':'Interval','as':_0xa8d6('0x4'),'attributes':['id',_0xa8d6('0x3'),'interval']}]},'log':_0xa8d6('0x1')});};};