2c0afb484de6c9a1ac331705c6e5cb6c21607105
[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 _0x246b=['create','Request','CreateAttachment','../client'];(function(_0x1694f5,_0x49b7c3){var _0x5b4321=function(_0x58c183){while(--_0x58c183){_0x1694f5['push'](_0x1694f5['shift']());}};_0x5b4321(++_0x49b7c3);}(_0x246b,0xc3));var _0xb246=function(_0x408bb4,_0x5a4ce5){_0x408bb4=_0x408bb4-0x0;var _0xe33853=_0x246b[_0x408bb4];return _0xe33853;};'use strict';var client=require(_0xb246('0x0'));exports[_0xb246('0x1')]=function(_0x407a92){return client[_0xb246('0x2')]('CreateAttachment',{'body':_0x407a92,'log':_0xb246('0x3')});};