0d23a9e46cb82215d0f864bf9722f38cef15af7b
[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 _0xfce9=['CreateAttachment','../client','Request'];(function(_0x25555b,_0x28ee8c){var _0x445d46=function(_0x14ecbf){while(--_0x14ecbf){_0x25555b['push'](_0x25555b['shift']());}};_0x445d46(++_0x28ee8c);}(_0xfce9,0xb2));var _0x9fce=function(_0x45c9d1,_0x15d08a){_0x45c9d1=_0x45c9d1-0x0;var _0x544111=_0xfce9[_0x45c9d1];return _0x544111;};'use strict';var client=require(_0x9fce('0x0'));exports['create']=function(_0x5f1751){return client[_0x9fce('0x1')](_0x9fce('0x2'),{'body':_0x5f1751,'log':_0x9fce('0x2')});};