Built motion from commit (unavailable).|2.5.4
[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 _0xbf6e=['html','Request','GetTemplate','name'];(function(_0x573241,_0xb968af){var _0x1c5d0e=function(_0x192212){while(--_0x192212){_0x573241['push'](_0x573241['shift']());}};_0x1c5d0e(++_0xb968af);}(_0xbf6e,0x149));var _0xebf6=function(_0x3626fe,_0x33dbfd){_0x3626fe=_0x3626fe-0x0;var _0x23e475=_0xbf6e[_0x3626fe];return _0x23e475;};'use strict';var client=require('../client');exports['getTemplates']=function(_0x1f94d5){return function(_0x2b658d){return client[_0xebf6('0x0')](_0xebf6('0x1'),{'options':{'raw':!![],'attributes':['id',_0xebf6('0x2'),_0xebf6('0x3')]},'log':_0xebf6('0x1')});};};