Built motion from commit (unavailable).|2.5.6
[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 _0x7462=['interval','../client','getIntervals','name'];(function(_0x1753fa,_0x46dccb){var _0x544740=function(_0x558bd1){while(--_0x558bd1){_0x1753fa['push'](_0x1753fa['shift']());}};_0x544740(++_0x46dccb);}(_0x7462,0x165));var _0x2746=function(_0x37ae26,_0x2ecd70){_0x37ae26=_0x37ae26-0x0;var _0x1b1902=_0x7462[_0x37ae26];return _0x1b1902;};'use strict';var client=require(_0x2746('0x0'));exports[_0x2746('0x1')]=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x2746('0x2')],'include':[{'model':'Interval','as':'Intervals','attributes':['id',_0x2746('0x2'),_0x2746('0x3')]}]},'log':'getIntervals'});};};