b78e7b110d050bbe49d8bd7ed5dd6c484f45f582
[motion2.git] / server / services / ami / rpc / template.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 _0xeb74=['GetTemplate','name','../client','getTemplates','Request'];(function(_0x1780ab,_0x3f2196){var _0x1cf124=function(_0x1ee852){while(--_0x1ee852){_0x1780ab['push'](_0x1780ab['shift']());}};_0x1cf124(++_0x3f2196);}(_0xeb74,0xe3));var _0x4eb7=function(_0x256a43,_0x25f1db){_0x256a43=_0x256a43-0x0;var _0x34f090=_0xeb74[_0x256a43];return _0x34f090;};'use strict';var client=require(_0x4eb7('0x0'));exports[_0x4eb7('0x1')]=function(_0x1dd325){return function(_0x9b674c){return client[_0x4eb7('0x2')](_0x4eb7('0x3'),{'options':{'raw':!![],'attributes':['id',_0x4eb7('0x4'),'html']},'log':_0x4eb7('0x3')});};};