Built motion from commit 092f8824.|2.5.49
[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 _0x56bd=['Request','CreateAttachment','../client'];(function(_0x5a248d,_0x471cbc){var _0x50e633=function(_0x597a1b){while(--_0x597a1b){_0x5a248d['push'](_0x5a248d['shift']());}};_0x50e633(++_0x471cbc);}(_0x56bd,0x1b2));var _0xd56b=function(_0x445ccf,_0x1955f0){_0x445ccf=_0x445ccf-0x0;var _0x10ffbd=_0x56bd[_0x445ccf];return _0x10ffbd;};'use strict';var client=require(_0xd56b('0x0'));exports['create']=function(_0xad1ab0){return client[_0xd56b('0x1')]('CreateAttachment',{'body':_0xad1ab0,'log':_0xd56b('0x2')});};