a43cf225857fb3854ca03edd508fe1aa43ffcd96
[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 _0x56be=['GetInterval','Interval','../client','getIntervals','Request'];(function(_0x3736f1,_0x1d0421){var _0x584168=function(_0x35709a){while(--_0x35709a){_0x3736f1['push'](_0x3736f1['shift']());}};_0x584168(++_0x1d0421);}(_0x56be,0x1ec));var _0xe56b=function(_0x3277f8,_0x7a7c3a){_0x3277f8=_0x3277f8-0x0;var _0x180543=_0x56be[_0x3277f8];return _0x180543;};'use strict';var client=require(_0xe56b('0x0'));exports[_0xe56b('0x1')]=function(){return function(){return client[_0xe56b('0x2')](_0xe56b('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0xe56b('0x4'),'as':'Intervals','attributes':['id','name','interval']}]},'log':'getIntervals'});};};