3cb3cc30d74c04993625a0b2c09d20b19f20c954
[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 _0xd0f3=['../client','Request','UpdateFaxMessage'];(function(_0x3f3557,_0x1b024a){var _0x18bb70=function(_0x16463b){while(--_0x16463b){_0x3f3557['push'](_0x3f3557['shift']());}};_0x18bb70(++_0x1b024a);}(_0xd0f3,0x1b0));var _0x3d0f=function(_0x1f6fd5,_0x399cb0){_0x1f6fd5=_0x1f6fd5-0x0;var _0x587d12=_0xd0f3[_0x1f6fd5];return _0x587d12;};'use strict';var client=require(_0x3d0f('0x0'));exports['update']=function(_0x522300,_0x3e8434){return client[_0x3d0f('0x1')](_0x3d0f('0x2'),{'body':_0x3e8434,'options':{'where':{'AttachmentId':_0x522300}},'log':_0x3d0f('0x2')});};