a8466ae76e3704ce012f8fbd740cc74565d103be
[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 _0x3138=['CreateAttachment','../client','Request'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x3138,0x19c));var _0x8313=function(_0x118b09,_0x1fb62f){_0x118b09=_0x118b09-0x0;var _0x19b066=_0x3138[_0x118b09];return _0x19b066;};'use strict';var client=require(_0x8313('0x0'));exports['create']=function(_0x290ad2){return client[_0x8313('0x1')](_0x8313('0x2'),{'body':_0x290ad2,'log':_0x8313('0x2')});};