78cacf028452bcad405351bd56a9c087583c676c
[motion2.git] / server / services / ami / rpc / voiceAgentReport.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 _0x553a=['CreateVoiceAgentReport','update','create','Request'];(function(_0x24ed26,_0x90a05a){var _0x563455=function(_0x3489a7){while(--_0x3489a7){_0x24ed26['push'](_0x24ed26['shift']());}};_0x563455(++_0x90a05a);}(_0x553a,0x1ba));var _0xa553=function(_0x2c7dc6,_0x3c4ce0){_0x2c7dc6=_0x2c7dc6-0x0;var _0x10002b=_0x553a[_0x2c7dc6];return _0x10002b;};'use strict';var client=require('../client');exports[_0xa553('0x0')]=function(_0x3596e7){return client[_0xa553('0x1')]('CreateVoiceAgentReport',{'body':_0x3596e7,'log':_0xa553('0x2')});};exports[_0xa553('0x3')]=function(_0x499717,_0x44ccde,_0x26f7c7){return client[_0xa553('0x1')]('UpdateVoiceAgentReport',{'body':_0x499717,'options':{'where':{'uniqueid':_0x44ccde,'interface':_0x26f7c7,'agentcomplete':!![]}},'log':'UpdateVoiceAgentReport'});};