132320a9594714e7076db27f2973ea3f56eb8e0e
[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 _0x2a5f=['incrementPreviewCounters','IncrementPreviewCounters','verifyAdditionalPhones','Request','SwapAdditionalPhones'];(function(_0x1a7bb5,_0x1337fc){var _0x22d3ce=function(_0x9caf9e){while(--_0x9caf9e){_0x1a7bb5['push'](_0x1a7bb5['shift']());}};_0x22d3ce(++_0x1337fc);}(_0x2a5f,0x9d));var _0xf2a5=function(_0x235482,_0x14b833){_0x235482=_0x235482-0x0;var _0x5f5bea=_0x2a5f[_0x235482];return _0x5f5bea;};'use strict';var client=require('../client');exports[_0xf2a5('0x0')]=function(_0x4ecbdf,_0x44d4cb,_0xaa4b8f){return client['Request']('VerifyAdditionalPhones',{'body':_0x4ecbdf,'reason':_0x44d4cb,'entity':_0xaa4b8f,'log':'VerifyAdditionalPhones'});};exports['swapAdditionalPhones']=function(_0x1fb036,_0x469054,_0x28b94b){return client[_0xf2a5('0x1')](_0xf2a5('0x2'),{'body':_0x1fb036,'duration':_0x469054,'waitTime':_0x28b94b,'log':_0xf2a5('0x2')});};exports[_0xf2a5('0x3')]=function(_0x1c40e1){return function(){return client[_0xf2a5('0x1')](_0xf2a5('0x4'),{'body':_0x1c40e1,'log':_0xf2a5('0x4')});};};