Built motion from commit c0cdc9d8.|2.6.28
[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 _0x5d37=['Request','CreateAttachment','../client','create'];(function(_0x12a0ee,_0x169271){var _0x59ac12=function(_0x132f9e){while(--_0x132f9e){_0x12a0ee['push'](_0x12a0ee['shift']());}};_0x59ac12(++_0x169271);}(_0x5d37,0x1f2));var _0x75d3=function(_0x9e8ffc,_0x20430f){_0x9e8ffc=_0x9e8ffc-0x0;var _0xb8152d=_0x5d37[_0x9e8ffc];return _0xb8152d;};'use strict';var client=require(_0x75d3('0x0'));exports[_0x75d3('0x1')]=function(_0x506ea8){return client[_0x75d3('0x2')](_0x75d3('0x3'),{'body':_0x506ea8,'log':_0x75d3('0x3')});};