c22b4733f67b41df2be85c59de613e525f32a7a7
[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 _0xdc8f=['UpdateFaxMessage','../client','update'];(function(_0x251fc0,_0x44402b){var _0x102431=function(_0x40c1d4){while(--_0x40c1d4){_0x251fc0['push'](_0x251fc0['shift']());}};_0x102431(++_0x44402b);}(_0xdc8f,0x184));var _0xfdc8=function(_0x34843e,_0x4c4224){_0x34843e=_0x34843e-0x0;var _0x598f7f=_0xdc8f[_0x34843e];return _0x598f7f;};'use strict';var client=require(_0xfdc8('0x0'));exports[_0xfdc8('0x1')]=function(_0x24cb54,_0x230081){return client['Request'](_0xfdc8('0x2'),{'body':_0x230081,'options':{'where':{'AttachmentId':_0x24cb54}},'log':_0xfdc8('0x2')});};