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 _0x7dff=['rimraf','../../config/environment','./template.attributes','exports','define','Template','tools_templates','lodash','util','moment','bluebird','request-promise','path'];(function(_0x51bcbb,_0x240654){var _0x32fa38=function(_0x3ebbe8){while(--_0x3ebbe8){_0x51bcbb['push'](_0x51bcbb['shift']());}};_0x32fa38(++_0x240654);}(_0x7dff,0x125));var _0xf7df=function(_0x2f1762,_0xab43df){_0x2f1762=_0x2f1762-0x0;var _0x8ab21=_0x7dff[_0x2f1762];return _0x8ab21;};'use strict';var _=require(_0xf7df('0x0'));var util=require(_0xf7df('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf7df('0x2'));var BPromise=require(_0xf7df('0x3'));var rp=require(_0xf7df('0x4'));var fs=require('fs');var path=require(_0xf7df('0x5'));var rimraf=require(_0xf7df('0x6'));var config=require(_0xf7df('0x7'));var attributes=require(_0xf7df('0x8'));module[_0xf7df('0x9')]=function(_0x387acb,_0x2d6160){return _0x387acb[_0xf7df('0xa')](_0xf7df('0xb'),attributes,{'tableName':_0xf7df('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};