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 _0xf1d8=['exports','Template','tools_templates','util','api','moment','bluebird','request-promise','path','rimraf','./template.attributes'];(function(_0x188b14,_0x3d10b1){var _0x55de41=function(_0x4133b5){while(--_0x4133b5){_0x188b14['push'](_0x188b14['shift']());}};_0x55de41(++_0x3d10b1);}(_0xf1d8,0x184));var _0x8f1d=function(_0x55e08b,_0x421620){_0x55e08b=_0x55e08b-0x0;var _0xd1a7ff=_0xf1d8[_0x55e08b];return _0xd1a7ff;};'use strict';var _=require('lodash');var util=require(_0x8f1d('0x0'));var logger=require('../../config/logger')(_0x8f1d('0x1'));var moment=require(_0x8f1d('0x2'));var BPromise=require(_0x8f1d('0x3'));var rp=require(_0x8f1d('0x4'));var fs=require('fs');var path=require(_0x8f1d('0x5'));var rimraf=require(_0x8f1d('0x6'));var config=require('../../config/environment');var attributes=require(_0x8f1d('0x7'));module[_0x8f1d('0x8')]=function(_0x18636d,_0x39f71f){return _0x18636d['define'](_0x8f1d('0x9'),attributes,{'tableName':_0x8f1d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};