Built motion from commit 85328c08.|2.5.50
[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 _0x3767=['name','getIntervals','Request','GetInterval','Interval','Intervals'];(function(_0x5765bb,_0x45998c){var _0x452a60=function(_0x23d107){while(--_0x23d107){_0x5765bb['push'](_0x5765bb['shift']());}};_0x452a60(++_0x45998c);}(_0x3767,0x1c3));var _0x7376=function(_0x441683,_0x300421){_0x441683=_0x441683-0x0;var _0x3fdff3=_0x3767[_0x441683];return _0x3fdff3;};'use strict';var client=require('../client');exports[_0x7376('0x0')]=function(){return function(){return client[_0x7376('0x1')](_0x7376('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x7376('0x3'),'as':_0x7376('0x4'),'attributes':['id',_0x7376('0x5'),'interval']}]},'log':_0x7376('0x0')});};};