8d39fe03adad42da4e0ea061bc880326092b5aff
[motion2.git] / server / services / ami / rpc / cmHopperAdditionalPhone.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 _0xfe19=['../client','verifyAdditionalPhones','VerifyAdditionalPhones','swapAdditionalPhones','Request','SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters'];(function(_0xa8883,_0x1f107f){var _0x479426=function(_0x4e56b9){while(--_0x4e56b9){_0xa8883['push'](_0xa8883['shift']());}};_0x479426(++_0x1f107f);}(_0xfe19,0x1b8));var _0x9fe1=function(_0x16b970,_0x4e7677){_0x16b970=_0x16b970-0x0;var _0x1f3f6d=_0xfe19[_0x16b970];return _0x1f3f6d;};'use strict';var client=require(_0x9fe1('0x0'));exports[_0x9fe1('0x1')]=function(_0x2bf479,_0x3b3794,_0x4ecdee){return client['Request'](_0x9fe1('0x2'),{'body':_0x2bf479,'reason':_0x3b3794,'entity':_0x4ecdee,'log':_0x9fe1('0x2')});};exports[_0x9fe1('0x3')]=function(_0x3623e0,_0x4b3969,_0x5a5dd3){return client[_0x9fe1('0x4')]('SwapAdditionalPhones',{'body':_0x3623e0,'duration':_0x4b3969,'waitTime':_0x5a5dd3,'log':_0x9fe1('0x5')});};exports[_0x9fe1('0x6')]=function(_0x3fa1e1){return function(){return client['Request']('IncrementPreviewCounters',{'body':_0x3fa1e1,'log':_0x9fe1('0x7')});};};