35a6911ac0bd6d570a10bd384f92382412ba7996
[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 _0x04b8=['html','getTemplates','Request','name'];(function(_0x433a86,_0x175b5c){var _0x23000c=function(_0x4b1fa0){while(--_0x4b1fa0){_0x433a86['push'](_0x433a86['shift']());}};_0x23000c(++_0x175b5c);}(_0x04b8,0x159));var _0x804b=function(_0x2bb04c,_0x212323){_0x2bb04c=_0x2bb04c-0x0;var _0x2c38c=_0x04b8[_0x2bb04c];return _0x2c38c;};'use strict';var client=require('../client');exports[_0x804b('0x0')]=function(_0x49c1b2){return function(_0x241a4f){return client[_0x804b('0x1')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0x804b('0x2'),_0x804b('0x3')]},'log':'GetTemplate'});};};