d1d4a2d55a4886681f766a2b156c545e9173cc80
[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 _0xb923=['GetTemplate','html'];(function(_0xf2acc0,_0x33a85a){var _0x383a9f=function(_0x1651dd){while(--_0x1651dd){_0xf2acc0['push'](_0xf2acc0['shift']());}};_0x383a9f(++_0x33a85a);}(_0xb923,0x80));var _0x3b92=function(_0x384a81,_0x398f10){_0x384a81=_0x384a81-0x0;var _0x3948ac=_0xb923[_0x384a81];return _0x3948ac;};'use strict';var client=require('../client');exports['getTemplates']=function(_0xd9365c){return function(_0x6d20ae){return client['Request'](_0x3b92('0x0'),{'options':{'raw':!![],'attributes':['id','name',_0x3b92('0x1')]},'log':_0x3b92('0x0')});};};