b31d9c1e9b6edec00fa65a36a1b166a563d741e1
[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 _0xad77=['verifyAdditionalPhones','VerifyAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','Request','IncrementPreviewCounters','../client'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xad77,0x1b8));var _0x7ad7=function(_0x35dadd,_0x3ed50f){_0x35dadd=_0x35dadd-0x0;var _0x2728ed=_0xad77[_0x35dadd];return _0x2728ed;};'use strict';var client=require(_0x7ad7('0x0'));exports[_0x7ad7('0x1')]=function(_0x5c0982,_0x41ab4e,_0x2224ae){return client['Request']('VerifyAdditionalPhones',{'body':_0x5c0982,'reason':_0x41ab4e,'entity':_0x2224ae,'log':_0x7ad7('0x2')});};exports['swapAdditionalPhones']=function(_0x4f7404,_0x5a2277,_0x1794d8){return client['Request'](_0x7ad7('0x3'),{'body':_0x4f7404,'duration':_0x5a2277,'waitTime':_0x1794d8,'log':_0x7ad7('0x3')});};exports[_0x7ad7('0x4')]=function(_0x47c3b9){return function(){return client[_0x7ad7('0x5')](_0x7ad7('0x6'),{'body':_0x47c3b9,'log':_0x7ad7('0x6')});};};