599f3f9caf461f93ef6796c453cea355acd1e487
[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 _0xe20c=['../client','update','UpdateFaxMessage'];(function(_0x580782,_0x2b2107){var _0x3d6f5a=function(_0x1450c7){while(--_0x1450c7){_0x580782['push'](_0x580782['shift']());}};_0x3d6f5a(++_0x2b2107);}(_0xe20c,0x114));var _0xce20=function(_0xe44061,_0x5ccb7c){_0xe44061=_0xe44061-0x0;var _0x2c083a=_0xe20c[_0xe44061];return _0x2c083a;};'use strict';var client=require(_0xce20('0x0'));exports[_0xce20('0x1')]=function(_0x113b54,_0x328ca2){return client['Request'](_0xce20('0x2'),{'body':_0x328ca2,'options':{'where':{'AttachmentId':_0x113b54}},'log':_0xce20('0x2')});};