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 _0xa400=['GetTemplate','name','html','../client','Request'];(function(_0x5ca6b5,_0x48a6dd){var _0x9adb46=function(_0x1fb723){while(--_0x1fb723){_0x5ca6b5['push'](_0x5ca6b5['shift']());}};_0x9adb46(++_0x48a6dd);}(_0xa400,0x1cf));var _0x0a40=function(_0x5b8334,_0x341c4b){_0x5b8334=_0x5b8334-0x0;var _0x17a341=_0xa400[_0x5b8334];return _0x17a341;};'use strict';var client=require(_0x0a40('0x0'));exports['getTemplates']=function(_0x5d1f1e){return function(_0x4d7efa){return client[_0x0a40('0x1')](_0x0a40('0x2'),{'options':{'raw':!![],'attributes':['id',_0x0a40('0x3'),_0x0a40('0x4')]},'log':'GetTemplate'});};};