d86d411cbdf48b41b3e9b5312c7375f66825e27e
[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 _0xcf54=['Request','GetInterval','Intervals','interval','../client','getIntervals'];(function(_0x52aced,_0x4aacb4){var _0x37ff0f=function(_0x41d721){while(--_0x41d721){_0x52aced['push'](_0x52aced['shift']());}};_0x37ff0f(++_0x4aacb4);}(_0xcf54,0x154));var _0x4cf5=function(_0x216799,_0x44b817){_0x216799=_0x216799-0x0;var _0x3661c3=_0xcf54[_0x216799];return _0x3661c3;};'use strict';var client=require(_0x4cf5('0x0'));exports[_0x4cf5('0x1')]=function(){return function(){return client[_0x4cf5('0x2')](_0x4cf5('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id','name'],'include':[{'model':'Interval','as':_0x4cf5('0x4'),'attributes':['id','name',_0x4cf5('0x5')]}]},'log':_0x4cf5('0x1')});};};