636268c238fa5020b8f955fbf3c7b14faf1b05d7
[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 _0x5fc7=['Request','UpdateFaxMessage','update'];(function(_0x422d31,_0x397cb8){var _0x457cb3=function(_0x373b6f){while(--_0x373b6f){_0x422d31['push'](_0x422d31['shift']());}};_0x457cb3(++_0x397cb8);}(_0x5fc7,0x1cd));var _0x75fc=function(_0x249e96,_0x3ea39d){_0x249e96=_0x249e96-0x0;var _0x17444c=_0x5fc7[_0x249e96];return _0x17444c;};'use strict';var client=require('../client');exports[_0x75fc('0x0')]=function(_0x29c6a3,_0x1c7130){return client[_0x75fc('0x1')]('UpdateFaxMessage',{'body':_0x1c7130,'options':{'where':{'AttachmentId':_0x29c6a3}},'log':_0x75fc('0x2')});};