d18ab2cc4e8af5df24310b69e2c0bd42f083f1cd
[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 _0x500c=['VerifyAdditionalPhones','swapAdditionalPhones','SwapAdditionalPhones','incrementPreviewCounters','IncrementPreviewCounters','../client','verifyAdditionalPhones','Request'];(function(_0xf52c89,_0x1fe3fc){var _0x4f6f2a=function(_0x56f039){while(--_0x56f039){_0xf52c89['push'](_0xf52c89['shift']());}};_0x4f6f2a(++_0x1fe3fc);}(_0x500c,0x1ed));var _0xc500=function(_0x10d8f0,_0x5cb828){_0x10d8f0=_0x10d8f0-0x0;var _0x590bd5=_0x500c[_0x10d8f0];return _0x590bd5;};'use strict';var client=require(_0xc500('0x0'));exports[_0xc500('0x1')]=function(_0xbb7f78,_0x9bb670,_0x2ed9c4){return client[_0xc500('0x2')](_0xc500('0x3'),{'body':_0xbb7f78,'reason':_0x9bb670,'entity':_0x2ed9c4,'log':_0xc500('0x3')});};exports[_0xc500('0x4')]=function(_0x55a8ad,_0x3868ed,_0x350241){return client[_0xc500('0x2')]('SwapAdditionalPhones',{'body':_0x55a8ad,'duration':_0x3868ed,'waitTime':_0x350241,'log':_0xc500('0x5')});};exports[_0xc500('0x6')]=function(_0x1e3041){return function(){return client[_0xc500('0x2')](_0xc500('0x7'),{'body':_0x1e3041,'log':'IncrementPreviewCounters'});};};