03315c7b2705e758494056def1f3c43bb4ac3b01
[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 _0x3e33=['CreateAttachment','../client'];(function(_0x570837,_0x5764a8){var _0x25cc0c=function(_0x51c0cb){while(--_0x51c0cb){_0x570837['push'](_0x570837['shift']());}};_0x25cc0c(++_0x5764a8);}(_0x3e33,0x137));var _0x33e3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3e33[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x33e3('0x0'));exports['create']=function(_0x1353f1){return client['Request']('CreateAttachment',{'body':_0x1353f1,'log':_0x33e3('0x1')});};