cc4b5b2f7758a0f118883069161fde9eb8fa581a
[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 _0xa44c=['GetTemplate','../client','getTemplates','Request','name','html'];(function(_0x5235a6,_0x680b76){var _0x1cf37e=function(_0x31c173){while(--_0x31c173){_0x5235a6['push'](_0x5235a6['shift']());}};_0x1cf37e(++_0x680b76);}(_0xa44c,0x18d));var _0xca44=function(_0x12a9bb,_0x1339e8){_0x12a9bb=_0x12a9bb-0x0;var _0x395173=_0xa44c[_0x12a9bb];return _0x395173;};'use strict';var client=require(_0xca44('0x0'));exports[_0xca44('0x1')]=function(_0x1483ef){return function(_0x3fbc63){return client[_0xca44('0x2')]('GetTemplate',{'options':{'raw':!![],'attributes':['id',_0xca44('0x3'),_0xca44('0x4')]},'log':_0xca44('0x5')});};};