561b8f8f9aca70cb9bde2cf5410d77320629d5ed
[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 _0x035a=['Request','UpdateFaxMessage','update'];(function(_0x5937e5,_0x3828b3){var _0x1d1cfa=function(_0x5cad2e){while(--_0x5cad2e){_0x5937e5['push'](_0x5937e5['shift']());}};_0x1d1cfa(++_0x3828b3);}(_0x035a,0x185));var _0xa035=function(_0x4a17f9,_0x362f7a){_0x4a17f9=_0x4a17f9-0x0;var _0x3a9725=_0x035a[_0x4a17f9];return _0x3a9725;};'use strict';var client=require('../client');exports[_0xa035('0x0')]=function(_0xc5073,_0x40dce7){return client[_0xa035('0x1')](_0xa035('0x2'),{'body':_0x40dce7,'options':{'where':{'AttachmentId':_0xc5073}},'log':'UpdateFaxMessage'});};