bedaee22da28270dc0ba7068135cd952c892d0ff
[motion2.git] / server / services / ami / rpc / attachment.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 _0xbeca=['../client','create','Request','CreateAttachment'];(function(_0x24ed9f,_0x5a6279){var _0x18c8cc=function(_0xab979e){while(--_0xab979e){_0x24ed9f['push'](_0x24ed9f['shift']());}};_0x18c8cc(++_0x5a6279);}(_0xbeca,0x100));var _0xabec=function(_0x2f506e,_0x2bef86){_0x2f506e=_0x2f506e-0x0;var _0x1a67b2=_0xbeca[_0x2f506e];return _0x1a67b2;};'use strict';var client=require(_0xabec('0x0'));exports[_0xabec('0x1')]=function(_0x35a4fb){return client[_0xabec('0x2')](_0xabec('0x3'),{'body':_0x35a4fb,'log':_0xabec('0x3')});};