37c1898e66b434aace25b79f199d8e80d2bd4bd2
[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 _0x9572=['VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','moment','Request'];(function(_0x5a1337,_0x4b0a81){var _0x503845=function(_0x27a05d){while(--_0x27a05d){_0x5a1337['push'](_0x5a1337['shift']());}};_0x503845(++_0x4b0a81);}(_0x9572,0x194));var _0x2957=function(_0x30916e,_0xed6214){_0x30916e=_0x30916e-0x0;var _0x59e6b0=_0x9572[_0x30916e];return _0x59e6b0;};'use strict';var client=require('../client');var moment=require(_0x2957('0x0'));exports['verifyAdditionalPhones']=function(_0x2d6f0c,_0x5e4180,_0x1e2896){return function(){return client[_0x2957('0x1')](_0x2957('0x2'),{'body':_0x2d6f0c,'reason':_0x5e4180,'entity':_0x1e2896,'log':_0x2957('0x2')});};};exports[_0x2957('0x3')]=function(_0x3c8f1c,_0x37f199,_0x57c6fd){return function(){return client[_0x2957('0x1')](_0x2957('0x4'),{'body':_0x3c8f1c,'duration':_0x37f199,'waitTime':_0x57c6fd,'log':'SwapAdditionalPhones'});};};exports[_0x2957('0x5')]=function(_0xbb429c){return function(){return client[_0x2957('0x1')](_0x2957('0x6'),{'body':_0xbb429c,'log':_0x2957('0x6')});};};