090e3af4e7ed701ae91e746dac27cb992ed403f0
[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 _0xf0b0=['GetTemplate','html','getTemplates'];(function(_0x59c479,_0x2e1545){var _0x681d72=function(_0x154d7c){while(--_0x154d7c){_0x59c479['push'](_0x59c479['shift']());}};_0x681d72(++_0x2e1545);}(_0xf0b0,0x143));var _0x0f0b=function(_0x4caaa6,_0x275e8b){_0x4caaa6=_0x4caaa6-0x0;var _0x59a607=_0xf0b0[_0x4caaa6];return _0x59a607;};'use strict';var client=require('../client');exports[_0x0f0b('0x0')]=function(_0x41cd16){return function(_0x3c72cf){return client['Request'](_0x0f0b('0x1'),{'options':{'raw':!![],'attributes':['id','name',_0x0f0b('0x2')]},'log':'GetTemplate'});};};