4d1d2d9e8c1ae1bc331dc871525e7f22694cc934
[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 _0xd6db=['verifyAdditionalPhones','Request','VerifyAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','../client'];(function(_0x4a8930,_0x1e9dd2){var _0x3f2a4c=function(_0x51adc4){while(--_0x51adc4){_0x4a8930['push'](_0x4a8930['shift']());}};_0x3f2a4c(++_0x1e9dd2);}(_0xd6db,0xd7));var _0xbd6d=function(_0x333963,_0x564649){_0x333963=_0x333963-0x0;var _0x1985e9=_0xd6db[_0x333963];return _0x1985e9;};'use strict';var client=require(_0xbd6d('0x0'));exports[_0xbd6d('0x1')]=function(_0x79a359,_0xb0d605,_0x113a63){return client[_0xbd6d('0x2')](_0xbd6d('0x3'),{'body':_0x79a359,'reason':_0xb0d605,'entity':_0x113a63,'log':_0xbd6d('0x3')});};exports['swapAdditionalPhones']=function(_0xbf6e04,_0xff69c5,_0x10b6b8){return client[_0xbd6d('0x2')]('SwapAdditionalPhones',{'body':_0xbf6e04,'duration':_0xff69c5,'waitTime':_0x10b6b8,'log':'SwapAdditionalPhones'});};exports[_0xbd6d('0x4')]=function(_0x451531){return function(){return client['Request'](_0xbd6d('0x5'),{'body':_0x451531,'log':'IncrementPreviewCounters'});};};