Built motion from commit 753c950e.|2.5.42
[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 _0xbac2=['Request','CreateAttachment','../client','create'];(function(_0x5f1699,_0x13be45){var _0x62c71f=function(_0x20114b){while(--_0x20114b){_0x5f1699['push'](_0x5f1699['shift']());}};_0x62c71f(++_0x13be45);}(_0xbac2,0xc6));var _0x2bac=function(_0x4a8418,_0x39078a){_0x4a8418=_0x4a8418-0x0;var _0x390174=_0xbac2[_0x4a8418];return _0x390174;};'use strict';var client=require(_0x2bac('0x0'));exports[_0x2bac('0x1')]=function(_0x3a1810){return client[_0x2bac('0x2')](_0x2bac('0x3'),{'body':_0x3a1810,'log':_0x2bac('0x3')});};