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 _0x158f=['exports','Template','tools_templates','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./template.attributes'];(function(_0x1e6db3,_0x5643ac){var _0x1de886=function(_0x351318){while(--_0x351318){_0x1e6db3['push'](_0x1e6db3['shift']());}};_0x1de886(++_0x5643ac);}(_0x158f,0xd3));var _0xf158=function(_0x35a2ef,_0x29c660){_0x35a2ef=_0x35a2ef-0x0;var _0x4a2dc8=_0x158f[_0x35a2ef];return _0x4a2dc8;};'use strict';var _=require(_0xf158('0x0'));var util=require(_0xf158('0x1'));var logger=require(_0xf158('0x2'))(_0xf158('0x3'));var moment=require(_0xf158('0x4'));var BPromise=require(_0xf158('0x5'));var rp=require(_0xf158('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf158('0x7'));var config=require(_0xf158('0x8'));var attributes=require(_0xf158('0x9'));module[_0xf158('0xa')]=function(_0x41ce1b,_0xe4a703){return _0x41ce1b['define'](_0xf158('0xb'),attributes,{'tableName':_0xf158('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};