3223d0f33d552bafe46ed2320bb1548e80ae5757
[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 _0x4589=['UpdateFaxMessage','../client','update','Request'];(function(_0x5e5fb,_0x29ff95){var _0x3ef128=function(_0x4aab82){while(--_0x4aab82){_0x5e5fb['push'](_0x5e5fb['shift']());}};_0x3ef128(++_0x29ff95);}(_0x4589,0x165));var _0x9458=function(_0x53ccf2,_0x13cb67){_0x53ccf2=_0x53ccf2-0x0;var _0x5a2964=_0x4589[_0x53ccf2];return _0x5a2964;};'use strict';var client=require(_0x9458('0x0'));exports[_0x9458('0x1')]=function(_0x14cb44,_0x27e77c){return client[_0x9458('0x2')](_0x9458('0x3'),{'body':_0x27e77c,'options':{'where':{'AttachmentId':_0x14cb44}},'log':_0x9458('0x3')});};