5c52b5cac3d5e3ed93005692e921bd337a2266fd
[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 _0xa0f2=['Request','CreateAttachment','../client','create'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0xa0f2,0x19a));var _0x2a0f=function(_0x2f16ec,_0xd7bc21){_0x2f16ec=_0x2f16ec-0x0;var _0x146a6c=_0xa0f2[_0x2f16ec];return _0x146a6c;};'use strict';var client=require(_0x2a0f('0x0'));exports[_0x2a0f('0x1')]=function(_0x28558d){return client[_0x2a0f('0x2')](_0x2a0f('0x3'),{'body':_0x28558d,'log':_0x2a0f('0x3')});};