5ed8faf2a9ae0223ed184608e16c055c45867222
[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 _0xef14=['swapAdditionalPhones','SwapAdditionalPhones','IncrementPreviewCounters','../client','verifyAdditionalPhones','Request','VerifyAdditionalPhones'];(function(_0x2c7fe3,_0x28ceff){var _0x13ab43=function(_0x50d64d){while(--_0x50d64d){_0x2c7fe3['push'](_0x2c7fe3['shift']());}};_0x13ab43(++_0x28ceff);}(_0xef14,0x1a0));var _0x4ef1=function(_0x18ef3f,_0x477ca1){_0x18ef3f=_0x18ef3f-0x0;var _0x1ffc6f=_0xef14[_0x18ef3f];return _0x1ffc6f;};'use strict';var client=require(_0x4ef1('0x0'));exports[_0x4ef1('0x1')]=function(_0x2b92fd,_0x16e83f,_0x5ba209){return client[_0x4ef1('0x2')](_0x4ef1('0x3'),{'body':_0x2b92fd,'reason':_0x16e83f,'entity':_0x5ba209,'log':'VerifyAdditionalPhones'});};exports[_0x4ef1('0x4')]=function(_0x2426df,_0x339384,_0x536e4b){return client[_0x4ef1('0x2')]('SwapAdditionalPhones',{'body':_0x2426df,'duration':_0x339384,'waitTime':_0x536e4b,'log':_0x4ef1('0x5')});};exports['incrementPreviewCounters']=function(_0x2f032c){return function(){return client[_0x4ef1('0x2')]('IncrementPreviewCounters',{'body':_0x2f032c,'log':_0x4ef1('0x6')});};};