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 _0xdec6=['exports','define','Template','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x24d2a2,_0x51c664){var _0x3a875e=function(_0x1b8520){while(--_0x1b8520){_0x24d2a2['push'](_0x24d2a2['shift']());}};_0x3a875e(++_0x51c664);}(_0xdec6,0x15f));var _0x6dec=function(_0x341e0f,_0x4a09d0){_0x341e0f=_0x341e0f-0x0;var _0x59555a=_0xdec6[_0x341e0f];return _0x59555a;};'use strict';var _=require(_0x6dec('0x0'));var util=require(_0x6dec('0x1'));var logger=require(_0x6dec('0x2'))('api');var moment=require(_0x6dec('0x3'));var BPromise=require(_0x6dec('0x4'));var rp=require(_0x6dec('0x5'));var fs=require('fs');var path=require(_0x6dec('0x6'));var rimraf=require(_0x6dec('0x7'));var config=require(_0x6dec('0x8'));var attributes=require('./template.attributes');module[_0x6dec('0x9')]=function(_0x309417,_0x4b965f){return _0x309417[_0x6dec('0xa')](_0x6dec('0xb'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};