a5713c0fc3cabcd53387d46a1c9b4cb9fe99d642
[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 _0xd950=['create','Request','CreateAttachment','../client'];(function(_0x579700,_0x4c10d2){var _0x4dcb1c=function(_0x5caa18){while(--_0x5caa18){_0x579700['push'](_0x579700['shift']());}};_0x4dcb1c(++_0x4c10d2);}(_0xd950,0x17f));var _0x0d95=function(_0x3fd1af,_0x37d19c){_0x3fd1af=_0x3fd1af-0x0;var _0x34bd3b=_0xd950[_0x3fd1af];return _0x34bd3b;};'use strict';var client=require(_0x0d95('0x0'));exports[_0x0d95('0x1')]=function(_0x57cab9){return client[_0x0d95('0x2')](_0x0d95('0x3'),{'body':_0x57cab9,'log':_0x0d95('0x3')});};