07f6ea7e7193cc72c710564e8d02b58e7fbc4447
[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 _0x19e1=['name','../client','getIntervals','Request','GetInterval','Intervals'];(function(_0x5b2b31,_0x27d7be){var _0x24e649=function(_0x598fc5){while(--_0x598fc5){_0x5b2b31['push'](_0x5b2b31['shift']());}};_0x24e649(++_0x27d7be);}(_0x19e1,0x163));var _0x119e=function(_0x8c8176,_0x5360a1){_0x8c8176=_0x8c8176-0x0;var _0x4dc47b=_0x19e1[_0x8c8176];return _0x4dc47b;};'use strict';var client=require(_0x119e('0x0'));exports[_0x119e('0x1')]=function(){return function(){return client[_0x119e('0x2')](_0x119e('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':'Interval','as':_0x119e('0x4'),'attributes':['id',_0x119e('0x5'),'interval']}]},'log':_0x119e('0x1')});};};