299ff1e76ba07c3f6a65138641578f24f0b4196f
[motion2.git] / server / services / routing / rpc / faxInteraction.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 _0x9813=['addTagsToFaxInteraction','update','updateFaxInteraction','AddTagsToFaxInteraction'];(function(_0x59f9e6,_0x1485df){var _0x415f6c=function(_0x292941){while(--_0x292941){_0x59f9e6['push'](_0x59f9e6['shift']());}};_0x415f6c(++_0x1485df);}(_0x9813,0xb1));var _0x3981=function(_0x2584f5,_0x1f379c){_0x2584f5=_0x2584f5-0x0;var _0x2de37d=_0x9813[_0x2584f5];return _0x2de37d;};'use strict';var client=require('../client');exports[_0x3981('0x0')]=function(_0x286295,_0x4f7009){return client['Request']('UpdateFaxInteraction',{'body':_0x4f7009,'options':{'where':{'id':_0x286295}},'log':_0x3981('0x1')});};exports['addTags']=function(_0xad8899,_0x29af85){return client['Request'](_0x3981('0x2'),{'body':_0x29af85,'options':{'where':{'id':_0xad8899}},'log':_0x3981('0x3')});};