22bc9230f0ffb3d50c15cf9b7194274ea5ab02a4
[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 _0xf534=['create','Request','CreateAttachment','../client'];(function(_0x2f2388,_0x4ea55c){var _0x451e17=function(_0x3a81e0){while(--_0x3a81e0){_0x2f2388['push'](_0x2f2388['shift']());}};_0x451e17(++_0x4ea55c);}(_0xf534,0x9f));var _0x4f53=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf534[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x4f53('0x0'));exports[_0x4f53('0x1')]=function(_0x26045c){return client[_0x4f53('0x2')](_0x4f53('0x3'),{'body':_0x26045c,'log':'CreateAttachment'});};