5a4fb8e410e9eb21682110dbe1ea7a4973cec859
[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 _0xe0e1=['IncrementPreviewCounters','../client','moment','Request','VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones'];(function(_0x2d8237,_0x368f98){var _0x3b1733=function(_0x35f5fd){while(--_0x35f5fd){_0x2d8237['push'](_0x2d8237['shift']());}};_0x3b1733(++_0x368f98);}(_0xe0e1,0x6a));var _0x1e0e=function(_0x24dba5,_0x49aebd){_0x24dba5=_0x24dba5-0x0;var _0x27a0e1=_0xe0e1[_0x24dba5];return _0x27a0e1;};'use strict';var client=require(_0x1e0e('0x0'));var moment=require(_0x1e0e('0x1'));exports['verifyAdditionalPhones']=function(_0x4b0ae6,_0x17da10,_0xce9704){return function(){return client[_0x1e0e('0x2')](_0x1e0e('0x3'),{'body':_0x4b0ae6,'reason':_0x17da10,'entity':_0xce9704,'log':_0x1e0e('0x3')});};};exports[_0x1e0e('0x4')]=function(_0x31e7bf,_0x1ae82c,_0xe232be){return function(){return client[_0x1e0e('0x2')]('SwapAdditionalPhones',{'body':_0x31e7bf,'duration':_0x1ae82c,'waitTime':_0xe232be,'log':_0x1e0e('0x5')});};};exports['incrementPreviewCounters']=function(_0x4f1910){return function(){return client[_0x1e0e('0x2')](_0x1e0e('0x6'),{'body':_0x4f1910,'log':'IncrementPreviewCounters'});};};