Built motion from commit 2b9af5da.|2.6.26
[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 _0x02a4=['GetTemplate','name','html','../client','Request'];(function(_0x383415,_0x9c6e73){var _0x4c6640=function(_0x589d10){while(--_0x589d10){_0x383415['push'](_0x383415['shift']());}};_0x4c6640(++_0x9c6e73);}(_0x02a4,0x19d));var _0x402a=function(_0x4da15a,_0x26af7f){_0x4da15a=_0x4da15a-0x0;var _0x522981=_0x02a4[_0x4da15a];return _0x522981;};'use strict';var client=require(_0x402a('0x0'));exports['getTemplates']=function(_0x4ef56c){return function(_0x267453){return client[_0x402a('0x1')](_0x402a('0x2'),{'options':{'raw':!![],'attributes':['id',_0x402a('0x3'),_0x402a('0x4')]},'log':'GetTemplate'});};};