ca6a68916de5809941722e4d77c9ddc7bdbf2142
[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 _0xa099=['html','Request','GetTemplate','name'];(function(_0x3fb0d0,_0x423d2f){var _0x269f0c=function(_0x40be37){while(--_0x40be37){_0x3fb0d0['push'](_0x3fb0d0['shift']());}};_0x269f0c(++_0x423d2f);}(_0xa099,0x69));var _0x9a09=function(_0x24fd9c,_0x4d880e){_0x24fd9c=_0x24fd9c-0x0;var _0x330642=_0xa099[_0x24fd9c];return _0x330642;};'use strict';var client=require('../client');exports['getTemplates']=function(_0x4936ba){return function(_0x2f01dc){return client[_0x9a09('0x0')](_0x9a09('0x1'),{'options':{'raw':!![],'attributes':['id',_0x9a09('0x2'),_0x9a09('0x3')]},'log':_0x9a09('0x1')});};};