Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / ami / rpc / faxMessage.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 _0xbee3=['Request','UpdateFaxMessage','../client','update'];(function(_0x45518f,_0x475a6b){var _0x198175=function(_0x40d333){while(--_0x40d333){_0x45518f['push'](_0x45518f['shift']());}};_0x198175(++_0x475a6b);}(_0xbee3,0xde));var _0x3bee=function(_0x45d3df,_0x5f4ceb){_0x45d3df=_0x45d3df-0x0;var _0x40279a=_0xbee3[_0x45d3df];return _0x40279a;};'use strict';var client=require(_0x3bee('0x0'));exports[_0x3bee('0x1')]=function(_0x2ba31a,_0x31bf0c){return client[_0x3bee('0x2')](_0x3bee('0x3'),{'body':_0x31bf0c,'options':{'where':{'AttachmentId':_0x2ba31a}},'log':_0x3bee('0x3')});};