558df4964f0a4b6f286ecbac4be2298af7650ae0
[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 _0x1b73=['GetTemplate','getTemplates','Request','name'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x1b73,0x1d5));var _0x31b7=function(_0x6dee3b,_0x3680be){_0x6dee3b=_0x6dee3b-0x0;var _0x106de1=_0x1b73[_0x6dee3b];return _0x106de1;};'use strict';var client=require('../client');exports[_0x31b7('0x0')]=function(_0x25ee36){return function(_0x46222e){return client[_0x31b7('0x1')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x31b7('0x2'),'html']},'log':_0x31b7('0x3')});};};