Built motion from commit 9d7072cc.|2.5.39
[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 _0x5c9e=['GetInterval','Intervals','name','interval','../client','getIntervals'];(function(_0x5b80a7,_0x3e88a8){var _0x337225=function(_0x2da7e8){while(--_0x2da7e8){_0x5b80a7['push'](_0x5b80a7['shift']());}};_0x337225(++_0x3e88a8);}(_0x5c9e,0x1de));var _0xe5c9=function(_0x32bcb1,_0x40de0b){_0x32bcb1=_0x32bcb1-0x0;var _0x4c97ed=_0x5c9e[_0x32bcb1];return _0x4c97ed;};'use strict';var client=require(_0xe5c9('0x0'));exports[_0xe5c9('0x1')]=function(){return function(){return client['Request'](_0xe5c9('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':'Interval','as':_0xe5c9('0x3'),'attributes':['id',_0xe5c9('0x4'),_0xe5c9('0x5')]}]},'log':_0xe5c9('0x1')});};};