2a179f8d1346f8bef8ac7ce11e793a6ad0d5d327
[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 _0xe8df=['IncrementPreviewCounters','../client','moment','verifyAdditionalPhones','VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','Request'];(function(_0xd299c3,_0x4ba0f1){var _0x376574=function(_0xc585f){while(--_0xc585f){_0xd299c3['push'](_0xd299c3['shift']());}};_0x376574(++_0x4ba0f1);}(_0xe8df,0x13c));var _0xfe8d=function(_0x88ac56,_0x436f53){_0x88ac56=_0x88ac56-0x0;var _0x12832f=_0xe8df[_0x88ac56];return _0x12832f;};'use strict';var client=require(_0xfe8d('0x0'));var moment=require(_0xfe8d('0x1'));exports[_0xfe8d('0x2')]=function(_0x1e33e2,_0x1c630b,_0x4fa697){return function(){return client['Request']('VerifyAdditionalPhones',{'body':_0x1e33e2,'reason':_0x1c630b,'entity':_0x4fa697,'log':_0xfe8d('0x3')});};};exports[_0xfe8d('0x4')]=function(_0x154439,_0x166f78,_0x15ab00){return function(){return client['Request'](_0xfe8d('0x5'),{'body':_0x154439,'duration':_0x166f78,'waitTime':_0x15ab00,'log':'SwapAdditionalPhones'});};};exports[_0xfe8d('0x6')]=function(_0x35f35a){return function(){return client[_0xfe8d('0x7')](_0xfe8d('0x8'),{'body':_0x35f35a,'log':_0xfe8d('0x8')});};};