1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
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'});};};