Built motion from commit (unavailable).|2.5.9
[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 _0x4af8=['getIntervals','name','Interval','Intervals'];(function(_0x529485,_0x1ba535){var _0x3aeaa9=function(_0x40bbb7){while(--_0x40bbb7){_0x529485['push'](_0x529485['shift']());}};_0x3aeaa9(++_0x1ba535);}(_0x4af8,0x1ad));var _0x84af=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x4af8[_0x46aff0];return _0x9d78cf;};'use strict';var client=require('../client');exports['getIntervals']=function(){return function(){return client['Request']('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x84af('0x0')],'include':[{'model':_0x84af('0x1'),'as':_0x84af('0x2'),'attributes':['id',_0x84af('0x0'),'interval']}]},'log':_0x84af('0x3')});};};