Built motion from commit (unavailable).|2.4.21
[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 _0xb6b1=['Request','GetTemplate','html','../client'];(function(_0xa9d499,_0x2a2b65){var _0x4229f8=function(_0x3e590d){while(--_0x3e590d){_0xa9d499['push'](_0xa9d499['shift']());}};_0x4229f8(++_0x2a2b65);}(_0xb6b1,0x17b));var _0x1b6b=function(_0x22e47a,_0x4ea10c){_0x22e47a=_0x22e47a-0x0;var _0x15a12a=_0xb6b1[_0x22e47a];return _0x15a12a;};'use strict';var client=require(_0x1b6b('0x0'));exports['getTemplates']=function(_0x669faa){return function(_0x4fc13d){return client[_0x1b6b('0x1')](_0x1b6b('0x2'),{'options':{'raw':!![],'attributes':['id','name',_0x1b6b('0x3')]},'log':'GetTemplate'});};};