9054aeb92f7ec640f1584c8fd0c0993cada86d8f
[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 _0x9281=['GetInterval','Interval','Intervals','name','interval','getIntervals','Request'];(function(_0x1d7876,_0x12a04e){var _0x57d572=function(_0x3eab5c){while(--_0x3eab5c){_0x1d7876['push'](_0x1d7876['shift']());}};_0x57d572(++_0x12a04e);}(_0x9281,0x83));var _0x1928=function(_0x3b3b8f,_0x3ad593){_0x3b3b8f=_0x3b3b8f-0x0;var _0x50d91d=_0x9281[_0x3b3b8f];return _0x50d91d;};'use strict';var client=require('../client');exports[_0x1928('0x0')]=function(){return function(){return client[_0x1928('0x1')](_0x1928('0x2'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':_0x1928('0x3'),'as':_0x1928('0x4'),'attributes':['id',_0x1928('0x5'),_0x1928('0x6')]}]},'log':'getIntervals'});};};