70aab8602b5cc7530613e7800f2799f6f14c98bd
[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 _0xeec5=['swapAdditionalPhones','SwapAdditionalPhones','IncrementPreviewCounters','../client','verifyAdditionalPhones','Request','VerifyAdditionalPhones'];(function(_0x864073,_0xf8997c){var _0x22d00f=function(_0x9d3a2){while(--_0x9d3a2){_0x864073['push'](_0x864073['shift']());}};_0x22d00f(++_0xf8997c);}(_0xeec5,0xdc));var _0x5eec=function(_0x2d31b0,_0x411374){_0x2d31b0=_0x2d31b0-0x0;var _0x3a928c=_0xeec5[_0x2d31b0];return _0x3a928c;};'use strict';var client=require(_0x5eec('0x0'));var moment=require('moment');exports[_0x5eec('0x1')]=function(_0x2aa898,_0x336743,_0x1732c1){return function(){return client[_0x5eec('0x2')]('VerifyAdditionalPhones',{'body':_0x2aa898,'reason':_0x336743,'entity':_0x1732c1,'log':_0x5eec('0x3')});};};exports[_0x5eec('0x4')]=function(_0x5769d0,_0x2bc38e,_0x2c1caf){return function(){return client['Request'](_0x5eec('0x5'),{'body':_0x5769d0,'duration':_0x2bc38e,'waitTime':_0x2c1caf,'log':_0x5eec('0x5')});};};exports['incrementPreviewCounters']=function(_0x3996d2){return function(){return client[_0x5eec('0x2')](_0x5eec('0x6'),{'body':_0x3996d2,'log':'IncrementPreviewCounters'});};};