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 _0x0e88=['../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./template.attributes','exports','tools_templates','util'];(function(_0xe71c9,_0x38f8b7){var _0x503e16=function(_0x5cf8da){while(--_0x5cf8da){_0xe71c9['push'](_0xe71c9['shift']());}};_0x503e16(++_0x38f8b7);}(_0x0e88,0x12b));var _0x80e8=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x0e88[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require(_0x80e8('0x0'));var logger=require(_0x80e8('0x1'))(_0x80e8('0x2'));var moment=require(_0x80e8('0x3'));var BPromise=require(_0x80e8('0x4'));var rp=require(_0x80e8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x80e8('0x6'));var attributes=require(_0x80e8('0x7'));module[_0x80e8('0x8')]=function(_0x264f34,_0x390778){return _0x264f34['define']('Template',attributes,{'tableName':_0x80e8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};