bb1deb0e398ae42cda0841f23b3670dc03d2bb02
[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 _0x8a16=['CreateAttachment','../client','Request'];(function(_0x117a1a,_0x92b54e){var _0x10c2cc=function(_0x872307){while(--_0x872307){_0x117a1a['push'](_0x117a1a['shift']());}};_0x10c2cc(++_0x92b54e);}(_0x8a16,0x154));var _0x68a1=function(_0x1d87bb,_0x404a51){_0x1d87bb=_0x1d87bb-0x0;var _0x2128bf=_0x8a16[_0x1d87bb];return _0x2128bf;};'use strict';var client=require(_0x68a1('0x0'));exports['create']=function(_0x284e57){return client[_0x68a1('0x1')]('CreateAttachment',{'body':_0x284e57,'log':_0x68a1('0x2')});};