Built motion from commit (unavailable).|2.5.23
[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 _0x8580=['GetInterval','Intervals','name','getIntervals'];(function(_0x5ef7b8,_0x15cc07){var _0x2c7148=function(_0x398519){while(--_0x398519){_0x5ef7b8['push'](_0x5ef7b8['shift']());}};_0x2c7148(++_0x15cc07);}(_0x8580,0x1c7));var _0x0858=function(_0x1fe494,_0x4b28f4){_0x1fe494=_0x1fe494-0x0;var _0x39a7fc=_0x8580[_0x1fe494];return _0x39a7fc;};'use strict';var client=require('../client');exports[_0x0858('0x0')]=function(){return function(){return client['Request'](_0x0858('0x1'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':'Interval','as':_0x0858('0x2'),'attributes':['id',_0x0858('0x3'),'interval']}]},'log':_0x0858('0x0')});};};