6dce7e1cbe59a7e903aba4d8f6ffafc775d9cf85
[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 _0x9ccb=['../client','Request','CreateAttachment'];(function(_0x47606f,_0x4d2063){var _0x1f4e6d=function(_0x3ebbfc){while(--_0x3ebbfc){_0x47606f['push'](_0x47606f['shift']());}};_0x1f4e6d(++_0x4d2063);}(_0x9ccb,0x72));var _0xb9cc=function(_0x754f7f,_0x5a0753){_0x754f7f=_0x754f7f-0x0;var _0x20d21b=_0x9ccb[_0x754f7f];return _0x20d21b;};'use strict';var client=require(_0xb9cc('0x0'));exports['create']=function(_0x53ddff){return client[_0xb9cc('0x1')](_0xb9cc('0x2'),{'body':_0x53ddff,'log':_0xb9cc('0x2')});};