Built motion from commit da617fac.|2.6.6
[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 _0x2b67=['../client','Request','CreateAttachment'];(function(_0x2da616,_0x287fa7){var _0x535c88=function(_0x2e7fda){while(--_0x2e7fda){_0x2da616['push'](_0x2da616['shift']());}};_0x535c88(++_0x287fa7);}(_0x2b67,0x13e));var _0x72b6=function(_0x18bf1f,_0x1b600f){_0x18bf1f=_0x18bf1f-0x0;var _0x356f49=_0x2b67[_0x18bf1f];return _0x356f49;};'use strict';var client=require(_0x72b6('0x0'));exports['create']=function(_0x30d171){return client[_0x72b6('0x1')](_0x72b6('0x2'),{'body':_0x30d171,'log':_0x72b6('0x2')});};