19741920c8fae18f62ab12e89ac2a83244dc1da5
[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 _0x16f3=['update','Request','UpdateFaxMessage'];(function(_0x34cdf2,_0x26d14b){var _0xc6dfa4=function(_0xecd29f){while(--_0xecd29f){_0x34cdf2['push'](_0x34cdf2['shift']());}};_0xc6dfa4(++_0x26d14b);}(_0x16f3,0xba));var _0x316f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x16f3[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x316f('0x0')]=function(_0x3f24ac,_0x43a5ae){return client[_0x316f('0x1')](_0x316f('0x2'),{'body':_0x43a5ae,'options':{'where':{'AttachmentId':_0x3f24ac}},'log':_0x316f('0x2')});};