Built motion from commit d1eab355.|2.6.28
[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 _0xfff0=['html','getTemplates','GetTemplate','name'];(function(_0x2850c0,_0x1363a7){var _0x21e830=function(_0x3ec70a){while(--_0x3ec70a){_0x2850c0['push'](_0x2850c0['shift']());}};_0x21e830(++_0x1363a7);}(_0xfff0,0x139));var _0x0fff=function(_0x2efc81,_0x39c2f8){_0x2efc81=_0x2efc81-0x0;var _0x2c87f8=_0xfff0[_0x2efc81];return _0x2c87f8;};'use strict';var client=require('../client');exports[_0x0fff('0x0')]=function(_0x2b95e0){return function(_0x148db8){return client['Request'](_0x0fff('0x1'),{'options':{'raw':!![],'attributes':['id',_0x0fff('0x2'),_0x0fff('0x3')]},'log':'GetTemplate'});};};