Built motion from commit 538092ac.|2.6.10
[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 _0xdfe9=['Request','GetTemplate','name','html','getTemplates'];(function(_0x192b1c,_0x2d6f00){var _0x3c102f=function(_0x84cb24){while(--_0x84cb24){_0x192b1c['push'](_0x192b1c['shift']());}};_0x3c102f(++_0x2d6f00);}(_0xdfe9,0x14e));var _0x9dfe=function(_0x42135a,_0x1c098b){_0x42135a=_0x42135a-0x0;var _0xe2699b=_0xdfe9[_0x42135a];return _0xe2699b;};'use strict';var client=require('../client');exports[_0x9dfe('0x0')]=function(_0x1c5168){return function(_0x4bba7f){return client[_0x9dfe('0x1')](_0x9dfe('0x2'),{'options':{'raw':!![],'attributes':['id',_0x9dfe('0x3'),_0x9dfe('0x4')]},'log':'GetTemplate'});};};