808b11e51d7247cd9223b5b1df246b9944536501
[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 _0xdcc1=['../client','create','Request','CreateAttachment'];(function(_0x28d882,_0x10ec64){var _0x45ddf4=function(_0x3ea509){while(--_0x3ea509){_0x28d882['push'](_0x28d882['shift']());}};_0x45ddf4(++_0x10ec64);}(_0xdcc1,0x170));var _0x1dcc=function(_0x26a3de,_0x4f8ccb){_0x26a3de=_0x26a3de-0x0;var _0x26f6db=_0xdcc1[_0x26a3de];return _0x26f6db;};'use strict';var client=require(_0x1dcc('0x0'));exports[_0x1dcc('0x1')]=function(_0x1282f6){return client[_0x1dcc('0x2')]('CreateAttachment',{'body':_0x1282f6,'log':_0x1dcc('0x3')});};