07000c85451933a02af1ee8482e2b77e9a790405
[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 _0xc034=['CreateAttachment','../client'];(function(_0x422ac3,_0x48bbd4){var _0x53c0d4=function(_0x4b50f6){while(--_0x4b50f6){_0x422ac3['push'](_0x422ac3['shift']());}};_0x53c0d4(++_0x48bbd4);}(_0xc034,0x127));var _0x4c03=function(_0x3a7be5,_0x5f1c88){_0x3a7be5=_0x3a7be5-0x0;var _0x196c43=_0xc034[_0x3a7be5];return _0x196c43;};'use strict';var client=require(_0x4c03('0x0'));exports['create']=function(_0x2e793c){return client['Request']('CreateAttachment',{'body':_0x2e793c,'log':_0x4c03('0x1')});};