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 _0x6bb0=['../../config/environment','./template.attributes','exports','Template','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x3ce426,_0x2592e9){var _0x1672a3=function(_0x336741){while(--_0x336741){_0x3ce426['push'](_0x3ce426['shift']());}};_0x1672a3(++_0x2592e9);}(_0x6bb0,0xd6));var _0x06bb=function(_0x33f614,_0x5242a8){_0x33f614=_0x33f614-0x0;var _0x564db2=_0x6bb0[_0x33f614];return _0x564db2;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x06bb('0x0'));var moment=require(_0x06bb('0x1'));var BPromise=require(_0x06bb('0x2'));var rp=require(_0x06bb('0x3'));var fs=require('fs');var path=require(_0x06bb('0x4'));var rimraf=require(_0x06bb('0x5'));var config=require(_0x06bb('0x6'));var attributes=require(_0x06bb('0x7'));module[_0x06bb('0x8')]=function(_0x3aedf3,_0x1d4298){return _0x3aedf3['define'](_0x06bb('0x9'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};