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 _0xf601=['exports','define','Template','tools_templates','lodash','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./template.attributes'];(function(_0x1b02bb,_0x3d9fde){var _0x131245=function(_0x2fd1d8){while(--_0x2fd1d8){_0x1b02bb['push'](_0x1b02bb['shift']());}};_0x131245(++_0x3d9fde);}(_0xf601,0xf4));var _0x1f60=function(_0x332597,_0x33648e){_0x332597=_0x332597-0x0;var _0x70870e=_0xf601[_0x332597];return _0x70870e;};'use strict';var _=require(_0x1f60('0x0'));var util=require('util');var logger=require(_0x1f60('0x1'))(_0x1f60('0x2'));var moment=require(_0x1f60('0x3'));var BPromise=require('bluebird');var rp=require(_0x1f60('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1f60('0x5'));var config=require(_0x1f60('0x6'));var attributes=require(_0x1f60('0x7'));module[_0x1f60('0x8')]=function(_0x1e5a61,_0x1f5465){return _0x1e5a61[_0x1f60('0x9')](_0x1f60('0xa'),attributes,{'tableName':_0x1f60('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};