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 _0xb324=['../../config/logger','moment','bluebird','request-promise','path','rimraf','./template.attributes','exports','define','Template','tools_templates','util'];(function(_0x5f378b,_0x408bf8){var _0x5427ef=function(_0x10d024){while(--_0x10d024){_0x5f378b['push'](_0x5f378b['shift']());}};_0x5427ef(++_0x408bf8);}(_0xb324,0x1bb));var _0x4b32=function(_0xc15d95,_0x49890a){_0xc15d95=_0xc15d95-0x0;var _0x5b8ee8=_0xb324[_0xc15d95];return _0x5b8ee8;};'use strict';var _=require('lodash');var util=require(_0x4b32('0x0'));var logger=require(_0x4b32('0x1'))('api');var moment=require(_0x4b32('0x2'));var BPromise=require(_0x4b32('0x3'));var rp=require(_0x4b32('0x4'));var fs=require('fs');var path=require(_0x4b32('0x5'));var rimraf=require(_0x4b32('0x6'));var config=require('../../config/environment');var attributes=require(_0x4b32('0x7'));module[_0x4b32('0x8')]=function(_0x3290a2,_0x5f318c){return _0x3290a2[_0x4b32('0x9')](_0x4b32('0xa'),attributes,{'tableName':_0x4b32('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};