e1e8d9850b9c355ddfb26624914e95cec94434fa
[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 _0xd914=['GetInterval','name','Interval','Intervals','interval','../client','getIntervals'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xd914,0x17f));var _0x4d91=function(_0x282ccc,_0x5d66a1){_0x282ccc=_0x282ccc-0x0;var _0x27c2dd=_0xd914[_0x282ccc];return _0x27c2dd;};'use strict';var client=require(_0x4d91('0x0'));exports[_0x4d91('0x1')]=function(){return function(){return client['Request'](_0x4d91('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x4d91('0x3')],'include':[{'model':_0x4d91('0x4'),'as':_0x4d91('0x5'),'attributes':['id',_0x4d91('0x3'),_0x4d91('0x6')]}]},'log':'getIntervals'});};};