Built motion from commit 753c950e.|2.5.42
[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 _0x3da7=['html','../client','Request','GetTemplate','name'];(function(_0x441f45,_0x16130c){var _0x2bc267=function(_0x44f8a4){while(--_0x44f8a4){_0x441f45['push'](_0x441f45['shift']());}};_0x2bc267(++_0x16130c);}(_0x3da7,0xe2));var _0x73da=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x3da7[_0x36884e];return _0x1cc367;};'use strict';var client=require(_0x73da('0x0'));exports['getTemplates']=function(_0x25070f){return function(_0x14e1bf){return client[_0x73da('0x1')](_0x73da('0x2'),{'options':{'raw':!![],'attributes':['id',_0x73da('0x3'),_0x73da('0x4')]},'log':'GetTemplate'});};};